Block Header
data class BlockHeader( val version: Long, val hashPreviousBlock: ByteVector32, val hashMerkleRoot: ByteVector32, val time: Long, val bits: Long, val nonce: Long) : BtcSerializable<BlockHeader>
Content copied to clipboard
Parameters
version
Block version information, based upon the software version creating this block
hash Previous Block
The hash value of the previous block this particular block references. Please note that this hash is not reversed (as opposed to Block.hash)
hash Merkle Root
The reference to a Merkle tree collection which is a hash of all transactions related to this block
time
A timestamp recording when this block was created (Will overflow in 21062)
bits
The calculated difficulty target being used for this block
nonce
The nonce used to generate this block… to allow variations of the header and compute different hashes
Constructors
Link copied to clipboard
fun BlockHeader( version: Long, hashPreviousBlock: ByteVector32, hashMerkleRoot: ByteVector32, time: Long, bits: Long, nonce: Long)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard