Exemplo n.º 1
0
 public BlockNotificationFeature(BlockNotification blockNotification, BlockNotificationStartHash blockNotificationStartHash,
                                 FullNode.CancellationProvider cancellationProvider)
 {
     this.blockNotification    = blockNotification;
     this.startHash            = blockNotificationStartHash.StartHash;
     this.cancellationProvider = cancellationProvider;
 }
 public BlockNotificationFeature(BlockNotification blockNotification, FullNode.CancellationProvider cancellationProvider, ConnectionManager connectionManager, LookaheadBlockPuller blockPuller, ChainBehavior.ChainState chainState, ConcurrentChain chain)
 {
     this.blockNotification    = blockNotification;
     this.cancellationProvider = cancellationProvider;
     this.connectionManager    = connectionManager;
     this.blockPuller          = blockPuller;
     this.chainState           = chainState;
     this.chain = chain;
 }