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