[init] Initialize and start TxIndex in init code.

This commit is contained in:
Jim Posen
2017-12-08 11:29:59 -08:00
parent f90c3a62f5
commit 8181db88f6
4 changed files with 33 additions and 11 deletions

View File

@@ -14,6 +14,8 @@
constexpr int64_t SYNC_LOG_INTERVAL = 30; // seconds
constexpr int64_t SYNC_LOCATOR_WRITE_INTERVAL = 30; // seconds
std::unique_ptr<TxIndex> g_txindex;
template<typename... Args>
static void FatalError(const char* fmt, const Args&... args)
{