aboutsummaryrefslogtreecommitdiff
path: root/src/index/txindex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/index/txindex.h')
-rw-r--r--src/index/txindex.h3
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