Module ethcore::db [] [src]

Database utilities and definitions.

Enums

CacheUpdatePolicy

Modes for updating caches.

Constants

COL_ACCOUNT_BLOOM

Column for Traces

COL_BODIES

Column for Block bodies

COL_EXTRA

Column for Extras

COL_HEADERS

Column for Block headers

COL_STATE

Column for State

COL_TRACE

Column for Traces

NUM_COLUMNS

Number of columns in DB

Traits

Cache

A cache for arbitrary key-value pairs.

Key

Should be used to get database key associated with given value.

Readable

Should be used to read values from database.

Writable

Should be used to write value into database.