Ejemplo n.º 1
0
        #pragma warning disable CS0618
        public ZcoinBlock(ZcoinConsensusFactory consensusFactory, ZcoinBlockHeader header) : base(header)
        {
            if (consensusFactory == null)
            {
                throw new ArgumentNullException(nameof(consensusFactory));
            }

            this.consensusFactory = consensusFactory;
        }
Ejemplo n.º 2
0
        public ZcoinTxOut(ZcoinConsensusFactory consensusFactory)
        {
            if (consensusFactory == null)
            {
                throw new ArgumentNullException(nameof(consensusFactory));
            }

            this.consensusFactory = consensusFactory;
        }