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

Method ToString

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

Source from the content-addressed store, hash-verified

8#include <util/check.h>
9
10std::string CBlockIndex::ToString() const
11{
12 return strprintf("CBlockIndex(pprev=%p, nHeight=%d, merkle=%s, hashBlock=%s)",
13 pprev, nHeight, hashMerkleRoot.ToString(), GetBlockHash().ToString());
14}
15
16void CChain::SetTip(CBlockIndex& block)
17{

Callers 15

HeadersSyncStateMethod · 0.45
HelloMethod · 0.45
InitHTTPAllowListFunction · 0.45
BanMapToJsonFunction · 0.45
SweepBannedMethod · 0.45
PrioritiseTransactionMethod · 0.45
TrimToSizeMethod · 0.45
FetchBlockMethod · 0.45
NewPoWValidBlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected