Pure abstract view on the open txout dataset.
Synopsis
Declared in <coins.h>
class CCoinsView;
Member Functions
Name |
Description |
|
As we use CCoinsViews polymorphically, have a virtual destructor |
|
Do a bulk modification (multiple Coin changes + BestBlock change). The passed cursor is used to iterate through the coins. |
|
Estimate database size |
|
Retrieve the block hash whose state this CCoinsView currently represents |
|
Retrieve the Coin (unspent transaction output) for a given outpoint. May populate the cache. Use PeekCoin() to perform a non‐caching lookup. |
|
Retrieve the range of blocks that may have been only partially written. If the database is in a consistent state, the result is the empty vector. Otherwise, a two‐element vector is returned consisting of the new and the old block hash, in that order. |
|
Just check whether a given outpoint is unspent. May populate the cache. Use PeekCoin() to perform a non‐caching lookup. |
|
Retrieve the Coin (unspent transaction output) for a given outpoint, without caching results. Does not populate the cache. Use GetCoin() to cache the result. |
Derived Classes
Name |
Description |
CCoinsView backed by another CCoinsView |
|
CCoinsView backed by the coin database (chainstate/) |
|
Noop coins view. |
Created with MrDocs