Class/Object

com.alexdupre.bitcoincash

MerkleBlock

Related Docs: object MerkleBlock | package bitcoincash

Permalink

case class MerkleBlock(version: Long, previousBlockHash: BinaryData, merkleRoot: BinaryData, timestamp: Long, bits: Long, nonce: Long, txCount: Int, hashes: Seq[BinaryData], flags: BinaryData) extends BtcSerializable[MerkleBlock] with Product with Serializable

version

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

previousBlockHash

The hash value of the previous block this particular block references

merkleRoot

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

timestamp

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

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

txCount

Number of transactions in the block (including unmatched ones)

hashes

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

flags

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

Linear Supertypes
Serializable, Serializable, Product, Equals, BtcSerializable[MerkleBlock], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MerkleBlock
  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 MerkleBlock(version: Long, previousBlockHash: BinaryData, merkleRoot: BinaryData, timestamp: Long, bits: Long, nonce: Long, txCount: Int, hashes: Seq[BinaryData], flags: BinaryData)

    Permalink

    version

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

    previousBlockHash

    The hash value of the previous block this particular block references

    merkleRoot

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

    timestamp

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

    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

    txCount

    Number of transactions in the block (including unmatched ones)

    hashes

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

    flags

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

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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def computeRoot: (BinaryData, List[(BinaryData, Int)], Seq[BinaryData], List[Boolean])

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val flags: BinaryData

    Permalink

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

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. val hashes: Seq[BinaryData]

    Permalink

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

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val merkleRoot: BinaryData

    Permalink

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

  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. val nonce: Long

    Permalink

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

  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  19. val previousBlockHash: BinaryData

    Permalink

    The hash value of the previous block this particular block references

  20. def serializer: BtcSerializer[MerkleBlock]

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

    Permalink
    Definition Classes
    AnyRef
  22. val timestamp: Long

    Permalink

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

  23. val txCount: Int

    Permalink

    Number of transactions in the block (including unmatched ones)

  24. val version: Long

    Permalink

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

  25. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. 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[MerkleBlock]

Inherited from AnyRef

Inherited from Any

Ungrouped