Skip to main content

Module state

Module state 

Source
Expand description

Abstraction to synchronize state modifications.

The State provides data access and modifications methods, its main purpose is to ensure that data is atomically written, and that reads are consistent.

Structs§

State
The rollup state.
TransactionInputs

Constants§

ACCOUNT_TREE_STORAGE_DIR
Directory name for the account tree storage within the data directory.
NULLIFIER_TREE_STORAGE_DIR
Directory name for the nullifier tree storage within the data directory.

Traits§

StorageLoader
Trait for loading trees from storage.

Type Aliases§

TreeStorage
The storage backend for trees.