CCoinsView backed by the coin database (chainstate/)
Synopsis
Declared in <txdb.h>
class CCoinsViewDB final
: public CCoinsView
Base Classes
Name |
Description |
Pure abstract view on the open txout dataset. |
Member Functions
Name |
Description |
|
Constructs the view, opening the coin database with the given parameters. |
|
Destroys the view and releases the underlying database. |
|
Writes a batch of coin changes to the database. |
Perform a full compaction of the underlying LevelDB on a one‐shot background thread. |
|
Get a cursor to iterate over the whole state. |
|
|
Returns an estimate of the database size in bytes. |
|
Returns the hash of the best (tip) block recorded in the database. |
|
Returns the coin for an outpoint, if present. |
Return an underlying LevelDB property value, if available. |
|
|
Returns the head block hashes recorded during an interrupted flush. |
|
Returns whether a coin exists for an outpoint. |
Whether an unsupported database format is used. |
|
|
Returns the coin for an outpoint without caching the result. |
Dynamically alter the underlying leveldb cache size. |
Protected Data Members
Name |
Description |
Shared future tracking an in‐progress background compaction. |
|
The underlying coin database wrapper. |
|
Prevents CompactFull() from using m_db while ResizeCache() replaces it. |
|
Parameters used to open the underlying database. |
|
User‐controlled performance and debug options. |
Created with MrDocs