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

Function btck_chain_get_height

src/kernel/bitcoinkernel.cpp:1373–1377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1371}
1372
1373int32_t btck_chain_get_height(const btck_Chain* chain)
1374{
1375 LOCK(::cs_main);
1376 return btck_Chain::get(chain).Height();
1377}
1378
1379const btck_BlockTreeEntry* btck_chain_get_by_height(const btck_Chain* chain, int32_t height)
1380{

Callers 2

HeightFunction · 0.85
CountEntriesFunction · 0.85

Calls 2

getFunction · 0.85
HeightMethod · 0.80

Tested by

no test coverage detected