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

Method ToString

src/chain.h:386–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384 }
385
386 std::string ToString() const
387 {
388 return strprintf("CBlockIndex(pprev=%p, nHeight=%d, merkle=%s, hashBlock=%s)",
389 pprev, nHeight,
390 hashMerkleRoot.ToString(),
391 GetBlockHash().ToString());
392 }
393
394 //! Check whether this block index entry is valid up to the passed validity level.
395 bool IsValid(enum BlockStatus nUpTo = BLOCK_VALID_TRANSACTIONS) const

Callers 1

ToStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected