src/main/Blockchain.java
public void printBlocks(){
        System.out.println("Blockchain:");
        for (Block block : blockChain) {
            System.out.println("Hash: " + block.hash + ", previousHash: " + block.previousHash);
        }
    }
// Print out the hashs for every block in the blockchain
Print out the hashs for every block in the blockchain
Print out the hashs for every block in the blockchain
public void printBlocks(){
        System.out.println("Blockchain:");
        for (Block block : blockChain) {
            System.out.println("Hash: " + block.hash + ", previousHash: " + block.previousHash);
        }
    }
public void printBlocks ( ) { System . out . println ( "Blockchain:" ) ; for ( Block block : blockChain ) { System . out . println ( "Hash: " + block . hash + ", previousHash: " + block . previousHash ) ; } }
Print out the hashs for every block in the blockchain
Print out the hashs for every block in the blockchain