Module db

Source
Expand description

Persistent storage for scanner results.

Modules§

sapling
Sapling-specific database reading and writing.
tests
General scanner database tests.

Structs§

SaplingScannedDatabaseEntry
A database column family entry for a block scanned with a Sapling vieweing key.
SaplingScannedDatabaseIndex
A database column family key for a block scanned with a Sapling vieweing key.
SaplingScannedResult
Stores a scanning result.
ScannerDb
Wrapper struct to ensure high-level zebra-state database access goes through the correct API.

Constants§

SCANNER_COLUMN_FAMILIES_IN_CODE
The column families supported by the running zebra-scan database code.
SCANNER_DATABASE_FORMAT_MAJOR_VERSION 🔒
The major version number of the scanner database. This must be updated whenever the database format changes.
SCANNER_DATABASE_KIND
The directory name used to distinguish the scanner database from Zebra’s other databases or flat files.

Type Aliases§

SaplingScanningKey
The type used in Zebra to store Sapling scanning keys. It can represent a full viewing key or an individual viewing key.