Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ transactionCount
Method
transactionCount
src/cpp-ethereum/libethereum/ClientBase.cpp:467–472 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
465
}
466
467
unsigned ClientBase::transactionCount(h256 _blockHash) const
468
{
469
auto bl = bc().block(_blockHash);
470
RLP b(bl);
471
return b[1].itemCount();
472
}
473
474
unsigned ClientBase::uncleCount(h256 _blockHash) const
475
{
Callers
3
BOOST_AUTO_TEST_CASE
Function · 0.45
eth_getBlockTransactionCountByHash
Method · 0.45
eth_getBlockTransactionCountByNumber
Method · 0.45
Calls
2
block
Method · 0.45
itemCount
Method · 0.45
Tested by
1
BOOST_AUTO_TEST_CASE
Function · 0.36