Expand description
A crate that contains all types required to compute and maintain the ledger state.
Modules§
- rand
- A module that provides utilities for random generation of types.
- snapshot
- Module containing types to describe and handle ledger snapshots.
Structs§
- Consumed
Output - Represents a newly consumed output.
- Created
Output - Represents a newly created output.
- Ledger
Index - 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.
- Output
Diff - 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.
- Treasury
Diff - Wraps together the identifiers of the milestones that created and consumed treasury outputs.
- Treasury
Output - Records the creation of a treasury output.
- Unspent
- Represents an output id as unspent.
Enums§
- Error
- Errors related to ledger types.