public BlockStoreFeature(ConcurrentChain chain, ConnectionManager connectionManager, Signals signals, BlockRepository blockRepository,
                          BlockStoreCache blockStoreCache, StoreBlockPuller blockPuller, BlockStoreLoop blockStoreLoop, BlockStoreManager blockStoreManager,
                          BlockStoreSignaled blockStoreSignaled, FullNode.CancellationProvider cancellationProvider)
 {
     this.chain                = chain;
     this.signals              = signals;
     this.blockRepository      = blockRepository;
     this.blockStoreCache      = blockStoreCache;
     this.blockPuller          = blockPuller;
     this.blockStoreLoop       = blockStoreLoop;
     this.blockStoreManager    = blockStoreManager;
     this.blockStoreSignaled   = blockStoreSignaled;
     this.cancellationProvider = cancellationProvider;
     this.connectionManager    = connectionManager;
 }
Example #2
0
 public BlockStoreFeature(ConcurrentChain chain, IConnectionManager connectionManager, Signals signals, BlockRepository blockRepository,
                          BlockStoreCache blockStoreCache, StoreBlockPuller blockPuller, BlockStoreLoop blockStoreLoop, BlockStoreManager blockStoreManager,
                          BlockStoreSignaled blockStoreSignaled, INodeLifetime nodeLifetime, NodeSettings nodeSettings)
 {
     this.chain              = chain;
     this.signals            = signals;
     this.blockRepository    = blockRepository;
     this.blockStoreCache    = blockStoreCache;
     this.blockPuller        = blockPuller;
     this.blockStoreLoop     = blockStoreLoop;
     this.blockStoreManager  = blockStoreManager;
     this.blockStoreSignaled = blockStoreSignaled;
     this.nodeLifetime       = nodeLifetime;
     this.connectionManager  = connectionManager;
     this.nodeSettings       = nodeSettings;
 }