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

Method waitTipChanged

src/node/interfaces.cpp:976–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

974 }
975
976 std::optional<BlockRef> waitTipChanged(uint256 current_tip, MillisecondsDouble timeout) override
977 {
978 return WaitTipChanged(chainman(), notifications(), current_tip, timeout, m_interrupt_mining);
979 }
980
981 std::unique_ptr<BlockTemplate> createNewBlock(const BlockCreateOptions& options, bool cooldown) override
982 {

Callers 7

async_routineMethod · 0.80
wait_for_tipMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
getblocktemplateFunction · 0.80
waitfornewblockFunction · 0.80
waitforblockFunction · 0.80
waitforblockheightFunction · 0.80

Calls 1

WaitTipChangedFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64