Module ledger

Module ledger 

Source

Structs§

Attestation
Block
BlockWithLabel
Immutable view of a labelled block that is/(should be) persisted
Header
IterationsInfo
Defines a set of attestations of former iterations
Signature
A wrapper of 48-sized array to facilitate Signature
Slash
SpentTransaction
A spent transaction is a transaction that has been included in a block and was executed.
StepVotes
Transaction

Enums§

Fault
InvalidFault
Label
SlashType
SpendingId

Functions§

to_str
Encode a byte array into a shortened HEX representation.

Type Aliases§

Bloom
Hash
IterationInfo
Includes a failed attestation and the key of the expected block generator
Seed