Module brb_dt_at2::bank [−][src]
Expand description
The Bank represents current AT2 state for a given
Actor
(account), plus all-time transaction history for all
actors.
It can be thought of as a distributed ledger of accounts where each Bank instance sees and records all accounts and their transfers, but represents a particular account owner and can initiate outgoing transfers for that one account only.
A note on terminology:
Actor
and Account are the same thing. Each Transfer
is
associated with an Actor
. There is no Account data structure.
Structs
Bank | AT2 |
Enums
ValidationError | Enumeration of AT2 validation errors |