MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / getNumBlocks

Method getNumBlocks

src/interfaces/node.cpp:163–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 return false;
162 }
163 int getNumBlocks() override
164 {
165 LOCK(::cs_main);
166 return ::chainActive.Height();
167 }
168 int64_t getLastBlockTime() override
169 {
170 LOCK(::cs_main);

Callers 3

pollBalanceChangedMethod · 0.80
setClientModelMethod · 0.80
setClientModelMethod · 0.80

Calls 1

HeightMethod · 0.80

Tested by

no test coverage detected