Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
pollBalanceChanged
Method · 0.80
setClientModel
Method · 0.80
setClientModel
Method · 0.80
Calls
1
Height
Method · 0.80
Tested by
no test coverage detected