コード例 #1
0
        public BestChainFoundEventHandler(
            IIrreversibleBlockRelatedEventsDiscoveryService irreversibleBlockRelatedEventsDiscoveryService,
            ITaskQueueManager taskQueueManager, IBlockchainService blockchainService,
            ITransactionInclusivenessProvider transactionInclusivenessProvider)
        {
            _irreversibleBlockRelatedEventsDiscoveryService = irreversibleBlockRelatedEventsDiscoveryService;
            _taskQueueManager  = taskQueueManager;
            _blockchainService = blockchainService;
            _transactionInclusivenessProvider = transactionInclusivenessProvider;

            Logger = NullLogger <BestChainFoundEventHandler> .Instance;
        }
コード例 #2
0
 public IrreversibleBlockDiscoveryServiceTests()
 {
     _irreversibleBlockRelatedEventsDiscoveryService = GetRequiredService <IIrreversibleBlockRelatedEventsDiscoveryService>();
     _chainService = GetRequiredService <IBlockchainService>();
 }