fabric
fabric copied to clipboard
Block Censorship Test
- Test update: Add a test that will checkout how the block deliverer acts with a malicious orderer that censors blocks.
Description: The test creates a network, creates blocks on the chain, replaces the orderers with mocks and communicates with the peer. One of the orderers becomes malicious and after delivering a few data blocks he will stop. Afterwards the peer will ask for another orderer to deliver the data blocks, which should be successful, since he should be a honest orderer.