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

Method FatalErrorf

src/index/base.cpp:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52template <typename... Args>
53void BaseIndex::FatalErrorf(util::ConstevalFormatString<sizeof...(Args)> fmt, const Args&... args)
54{
55 auto message = tfm::format(fmt, args...);
56 node::AbortNode(m_chain->context()->shutdown_request, m_chain->context()->exit_status, Untranslated(message), m_chain->context()->warnings.get());
57}
58
59CBlockLocator GetLocator(interfaces::Chain& chain, const uint256& block_hash)
60{

Callers

nothing calls this directly

Calls 5

AbortNodeFunction · 0.85
UntranslatedFunction · 0.85
formatFunction · 0.50
contextMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected