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

Method tip

src/test/fuzz/versionbits.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 size_t size() const { return m_blocks.size(); }
58
59 CBlockIndex* tip() const
60 {
61 return m_blocks.empty() ? nullptr : m_blocks.back().get();
62 }
63
64 CBlockIndex* mine_block(bool signal)
65 {

Callers 1

versionbits.cppFile · 0.80

Calls 3

emptyMethod · 0.45
getMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected