BlockHeader

case class BlockHeader(version: Long, hashPreviousBlock: ByteVector32, hashMerkleRoot: ByteVector32, time: Long, bits: Long, nonce: Long) extends BtcSerializable[BlockHeader]
Value parameters:
bits

The calculated difficulty target being used for this block

hashMerkleRoot

The reference to a Merkle tree collection which is a hash of all transactions related to this block

hashPreviousBlock

The hash value of the previous block this particular block references. Please not that this hash is not reversed (as opposed to Block.hash)

nonce

The nonce used to generate this blockā€¦ to allow variations of the header and compute different hashes

time

A timestamp recording when this block was created (Will overflow in 2106[2])

version

Block version information, based upon the software version creating this block

Companion:
object
Source:
Block.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Definition Classes
Source:
Block.scala

Inherited methods

Inherited from:
Product

Concrete fields

lazy val hash: ByteVector32