MCPcopy 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
474unsigned ClientBase::uncleCount(h256 _blockHash) const
475{
476 auto bl = bc().block(_blockHash);
477 RLP b(bl);
478 return b[2].itemCount();
479}
480
481unsigned ClientBase::number() const
482{

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 2

blockMethod · 0.45
itemCountMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36