MCPcopy 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_testFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 2

getFunction · 0.85

Tested by 3

chainman_reindex_testFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64