Class/Object

sigmastate.eval

CHeader

Related Docs: object CHeader | package eval

Permalink

case class CHeader(id: Coll[Byte], version: Byte, parentId: Coll[Byte], ADProofsRoot: Coll[Byte], stateRoot: AvlTree, transactionsRoot: Coll[Byte], timestamp: Long, nBits: Long, height: Int, extensionRoot: Coll[Byte], minerPk: GroupElement, powOnetimePk: GroupElement, powNonce: Coll[Byte], powDistance: BigInt, votes: Coll[Byte]) extends Header with Product with Serializable

A default implementation of Header interface.

See also

Header for detailed descriptions

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

Instance Constructors

  1. new CHeader(id: Coll[Byte], version: Byte, parentId: Coll[Byte], ADProofsRoot: Coll[Byte], stateRoot: AvlTree, transactionsRoot: Coll[Byte], timestamp: Long, nBits: Long, height: Int, extensionRoot: Coll[Byte], minerPk: GroupElement, powOnetimePk: GroupElement, powNonce: Coll[Byte], powDistance: BigInt, votes: Coll[Byte])

    Permalink

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. val ADProofsRoot: Coll[Byte]

    Permalink

    Hash of ADProofs for transactions in a block

    Hash of ADProofs for transactions in a block

    Definition Classes
    CHeaderHeader
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  8. val extensionRoot: Coll[Byte]

    Permalink

    Root hash of extension section

    Root hash of extension section

    Definition Classes
    CHeaderHeader
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. val height: Int

    Permalink

    Block height

    Block height

    Definition Classes
    CHeaderHeader
  11. val id: Coll[Byte]

    Permalink

    Bytes representation of ModifierId of this Header

    Bytes representation of ModifierId of this Header

    Definition Classes
    CHeaderHeader
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val minerPk: GroupElement

    Permalink

    Miner public key.

    Miner public key. Should be used to collect block rewards. Part of Autolykos solution.

    Definition Classes
    CHeaderHeader
  14. val nBits: Long

    Permalink

    Current difficulty in a compressed view.

    Current difficulty in a compressed view. NOTE: actually it is unsigned Int

    Definition Classes
    CHeaderHeader
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. val parentId: Coll[Byte]

    Permalink

    Bytes representation of ModifierId of the parent block

    Bytes representation of ModifierId of the parent block

    Definition Classes
    CHeaderHeader
  19. val powDistance: BigInt

    Permalink

    Distance between pseudo-random number, corresponding to nonce powNonce and a secret, corresponding to minerPk.

    Distance between pseudo-random number, corresponding to nonce powNonce and a secret, corresponding to minerPk. The lower powDistance is, the harder it was to find this solution.

    Definition Classes
    CHeaderHeader
  20. val powNonce: Coll[Byte]

    Permalink

    nonce

    nonce

    Definition Classes
    CHeaderHeader
  21. val powOnetimePk: GroupElement

    Permalink

    One-time public key.

    One-time public key. Prevents revealing of miners secret.

    Definition Classes
    CHeaderHeader
  22. val stateRoot: AvlTree

    Permalink

    AvlTree) of a state after block application

    AvlTree) of a state after block application

    Definition Classes
    CHeaderHeader
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. val timestamp: Long

    Permalink

    Block timestamp (in milliseconds since beginning of Unix Epoch)

    Block timestamp (in milliseconds since beginning of Unix Epoch)

    Definition Classes
    CHeaderHeader
  25. val transactionsRoot: Coll[Byte]

    Permalink

    Root hash (for a Merkle tree) of transactions in a block.

    Root hash (for a Merkle tree) of transactions in a block.

    Definition Classes
    CHeaderHeader
  26. val version: Byte

    Permalink

    Block version, to be increased on every soft and hardfork.

    Block version, to be increased on every soft and hardfork.

    Definition Classes
    CHeaderHeader
  27. val votes: Coll[Byte]

    Permalink
    Definition Classes
    CHeaderHeader
  28. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Header

Inherited from AnyRef

Inherited from Any

Ungrouped