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
Ordering
- Alphabetic
- By Inheritance
Inherited
- CHeader
- Serializable
- Serializable
- Product
- Equals
- Header
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- 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])
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
-
val
ADProofsRoot: Coll[Byte]
Hash of ADProofs for transactions in a block
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
extensionRoot: Coll[Byte]
Root hash of extension section
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
height: Int
Block height
-
val
id: Coll[Byte]
Bytes representation of ModifierId of this Header
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
minerPk: GroupElement
Miner public key.
-
val
nBits: Long
Current difficulty in a compressed view.
-
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()
-
val
parentId: Coll[Byte]
Bytes representation of ModifierId of the parent block
-
val
powDistance: BigInt
Distance between pseudo-random number, corresponding to nonce
powNonce
and a secret, corresponding tominerPk
. -
val
powNonce: Coll[Byte]
nonce
-
val
powOnetimePk: GroupElement
One-time public key.
-
val
stateRoot: AvlTree
AvlTree) of a state after block application
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
timestamp: Long
Block timestamp (in milliseconds since beginning of Unix Epoch)
-
val
transactionsRoot: Coll[Byte]
Root hash (for a Merkle tree) of transactions in a block.
-
val
version: Byte
Block version, to be increased on every soft and hardfork.
- val votes: Coll[Byte]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()