Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ uncleCount
Method
uncleCount
src/cpp-ethereum/libethereum/ClientBase.cpp:474–479 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
472
}
473
474
unsigned ClientBase::uncleCount(h256 _blockHash) const
475
{
476
auto bl = bc().block(_blockHash);
477
RLP b(bl);
478
return b[2].itemCount();
479
}
480
481
unsigned ClientBase::number() const
482
{
Callers
3
BOOST_AUTO_TEST_CASE
Function · 0.45
eth_getUncleCountByBlockHash
Method · 0.45
eth_getUncleCountByBlockNumber
Method · 0.45
Calls
2
block
Method · 0.45
itemCount
Method · 0.45
Tested by
1
BOOST_AUTO_TEST_CASE
Function · 0.36