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 Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
BlockHeader.type
Members list
Type members
Classlikes
object given_ByteEncoder_BlockHeader extends ByteEncoder[BlockHeader]
Attributes
- Source
- Model.scala
- Supertypes
- Self type
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
def apply(parent: Option[BlockId], height: BlockHeight, stateRoot: StateRoot, bodyRoot: BodyRoot, timestamp: BlockTimestamp): BlockHeader
Attributes
- Source
- Model.scala
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
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
Givens
Givens
Attributes
- Source
- Model.scala
In this article