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