Skip to main content

Module ledger

Module ledger 

Source
Expand description

Cost ledgers (spec 003, 3.5). A ledger reserves before dispatch, under a lock, so concurrent attempts cannot together reserve past its limit; it settles each reservation against the charge the adapter reported, and keeps a reservation as liability whenever the final cost is unknown.

Structs§

Ledger

Enums§

Refused
Why a reservation was refused.