Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ GetChain
Method
GetChain
src/kernel/bitcoinkernel_wrapper.h:1331–1334 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1329
}
1330
1331
ChainView GetChain() const
1332
{
1333
return ChainView{btck_chainstate_manager_get_active_chain(get())};
1334
}
1335
1336
std::optional<BlockTreeEntry> GetBlockTreeEntry(const BlockHash& block_hash) const
1337
{
Callers
3
chainman_reindex_test
Function · 0.80
chainman_mainnet_validation_test
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
Calls
2
btck_chainstate_manager_get_active_chain
Function · 0.85
get
Function · 0.85
Tested by
3
chainman_reindex_test
Function · 0.64
chainman_mainnet_validation_test
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64