BlockHeader

org.sigilaris.node.jvm.runtime.block.BlockHeader
See theBlockHeader companion class
object BlockHeader

Companion for BlockHeader.

Attributes

Companion
class
Source
Model.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Source
Model.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(parent: Option[BlockId], height: BlockHeight, stateRoot: StateRoot, bodyRoot: BodyRoot, timestamp: BlockTimestamp): BlockHeader

Attributes

Source
Model.scala
def computeId(header: BlockHeader): BlockId

Computes the unique BlockId for the given header.

Computes the unique BlockId for the given header.

Value parameters

header

the block header

Attributes

Returns

the deterministic block identifier

Source
Model.scala
def idPreImage(header: BlockHeader): ByteVector

Returns the raw bytes used as pre-image input for computing the block identifier.

Returns the raw bytes used as pre-image input for computing the block identifier.

Value parameters

header

the block header

Attributes

Returns

the canonical byte representation before hashing

Source
Model.scala
def validateExecutionPlan(header: BlockHeader, plan: ExecutionPlan, expectedMembers: Vector[ExecutionId]): Either[BlockValidationFailure, Unit]

Attributes

Source
Model.scala

Attributes

Source
Model.scala