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

Method GetAncestor

src/kernel/bitcoinkernel_wrapper.h:946–949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944 }
945
946 BlockTreeEntry GetAncestor(int32_t height) const
947 {
948 return BlockTreeEntry{btck_block_tree_entry_get_ancestor(get(), height)};
949 }
950
951};
952

Callers 15

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
TestBasicMiningMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
RewindMethod · 0.45
BlockConnectedMethod · 0.45
ChainStateFlushedMethod · 0.45
ComputeNextBlockAndDepthFunction · 0.45
getchaintxstatsFunction · 0.45
scantxoutsetFunction · 0.45
CalculateSequenceLocksFunction · 0.45

Calls 2

getFunction · 0.85

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
TestBasicMiningMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36