Crate bee_ledger_types

Source
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§

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.