TARAXA
|
#include <block.hpp>
Public Member Functions | |
Block (std::shared_ptr<::taraxa::final_chain::FinalChain > final_chain, std::shared_ptr<::taraxa::TransactionManager > trx_manager, std::function< std::shared_ptr< object::Block >(::taraxa::EthBlockNumber)> get_block_by_num, const ::taraxa::blk_hash_t &pbft_block_hash, std::shared_ptr< const ::taraxa::final_chain::BlockHeader > block_header) noexcept | |
response::Value | getNumber () const noexcept |
response::Value | getHash () const noexcept |
response::Value | getPbftHash () const noexcept |
std::shared_ptr< object::Block > | getParent () const noexcept |
response::Value | getNonce () const noexcept |
response::Value | getTransactionsRoot () const noexcept |
std::optional< int > | getTransactionCount () const noexcept |
response::Value | getStateRoot () const noexcept |
response::Value | getReceiptsRoot () const noexcept |
std::shared_ptr< object::Account > | getMiner (std::optional< response::Value > &&blockArg) const |
response::Value | getExtraData () const noexcept |
response::Value | getGasLimit () const noexcept |
response::Value | getGasUsed () const noexcept |
response::Value | getTimestamp () const noexcept |
response::Value | getLogsBloom () const noexcept |
response::Value | getMixHash () const noexcept |
response::Value | getDifficulty () const noexcept |
response::Value | getTotalDifficulty () const noexcept |
std::optional< int > | getOmmerCount () const noexcept |
std::optional< std::vector< std::shared_ptr< object::Block > > > | getOmmers () const noexcept |
std::shared_ptr< object::Block > | getOmmerAt (int &&indexArg) const noexcept |
response::Value | getOmmerHash () const noexcept |
std::optional< std::vector< std::shared_ptr< object::Transaction > > > | getTransactions () const noexcept |
std::shared_ptr< object::Transaction > | getTransactionAt (response::IntType &&indexArg) const noexcept |
std::vector< std::shared_ptr< object::Log > > | getLogs (BlockFilterCriteria &&filterArg) const noexcept |
std::shared_ptr< object::Account > | getAccount (response::Value &&addressArg) const |
std::shared_ptr< object::CallResult > | getCall (CallData &&dataArg) const noexcept |
response::Value | getEstimateGas (CallData &&dataArg) const noexcept |
Private Attributes | |
std::shared_ptr<::taraxa::final_chain::FinalChain > | final_chain_ |
std::shared_ptr<::taraxa::TransactionManager > | trx_manager_ |
std::function< std::shared_ptr< object::Block >::taraxa::EthBlockNumber)> | get_block_by_num_ |
const ::taraxa::blk_hash_t | kPBftBlockHash |
std::shared_ptr< const ::taraxa::final_chain::BlockHeader > | block_header_ |
std::vector< std::shared_ptr<::taraxa::Transaction > > | transactions_ |
|
explicitnoexcept |
std::shared_ptr< object::Account > graphql::taraxa::Block::getAccount | ( | response::Value && | addressArg | ) | const |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
std::shared_ptr< object::Account > graphql::taraxa::Block::getMiner | ( | std::optional< response::Value > && | blockArg | ) | const |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |