MCPcopy Create free account
hub / github.com/LUX-Core/lux / transactions

Method transactions

src/cpp-ethereum/libethereum/ClientBase.cpp:437–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437Transactions ClientBase::transactions(h256 _blockHash) const
438{
439 auto bl = bc().block(_blockHash);
440 RLP b(bl);
441 Transactions res;
442 for (unsigned i = 0; i < b[1].itemCount(); i++)
443 res.emplace_back(b[1][i].data(), CheckTransaction::Cheap);
444 return res;
445}
446
447TransactionHashes ClientBase::transactionHashes(h256 _blockHash) const
448{

Callers 5

onDeadBlocksMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
eth_getBlockByHashMethod · 0.45
eth_getBlockByNumberMethod · 0.45

Calls 3

blockMethod · 0.45
itemCountMethod · 0.45
dataMethod · 0.45

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36