MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / StartBackgroundSync

Method StartBackgroundSync

src/index/base.cpp:459–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459bool BaseIndex::StartBackgroundSync()
460{
461 if (!m_init) throw std::logic_error("Error: Cannot start a non-initialized index");
462
463 m_thread_sync = std::thread(&util::TraceThread, m_thread_name, [this] { Sync(); });
464 return true;
465}
466
467void BaseIndex::Stop()
468{

Callers 4

InitAndLoadChainstateFunction · 0.80
StartIndexBackgroundSyncFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 2

BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64