Module transparent

Source
Expand description

Provides high-level access to database:

This module makes sure that:

  • all disk writes happen inside a RocksDB transaction, and
  • format-specific invariants are maintained.

§Correctness

crate::constants::state_database_format_version_in_code() must be incremented each time the database format (column, serialization, etc) changes.

Constants§

TX_LOC_BY_SPENT_OUT_LOC
The name of the transaction hash by spent outpoints column family.

Type Aliases§

TransactionLocationBySpentOutputLocationCf
The type for reading value pools from the database.