Expand description
Tx-pool Database tables.
§Table marker structs
This module contains all the table definitions used by cuprate_txpool
.
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: TransactionBlobs
-> transaction_blobs
.
§Traits
This module also contains a set of traits for accessing all tables defined here at once.
Structs§
- Cached
Verification State - Cached transaction verification state.
- Known
Blob Hashes - Transaction blob hashes that are in the pool.
- Spent
KeyImages - Spent key images.
- Transaction
Blobs - Serialized transaction blobs.
- Transaction
Infos - Transaction information.
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.