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

Method ActiveHeight

src/validation.h:928–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

926 CChainState& ActiveChainstate() const;
927 CChain& ActiveChain() const { return ActiveChainstate().m_chain; }
928 int ActiveHeight() const { return ActiveChain().Height(); }
929 CBlockIndex* ActiveTip() const { return ActiveChain().Tip(); }
930
931 node::BlockMap& BlockIndex() EXCLUSIVE_LOCKS_REQUIRED(::cs_main)

Callers 4

ProcessHeadersMessageMethod · 0.80
SendMessagesMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

HeightMethod · 0.80

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64