public CBlockHeader(CBlockHeader header)
 {
     nVersion = header.nVersion;
     prevHash = header.prevHash;
     merkleRoot = header.merkleRoot;
     nTime = header.nTime;
     nBits = header.nBits;
     nNonce = header.nNonce;
 }
        /// <summary>
        /// Fill database item with data from given block header.
        /// </summary>
        /// <param name="header">Block header</param>
        /// <returns>Header hash</returns>
        public uint256 FillHeader(CBlockHeader header)
        {
            uint256 _hash = header.Hash;

            Hash = _hash;

            nVersion = header.nVersion;
            prevHash = header.prevHash;
            merkleRoot = header.merkleRoot;
            nTime = header.nTime;
            nBits = header.nBits;
            nNonce = header.nNonce;

            return _hash;
        }