TARAXA
taraxa::net::rpc::eth::EthParams Struct Reference

#include <Eth.h>

Collaboration diagram for taraxa::net::rpc::eth::EthParams:

Public Attributes

Address address
 
uint64_t chain_id = 0
 
uint64_t gas_limit = ((uint64_t)1 << 53) - 1
 
std::shared_ptr< final_chain::FinalChainfinal_chain
 
std::function< std::shared_ptr< Transaction >const h256 &)> get_trx
 
std::function< void(const std::shared_ptr< Transaction > &trx)> send_trx
 
std::function< u256()> gas_pricer = [] { return u256(0); }
 
std::function< std::optional< SyncStatus >)> syncing_probe = [] { return std::nullopt; }
 
WatchesConfig watches_cfg
 

Member Data Documentation

◆ address

Address taraxa::net::rpc::eth::EthParams::address

◆ chain_id

uint64_t taraxa::net::rpc::eth::EthParams::chain_id = 0

◆ final_chain

std::shared_ptr<final_chain::FinalChain> taraxa::net::rpc::eth::EthParams::final_chain

◆ gas_limit

uint64_t taraxa::net::rpc::eth::EthParams::gas_limit = ((uint64_t)1 << 53) - 1

◆ gas_pricer

std::function<u256()> taraxa::net::rpc::eth::EthParams::gas_pricer = [] { return u256(0); }

◆ get_trx

std::function<std::shared_ptr<Transaction>const h256&)> taraxa::net::rpc::eth::EthParams::get_trx

◆ send_trx

std::function<void(const std::shared_ptr<Transaction>& trx)> taraxa::net::rpc::eth::EthParams::send_trx

◆ syncing_probe

std::function<std::optional<SyncStatus>)> taraxa::net::rpc::eth::EthParams::syncing_probe = [] { return std::nullopt; }

◆ watches_cfg

WatchesConfig taraxa::net::rpc::eth::EthParams::watches_cfg

The documentation for this struct was generated from the following file: