Crate state_db[][src]

State database abstraction. For more info, see the doc for StateDB

Structs

StateDB

State database abstraction. Manages shared global state cache which reflects the canonical state as it is on the disk. All the entries in the cache are clean. A clone of StateDB may be created as canonical or not. For canonical clones local cache is accumulated and applied in sync_cache For non-canonical clones local cache is dropped.

Constants

ACCOUNT_BLOOM_HASHCOUNT_KEY

Key for a value storing amount of hashes

ACCOUNT_BLOOM_SPACE

Value used to initialize bloom bitmap size.

DEFAULT_ACCOUNT_PRESET

Value used to initialize bloom items count.