예제 #1
0
        public NodeDeployments(Network network, ConcurrentChain chain)
        {
            Guard.NotNull(network, nameof(network));
            Guard.NotNull(chain, nameof(chain));

            this.network = network;
            this.chain   = chain;
            this.BIP9    = new ThresholdConditionCache(network.Consensus);
        }
예제 #2
0
        public NodeDeployments(Network network, ChainIndexer chainIndexer)
        {
            Guard.NotNull(network, nameof(network));
            Guard.NotNull(chainIndexer, nameof(chainIndexer));

            this.network      = network;
            this.chainIndexer = chainIndexer;
            this.BIP9         = new ThresholdConditionCache(network.Consensus);
        }
예제 #3
0
 public NodeDeployments(Network network, ConcurrentChain chain)
 {
     this.network = network;
     this.chain   = chain;
     this.BIP9    = new ThresholdConditionCache(network.Consensus);
 }