trait Header extends AnyRef
Represents data of the block header available in Sigma propositions.
- Alphabetic
- By Inheritance
- Header
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def ADProofsRoot: Coll[Byte]
Hash of ADProofs for transactions in a block
- abstract def extensionRoot: Coll[Byte]
Root hash of extension section
- abstract def height: Int
Block height
- abstract def id: Coll[Byte]
Bytes representation of ModifierId of this Header
- abstract def minerPk: GroupElement
Miner public key.
Miner public key. Should be used to collect block rewards. Part of Autolykos solution.
- abstract def nBits: Long
Current difficulty in a compressed view.
Current difficulty in a compressed view. NOTE: actually it is unsigned Int
- abstract def parentId: Coll[Byte]
Bytes representation of ModifierId of the parent block
- abstract def powDistance: BigInt
Distance between pseudo-random number, corresponding to nonce
powNonce
and a secret, corresponding tominerPk
.Distance between pseudo-random number, corresponding to nonce
powNonce
and a secret, corresponding tominerPk
. The lowerpowDistance
is, the harder it was to find this solution. - abstract def powNonce: Coll[Byte]
nonce
- abstract def powOnetimePk: GroupElement
One-time public key.
One-time public key. Prevents revealing of miners secret.
- abstract def stateRoot: AvlTree
AvlTree of a state after block application
- abstract def timestamp: Long
Block timestamp (in milliseconds since beginning of Unix Epoch)
- abstract def transactionsRoot: Coll[Byte]
Root hash (for a Merkle tree) of transactions in a block.
- abstract def version: Byte
Block version, to be increased on every soft and hardfork.
- abstract def votes: Coll[Byte]
Miner votes for changing system parameters.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()