Module cuprate_blockchain::tables
source · Expand description
Database tables.
§Table marker structs
This module contains all the table definitions used by cuprate_blockchain.
The zero-sized structs here represents the table type;
they all are essentially marker types that implement Table.
Table structs are CamelCase, and their static string
names used by the actual database backend are snake_case.
For example: BlockBlobs -> block_blobs.
§Traits
This module also contains a set of traits for accessing all tables defined here at once.
For example, this is the object returned by OpenTables::open_tables.
Structs§
- Serialized block blobs (bytes).
- Block heights.
- Block information.
- Set of key images.
- Maps an output’s amount to the number of outputs with that amount.
- Pre-RCT output data.
- Prunable transaction hashes.
- Prunable transaction blobs (bytes).
- Pruned transaction blobs (bytes).
- RCT output data.
- Transaction blobs (bytes).
- Transaction heights.
- Transaction indices.
- Transaction outputs.
- Transaction unlock time.