Bitcoin Core 31.99.0
P2P Digital Currency
Classes | Namespaces | Variables
txindex.h File Reference
#include <index/base.h>
#include <primitives/transaction.h>
#include <uint256.h>
#include <cstddef>
#include <memory>
#include <optional>
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

struct  TxIndexResult
 A found transaction and the hash of the block that contains it. More...
 
class  TxIndex
 TxIndex is used to look up transactions included in the blockchain by hash. More...
 

Namespaces

namespace  interfaces
 
namespace  txindex_tests
 

Variables

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}
inlineconstexpr

Definition at line 23 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 41 of file txindex.cpp.