Bitcoin Core 30.99.0
P2P Digital Currency
Classes | Namespaces | Variables
txindex.h File Reference
#include <index/base.h>
#include <primitives/transaction.h>
#include <cstddef>
#include <memory>
Include dependency graph for txindex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TxIndex
 TxIndex is used to look up transactions included in the blockchain by hash. More...
 

Namespaces

namespace  interfaces
 

Variables

static constexpr bool DEFAULT_TXINDEX {false}
 
std::unique_ptr< TxIndexg_txindex
 The global transaction index, used in GetTransaction. May be null. More...
 

Variable Documentation

◆ DEFAULT_TXINDEX

constexpr bool DEFAULT_TXINDEX {false}
staticconstexpr

Definition at line 19 of file txindex.h.

◆ g_txindex

std::unique_ptr<TxIndex> g_txindex
extern

The global transaction index, used in GetTransaction. May be null.

Definition at line 35 of file txindex.cpp.