diff options
Diffstat (limited to 'src/index/txindex.h')
-rw-r--r-- | src/index/txindex.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index/txindex.h b/src/index/txindex.h index e1f1b17676..41199f0b3f 100644 --- a/src/index/txindex.h +++ b/src/index/txindex.h @@ -82,4 +82,7 @@ public: void Stop(); }; +/// The global transaction index, used in GetTransaction. May be null. +extern std::unique_ptr<TxIndex> g_txindex; + #endif // BITCOIN_INDEX_TXINDEX_H |