public void SendBlock() { var processor = new BlockProcessor(); var dsl = new BlockProcessorDsl(processor); dsl.Run(new string[] { "chain g0 b1", "send b1", "top b1" }); }
public void SendTwoBlocksInReversedOrder() { var processor = new BlockProcessor(); var dsl = new BlockProcessorDsl(processor); dsl.Run(new string[] { "chain g0 b1 b2", "send b2 b1", "top b2" }); }
public void SendTwoBlocks() { var processor = FactoryHelper.CreateBlockProcessor(); var dsl = new BlockProcessorDsl(processor); dsl.Run(new string[] { "chain g0 b1 b2", "send b1 b2", "top b2" }); }
public void SendTwoBlocksAndTwoUncles() { var processor = new BlockProcessor(); var dsl = new BlockProcessorDsl(processor); dsl.Run(new string[] { "chain g0 b1 b2", "chain b1 c2 c3", "send b1 b2", "send c2 c3", "top c3" }); }