MCPcopy 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
467unsigned ClientBase::transactionCount(h256 _blockHash) const
468{
469 auto bl = bc().block(_blockHash);
470 RLP b(bl);
471 return b[1].itemCount();
472}
473
474unsigned ClientBase::uncleCount(h256 _blockHash) const
475{

Calls 2

blockMethod · 0.45
itemCountMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36