BitSharper.Block.Block C# (CSharp) Метод

Block() приватный Метод

Special case constructor, used for the genesis node, cloneAsHeader and unit tests.
private Block ( NetworkParameters @params ) : System
@params NetworkParameters
Результат System
        internal Block(NetworkParameters @params)
            : base(@params)
        {
            // Set up a few basic things. We are not complete after this though.
            _version = 1;
            _difficultyTarget = 0x1d07fff8;
            _time = (uint) UnixTime.ToUnixTime(DateTime.UtcNow);
            _prevBlockHash = Sha256Hash.ZeroHash;
        }

Same methods

Block::Block ( NetworkParameters @params, byte payloadBytes ) : System