aboutsummaryrefslogtreecommitdiff
path: root/src/index/txindex.cpp
diff options
context:
space:
mode:
authorMarcin Jachymiak <marcin.jachymiak1@gmail.com>2019-01-17 14:08:21 -0500
committerMarcin Jachymiak <marcin.jachymiak1@gmail.com>2020-08-18 21:47:59 -0400
commitcf095a53fcef8ad72e2f1177660ef50bc7e340ad (patch)
tree9a95144a3e3e60572c14368322162ce2b551c96b /src/index/txindex.cpp
parenta2a250c7d07bcb80cefca9dd4a7ce57f41291334 (diff)
downloadbitcoin-cf095a53fcef8ad72e2f1177660ef50bc7e340ad.tar.xz
Move comment about BaseIndex::DB from TxIndex::DB
Diffstat (limited to 'src/index/txindex.cpp')
-rw-r--r--src/index/txindex.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/index/txindex.cpp b/src/index/txindex.cpp
index 104b05d4ba..462ac5962f 100644
--- a/src/index/txindex.cpp
+++ b/src/index/txindex.cpp
@@ -16,15 +16,9 @@ constexpr char DB_TXINDEX_BLOCK = 'T';
std::unique_ptr<TxIndex> g_txindex;
-/**
- * Access to the txindex database (indexes/txindex/)
- *
- * The database stores a block locator of the chain the database is synced to
- * so that the TxIndex can efficiently determine the point it last stopped at.
- * A locator is used instead of a simple hash of the chain tip because blocks
- * and block index entries may not be flushed to disk until after this database
- * is updated.
- */
+
+
+/** Access to the txindex database (indexes/txindex/) */
class TxIndex::DB : public BaseIndex::DB
{
public: