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

Method block

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

Source from the content-addressed store, hash-verified

581}
582
583Block ClientBase::block(BlockNumber _h) const
584{
585 if (_h == PendingBlock)
586 return postSeal();
587 else if (_h == LatestBlock)
588 return preSeal();
589 return block(bc().numberHash(_h));
590}
591
592int ClientBase::chainId() const
593{

Callers 6

blockInfoMethod · 0.45
transactionMethod · 0.45
transactionsMethod · 0.45
uncleMethod · 0.45
transactionCountMethod · 0.45
uncleCountMethod · 0.45

Calls 1

numberHashMethod · 0.80

Tested by

no test coverage detected