BlockHeader

org.sigilaris.node.jvm.runtime.block.BlockHeader
See theBlockHeader companion object
final case class BlockHeader(parent: Option[BlockId], height: BlockHeight, stateRoot: StateRoot, bodyRoot: BodyRoot, timestamp: BlockTimestamp, version: BlockHeaderVersion, executionPlanRoot: Option[ExecutionPlanRoot])

Immutable header of a block containing linkage and commitment data.

Value parameters

bodyRoot

cryptographic commitment to the block body contents

height

zero-based height of this block in the chain

parent

identifier of the parent block, or None for the genesis block

stateRoot

cryptographic commitment to the post-execution state

timestamp

UTC timestamp in epoch milliseconds when the block was produced

Attributes

Companion
object
Source
Model.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product