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

Method TipBlock

src/node/kernel_notifications.cpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103std::optional<uint256> KernelNotifications::TipBlock()
104{
105 AssertLockHeld(m_tip_block_mutex);
106 return m_state.tip_block;
107};
108
109
110void ReadNotificationArgs(const ArgsManager& args, KernelNotifications& notifications)

Callers 5

AppInitMainFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
WaitAndCreateNewBlockFunction · 0.80
CooldownIfHeadersAheadFunction · 0.80
WaitTipChangedFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64