Ledger topic
Ledger
The in-process node: accounts, signed transfers, BFT finality, the mempool, state and inclusion proofs, snapshots and the canonical encodings shared by every binding.
Classes
Extensions
- AccountTools on Account Ledger
- Convenience views of an account.
- AviaryCanonical on Aviary Ledger
- Canonical bytes that are identical across every binding.
- AviaryGenesis on Aviary Ledger
- Genesis construction and identity.
- AviaryNodes on Aviary Ledger
- Single validator chain nodes and custodial key stores.
- AviaryNodeStorage on Aviary Ledger
- Rebuilding nodes from durable state.
- AviaryQuick on Aviary Ledger
- Shortcuts for the common single validator setups.
- NodeFunding on Node Ledger
- Account creation with genesis funding in one step.
- NodeQueries on Node Ledger
- Read only views of a node.
- NodeSending on Node Ledger
- Transfers that pick the nonce and the signature scheme for you.
- NodeStorage on Node Ledger
- Durable state: the whole chain as one blob, and files around it.
- NodeTransfers on Node Ledger
- Signed transfers admitted to a node's mempool.
- NodeViews on Node Ledger
- Decoded views of a node's state.
- ValidatorKeyPair on KeyPairBytes Ledger
- Turning a validator key pair into the entries the genesis, rotation and tree APIs take.
Typedefs
- GenesisAccountEntry = ({Uint8List address, int balance}) Ledger
- A genesis funded account: a 32 byte address and its balance.
- KeyPairBytes = ({Uint8List public, Uint8List secret}) Ledger
- A key pair as public and secret bytes.
- ValidatorEntry = ({int power, Uint8List publicKey}) Ledger
- A validator's BLS public key and voting power.