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 cuprate_database::Table
.
Table structs are CamelCase
, and their static string
names used by the actual database backend are snake_case
.
For example: BlockHeaderBlobs
-> block_header_blobs
.
§Traits
This module also contains a set of traits for accessing all tables defined here at once.
Structs§
- AltBlock
Blobs - Alt-block blobs.
- AltBlock
Heights - Alt-block heights.
- AltBlocks
Info - Alt-block information.
- AltChain
Infos - Information on alt-chains.
- AltTransaction
Blobs - Alt-block transaction blobs.
- AltTransaction
Infos - Alt-block transaction information.
- Block
Header Blobs - Serialized block header blobs (bytes).
- Block
Heights - Block heights.
- Block
Infos - Block information.
- Block
TxsHashes - Block transactions hashes
- KeyImages
- Set of key images.
- NumOutputs
- Maps an output’s amount to the number of outputs with that amount.
- Outputs
- Pre-RCT output data.
- Prunable
Hashes - Prunable transaction hashes.
- Prunable
TxBlobs - Prunable transaction blobs (bytes).
- Pruned
TxBlobs - Pruned transaction blobs (bytes).
- RctOutputs
- RCT output data.
- TxBlobs
- Transaction blobs (bytes).
- TxHeights
- Transaction heights.
- TxIds
- Transaction indices.
- TxOutputs
- Transaction outputs.
- TxUnlock
Time - Transaction unlock time.
Traits§
- Open
Tables - Open all tables at once.
- Tables
- Object containing all opened
Table
s in read-only mode. - Tables
Iter - Object containing all opened
Table
s in read + iter mode. - Tables
Mut - Object containing all opened
Table
s in write mode.