static void Main(string[] args) { ITransaction txn5 = SetupTransactions(); IKeyStore keyStore = new KeyStore(HMAC.GenerateKey()); IBlock block1 = new Block(0, keyStore, 3); IBlock block2 = new Block(1, keyStore, 3); IBlock block3 = new Block(2, keyStore, 3); IBlock block4 = new Block(3, keyStore, 3); AddTransactionsToBlocksAndCalculateHashes(block1, block2, block3, block4); BlockChain chain = new BlockChain(); chain.AcceptBlock(block1); chain.AcceptBlock(block2); chain.AcceptBlock(block3); chain.AcceptBlock(block4); chain.VerifyChain(); Console.WriteLine(); //Console.WriteLine(); //txn5.ClaimNumber = "weqwewe"; //chain.VerifyChain(); Console.WriteLine(); Console.ReadLine(); }