Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_CASE
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
TestBasicMining
Method · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
Rewind
Method · 0.45
BlockConnected
Method · 0.45
ChainStateFlushed
Method · 0.45
BlockUntilSyncedToCurrentChain
Method · 0.45
ComputeNextBlockAndDepth
Function · 0.45
getchaintxstats
Function · 0.45
scantxoutset
Function · 0.45
CalculateSequenceLocks
Function · 0.45
Calls
2
btck_block_tree_entry_get_ancestor
Function · 0.85
get
Function · 0.85
Tested by
4
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
TestBasicMining
Method · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36