MerkleBlock

case class MerkleBlock(version: Long, previousBlockHash: ByteVector, merkleRoot: ByteVector, timestamp: Long, bits: Long, nonce: Long, txCount: Int, hashes: Seq[ByteVector], flags: ByteVector) extends BtcSerializable[MerkleBlock]
Value parameters:
bits

The calculated difficulty target being used for this block

flags

flag bits, packed per 8 in a byte, least significant bit first (including standard varint size prefix)

hashes

hashes in depth-first order (including standard varint size prefix)

merkleRoot

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

nonce

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

previousBlockHash

The hash value of the previous block this particular block references

timestamp

A timestamp recording when this block was created (Limited to 2106!)

txCount

Number of transactions in the block (including unmatched ones)

version

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

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

Value members

Inherited methods

Inherited from:
Product