MCPcopy Create free account
hub / github.com/ElementsProject/elements / ToString

Method ToString

src/chain.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12node::NodeContext *CBlockIndex::m_pcontext;
13
14std::string CBlockFileInfo::ToString() const
15{
16 return strprintf("CBlockFileInfo(blocks=%u, size=%u, heights=%u...%u, time=%s...%s)", nBlocks, nSize, nHeightFirst, nHeightLast, FormatISO8601Date(nTimeFirst), FormatISO8601Date(nTimeLast));
17}
18
19void CChain::SetTip(CBlockIndex *pindex) {
20 if (pindex == nullptr) {

Callers 15

ConnectMethod · 0.45
HelloMethod · 0.45
InitHTTPAllowListFunction · 0.45
http_request_cbFunction · 0.45
BanMapToJsonFunction · 0.45
SweepBannedMethod · 0.45
HTTPReq_JSONRPCFunction · 0.45
PrioritiseTransactionMethod · 0.45
TrimToSizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected