Block

scalus.cardano.ledger.Block
See theBlock companion class
object Block

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Block.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def bodyHash(transactionBodies: IndexedSeq[KeepRaw[TransactionBody]], transactionWitnessSets: IndexedSeq[KeepRaw[TransactionWitnessSet]], auxiliaryDataSet: Map[Int, KeepRaw[AuxiliaryData]], invalidTransactions: IndexedSeq[Int]): BlockHash

The block body hash of the Alonzo and later eras: the hash of the four segment hashes.

The block body hash of the Alonzo and later eras: the hash of the four segment hashes.

Each segment is hashed as the block encodes it: the tx bodies, the witness sets, the auxiliary data map with tx indices in ascending order, and the invalid tx indices.

Attributes

Givens

Givens

given decoder(using OriginalCborByteArray): Decoder[Block]
given given_Encoder_Block: Encoder[Block]

CBOR encoder for Block

CBOR encoder for Block

Attributes