Expand description
Common helper functions for all versions of approval-voting database.
Modules§
Structs§
- The database config.
DbBackend
is a concrete implementation of the higher-level Backend trait- A range from earliest..last block number stored within the DB.
Enums§
- Errors while accessing things from the DB.
Functions§
- Return all blocks which have entries in the DB, ascending, by height.
- Load a block entry from the aux store.
- Load a blocks-at-height entry for a given block number.
- Load a candidate entry from the aux store in current version format.
- Load the stored-blocks key from the state.
Type Aliases§
- Result alias for DB errors.