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§

Traits§