public FullNodeController(
     IFullNode fullNode                             = null,
     NodeSettings nodeSettings                      = null,
     Network network                                = null,
     ConsensusValidator consensusValidator          = null,
     ConcurrentChain chain                          = null,
     ChainBehavior.ChainState chainState            = null,
     BlockStoreManager blockManager                 = null,
     MempoolManager mempoolManager                  = null,
     Connection.ConnectionManager connectionManager = null)
     : base(
         fullNode: fullNode,
         nodeSettings: nodeSettings,
         network: network,
         consensusValidator: consensusValidator,
         chain: chain,
         chainState: chainState,
         blockManager: blockManager,
         mempoolManager: mempoolManager,
         connectionManager: connectionManager)
 {
 }
Example #2
0
 public BaseRPCController(
     IFullNode fullNode        = null,
     NodeSettings nodeSettings = null,
     Network network           = null,
     PowConsensusValidator consensusValidator = null,
     ConsensusLoop consensusLoop                    = null,
     ConcurrentChain chain                          = null,
     ChainBehavior.ChainState chainState            = null,
     BlockStoreManager blockManager                 = null,
     MempoolManager mempoolManager                  = null,
     Connection.ConnectionManager connectionManager = null)
 {
     this._FullNode           = fullNode;
     this._Settings           = nodeSettings;
     this._Network            = network;
     this._ConsensusValidator = consensusValidator;
     this._ConsensusLoop      = consensusLoop;
     this._Chain             = chain;
     this._ChainState        = chainState;
     this._BlockManager      = blockManager;
     this._MempoolManager    = mempoolManager;
     this._ConnectionManager = connectionManager;
 }
 public StoreBlockPuller(ConcurrentChain chain, Connection.ConnectionManager nodes)
     : base(chain, nodes.ConnectedNodes, nodes.NodeSettings.ProtocolVersion)
 {
 }
 public StoreBlockPuller(ConcurrentChain chain, Connection.ConnectionManager nodes)
     : base(chain, nodes.ConnectedNodes)
 {
 }