#include "coins.h"
#include "consensus/consensus.h"
#include "invalid.h"
#include "logging.h"
#include "random.h"
#include "version.h"
#include <assert.h>
Go to the source code of this file.
|
| void | AddCoins (CCoinsViewCache &cache, const CTransaction &tx, int nHeight, bool check, bool fSkipInvalid) |
| | Utility function to add all of a transaction's outputs to a cache. More...
|
| |
| template<typename Map , typename MapIterator , typename MapEntry > |
| void | BatchWriteAnchors (Map &mapAnchors, Map &cacheAnchors, size_t &cachedCoinsUsage) |
| |
| void | BatchWriteNullifiers (CNullifiersMap &mapNullifiers, CNullifiersMap &cacheNullifiers) |
| |
| const Coin & | AccessByTxid (const CCoinsViewCache &view, const uint256 &txid) |
| | Utility function to find any unspent output with a given txid. More...
|
| |
◆ AccessByTxid()
Utility function to find any unspent output with a given txid.
- Todo:
- : merge with similar definition in undo.h.
Definition at line 409 of file coins.cpp.
◆ AddCoins()
Utility function to add all of a transaction's outputs to a cache.
Definition at line 116 of file coins.cpp.
◆ BatchWriteAnchors()
template<typename Map , typename MapIterator , typename MapEntry >
| void BatchWriteAnchors |
( |
Map & |
mapAnchors, |
|
|
Map & |
cacheAnchors, |
|
|
size_t & |
cachedCoinsUsage |
|
) |
| |
◆ BatchWriteNullifiers()