mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
index: Remove TxIndexDB from public interface of TxIndex.
This commit is contained in:
@@ -1606,8 +1606,7 @@ bool AppInitMain()
|
||||
|
||||
// ********************************************************* Step 8: start indexers
|
||||
if (gArgs.GetBoolArg("-txindex", DEFAULT_TXINDEX)) {
|
||||
auto txindex_db = MakeUnique<TxIndexDB>(nTxIndexCache, false, fReindex);
|
||||
g_txindex = MakeUnique<TxIndex>(std::move(txindex_db));
|
||||
g_txindex = MakeUnique<TxIndex>(nTxIndexCache, false, fReindex);
|
||||
g_txindex->Start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user