public BlockAcceptedEventHandler(INetworkService networkService, ISyncStateService syncStateService, ITaskQueueManager taskQueueManager) { _taskQueueManager = taskQueueManager; _networkService = networkService; _syncStateService = syncStateService; }
public BlockMinedEventHandler(INetworkService networkService, IBlockchainService blockchainService, ISyncStateService syncStateService) { _networkService = networkService; _blockchainService = blockchainService; _syncStateService = syncStateService; Logger = NullLogger <BlockMinedEventHandler> .Instance; }
public SyncStateServiceTests() { _syncStateService = GetRequiredService <ISyncStateService>(); _peerPool = GetRequiredService <IPeerPool>(); _syncStateProvider = GetRequiredService <INodeSyncStateProvider>(); _osTestHelper = GetService <OSTestHelper>(); _blockchainService = GetRequiredService <IBlockchainService>(); _eventBus = GetRequiredService <ILocalEventBus>(); }
public GrpcServerService(ISyncStateService syncStateService, IConnectionService connectionService, IBlockchainService blockchainService, IPeerDiscoveryService peerDiscoveryService) { _syncStateService = syncStateService; _connectionService = connectionService; _blockchainService = blockchainService; _peerDiscoveryService = peerDiscoveryService; EventBus = NullLocalEventBus.Instance; Logger = NullLogger <GrpcServerService> .Instance; }
public GrpcServerService(ISyncStateService syncStateService, IConnectionService connectionService, IBlockchainService blockchainService, INodeManager nodeManager) { _syncStateService = syncStateService; _connectionService = connectionService; _blockchainService = blockchainService; _nodeManager = nodeManager; EventBus = NullLocalEventBus.Instance; Logger = NullLogger <GrpcServerService> .Instance; }
public ChangeFeedProcessor( IChangeFeedRetrieveService changeFeedRetrieveService, IFhirTransactionPipeline fhirTransactionPipeline, ISyncStateService syncStateService, ILogger <ChangeFeedProcessor> logger) { EnsureArg.IsNotNull(changeFeedRetrieveService, nameof(changeFeedRetrieveService)); EnsureArg.IsNotNull(fhirTransactionPipeline, nameof(fhirTransactionPipeline)); EnsureArg.IsNotNull(syncStateService, nameof(syncStateService)); EnsureArg.IsNotNull(logger, nameof(logger)); _changeFeedRetrieveService = changeFeedRetrieveService; _fhirTransactionPipeline = fhirTransactionPipeline; _syncStateService = syncStateService; _logger = logger; }
public NetworkInitializedEventHandler(ISyncStateService syncStateService) { _syncStateService = syncStateService; }
public SyncStateServiceTests() { _syncStateService = GetRequiredService <ISyncStateService>(); _peerPool = GetRequiredService <IPeerPool>(); _eventBus = GetRequiredService <ILocalEventBus>(); }
public NewIrreversibleBlockFoundEventHandler(INetworkService networkService, ISyncStateService syncStateService) { _networkService = networkService; _syncStateService = syncStateService; }