Bitcoin Core 30.99.0
P2P Digital Currency
Classes | Variables
txospenderindex.h File Reference
#include <index/base.h>
#include <interfaces/chain.h>
#include <primitives/transaction.h>
#include <uint256.h>
#include <util/expected.h>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for txospenderindex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TxoSpender
 
class  TxoSpenderIndex
 TxoSpenderIndex is used to look up which transaction spent a given output. More...
 

Variables

static constexpr bool DEFAULT_TXOSPENDERINDEX {false}
 
std::unique_ptr< TxoSpenderIndexg_txospenderindex
 The global txo spender index. May be null. More...
 

Variable Documentation

◆ DEFAULT_TXOSPENDERINDEX

constexpr bool DEFAULT_TXOSPENDERINDEX {false}
staticconstexpr

Definition at line 25 of file txospenderindex.h.

◆ g_txospenderindex

std::unique_ptr<TxoSpenderIndex> g_txospenderindex
extern

The global txo spender index. May be null.

Definition at line 43 of file txospenderindex.cpp.