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

Method ToString

src/chain.h:556–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554
555
556 std::string ToString() const
557 {
558 std::string str = "CDiskBlockIndex(";
559 str += CBlockIndex::ToString();
560 str += strprintf("\n hashBlock=%s, hashPrev=%s)",
561 GetBlockHash().ToString(),
562 hashPrev.ToString());
563 return str;
564 }
565};
566
567/** An in-memory indexed chain of blocks. */

Callers

nothing calls this directly

Calls 2

ToStringFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected