Module solana::bank[][src]

The bank module tracks client balances and the progress of smart contracts. It offers a high-level API that signs transactions on behalf of the caller, and a low-level API for when they have already been signed and verified.

Structs

Bank

The state of all accounts and contracts after processing its entries.

Enums

BankError

Reasons a transaction might be rejected.

Constants

MAX_ENTRY_IDS

The number of most recent last_id values that the bank will track the signatures of. Once the bank discards a last_id, it will reject any transactions that use that last_id in a transaction. Lowering this value reduces memory consumption, but requires clients to update its last_id more frequently. Raising the value lengthens the time a client must wait to be certain a missing transaction will not be processed by the network.

VERIFY_BLOCK_SIZE

Type Definitions

Result