Module types

Module types 

Source
Expand description

A module providing all types required to compute and maintain the ledger state.

Modules§

snapshot
Module containing types to describe and handle ledger snapshots.

Structs§

Balance
Holds the balance of an address.
BalanceDiff
Records a balance difference to apply to an address.
BalanceDiffs
Records a balance differences to apply to addresses.
ConsumedOutput
Represents a newly consumed output.
CreatedOutput
Represents a newly created output.
LedgerIndex
A wrapper type to represent the current ledger index.
Migration
A type to tie together the receipt, consumed treasury and created treasury of a migration.
OutputDiff
A type to record output and treasury changes that happened within a milestone.
Receipt
A type that wraps a receipt and the index of the milestone in which it was included.
TreasuryDiff
Wraps together the identifiers of the milestones that created and consumed treasury outputs.
TreasuryOutput
Records the creation of a treasury output.
Unspent
Represents an output id as unspent.

Enums§

Error
Errors related to ledger types.