Example #1
0
 public ConsensusRequestMiningEventHandlerTests()
 {
     _blockchainService = GetRequiredService <IBlockchainService>();
     _consensusRequestMiningEventHandler = GetRequiredService <ConsensusRequestMiningEventHandler>();
     _localEventBus = GetRequiredService <ILocalEventBus>();
     _testContext   = GetRequiredService <KernelConsensusRequestMiningTestContext>();
 }
Example #2
0
 public BlockMiningEventHandlerTests()
 {
     _chainService       = GetRequiredService <IBlockchainService>();
     _miningEventHandler = GetRequiredService <ConsensusRequestMiningEventHandler>();
 }