![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <index/txospenderindex.h>#include <common/args.h>#include <crypto/siphash.h>#include <dbwrapper.h>#include <flatfile.h>#include <index/base.h>#include <index/disktxpos.h>#include <interfaces/chain.h>#include <logging.h>#include <node/blockstorage.h>#include <primitives/block.h>#include <primitives/transaction.h>#include <random.h>#include <serialize.h>#include <streams.h>#include <tinyformat.h>#include <uint256.h>#include <util/fs.h>#include <validation.h>#include <cstdio>#include <exception>#include <ios>#include <span>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | DBKey |
Functions | |
| static uint64_t | CreateKeyPrefix (std::pair< uint64_t, uint64_t > siphash_key, const COutPoint &vout) |
| static DBKey | CreateKey (std::pair< uint64_t, uint64_t > siphash_key, const COutPoint &vout, const CDiskTxPos &pos) |
| static std::vector< std::pair< COutPoint, CDiskTxPos > > | BuildSpenderPositions (const interfaces::BlockInfo &block) |
Variables | |
| constexpr uint8_t | DB_TXOSPENDERINDEX {'s'} |
| std::unique_ptr< TxoSpenderIndex > | g_txospenderindex |
| The global txo spender index. May be null. | |
|
static |
Definition at line 111 of file txospenderindex.cpp.
|
static |
Definition at line 85 of file txospenderindex.cpp.
|
static |
Definition at line 80 of file txospenderindex.cpp.
Definition at line 41 of file txospenderindex.cpp.
| std::unique_ptr<TxoSpenderIndex> g_txospenderindex |
The global txo spender index. May be null.
Definition at line 43 of file txospenderindex.cpp.