Class/Object

com.alexdupre.bitcoincash

BlockHeader

Related Docs: object BlockHeader | package bitcoincash

Permalink

case class BlockHeader(version: Long, hashPreviousBlock: BinaryData, hashMerkleRoot: BinaryData, time: Long, bits: Long, nonce: Long) extends BtcSerializable[BlockHeader] with Product with Serializable

version

Block version information, based upon the software version creating 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)

hashMerkleRoot

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 2106[2])

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

Linear Supertypes
Serializable, Serializable, Product, Equals, BtcSerializable[BlockHeader], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlockHeader
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BtcSerializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BlockHeader(version: Long, hashPreviousBlock: BinaryData, hashMerkleRoot: BinaryData, time: Long, bits: Long, nonce: Long)

    Permalink

    version

    Block version information, based upon the software version creating 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)

    hashMerkleRoot

    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 2106[2])

    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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bits: Long

    Permalink

    The calculated difficulty target being used for this block

  6. lazy val blockId: BinaryData

    Permalink
  7. def blockProof: Double

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. lazy val hash: BinaryData

    Permalink
  13. val hashMerkleRoot: BinaryData

    Permalink

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

  14. val hashPreviousBlock: BinaryData

    Permalink

    The hash value of the previous block this particular block references.

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

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. val nonce: Long

    Permalink

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

  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def serializer: BtcSerializer[BlockHeader]

    Permalink
    Definition Classes
    BlockHeaderBtcSerializable
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. val time: Long

    Permalink

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

  23. val version: Long

    Permalink

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

  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BtcSerializable[BlockHeader]

Inherited from AnyRef

Inherited from Any

Ungrouped