TARAXA
|
Classes | |
struct | TransactionLocationWithBlockHash |
struct | LocalisedTransaction |
struct | ExtendedTransactionLocation |
struct | LocalisedTransactionReceipt |
struct | LocalisedLogEntry |
struct | TransactionSkeleton |
struct | SyncStatus |
class | EthImpl |
struct | EthParams |
struct | Eth |
struct | LogFilter |
struct | WatchGroupConfig |
struct | placeholder_t |
class | WatchGroup |
class | Watches |
Typedefs | |
using | time_point = std::chrono::system_clock::time_point |
using | WatchesConfig = std::array< WatchGroupConfig, WatchType::COUNT > |
using | WatchID = uint64_t |
Enumerations | |
enum | WatchType { new_blocks , new_transactions , logs , COUNT } |
Functions | |
void | add (Json::Value &obj, const std::optional< TransactionLocationWithBlockHash > &info) |
void | add (Json::Value &obj, const ExtendedTransactionLocation &info) |
Json::Value | toJson (const final_chain::BlockHeader &obj) |
Json::Value | toJson (const Transaction &trx, const std::optional< TransactionLocationWithBlockHash > &loc) |
Json::Value | toJson (const LocalisedTransaction <) |
Json::Value | toJson (const LocalisedLogEntry &lle) |
Json::Value | toJson (const LocalisedTransactionReceipt <r) |
Json::Value | toJson (const SyncStatus &obj) |
template<typename T > | |
Json::Value | toJson (const T &t) |
template<typename T > | |
Json::Value | toJsonArray (const std::vector< T > &_es) |
template<typename T > | |
Json::Value | toJson (const std::optional< T > &t) |
void | add (Json::Value &obj, const optional< TransactionLocationWithBlockHash > &info) |
Json::Value | toJson (const Transaction &trx, const optional< TransactionLocationWithBlockHash > &loc) |
shared_ptr< Eth > | NewEth (EthParams &&prerequisites) |
GLOBAL_CONST_DEF (watch_id_type_mask_bits, WatchType(ceil(log2(float(COUNT))))) Watches | |
DEV_SIMPLE_EXCEPTION (WatchLimitExceeded) | |
GLOBAL_CONST (WatchType, watch_id_type_mask_bits) | |
struct taraxa::net::rpc::eth::LocalisedTransaction |
Class Members | ||
---|---|---|
shared_ptr< Transaction > | trx | |
optional< TransactionLocationWithBlockHash > | trx_loc |
struct taraxa::net::rpc::eth::LocalisedTransactionReceipt |
Class Members | ||
---|---|---|
TransactionReceipt | r | |
addr_t | trx_from | |
ExtendedTransactionLocation | trx_loc | |
optional< addr_t > | trx_to |
struct taraxa::net::rpc::eth::LocalisedLogEntry |
Class Members | ||
---|---|---|
LogEntry | le | |
uint64_t | position_in_receipt | |
ExtendedTransactionLocation | trx_loc |
struct taraxa::net::rpc::eth::TransactionSkeleton |
struct taraxa::net::rpc::eth::SyncStatus |
Class Members | ||
---|---|---|
EthBlockNumber | current_block | |
EthBlockNumber | highest_block | |
EthBlockNumber | starting_block |
struct taraxa::net::rpc::eth::WatchGroupConfig |
struct taraxa::net::rpc::eth::placeholder_t |
using taraxa::net::rpc::eth::time_point = typedef std::chrono::system_clock::time_point |
using taraxa::net::rpc::eth::WatchesConfig = typedef std::array<WatchGroupConfig, WatchType::COUNT> |
using taraxa::net::rpc::eth::WatchID = typedef uint64_t |
void taraxa::net::rpc::eth::add | ( | Json::Value & | obj, |
const ExtendedTransactionLocation & | info | ||
) |
void taraxa::net::rpc::eth::add | ( | Json::Value & | obj, |
const optional< TransactionLocationWithBlockHash > & | info | ||
) |
void taraxa::net::rpc::eth::add | ( | Json::Value & | obj, |
const std::optional< TransactionLocationWithBlockHash > & | info | ||
) |
taraxa::net::rpc::eth::DEV_SIMPLE_EXCEPTION | ( | WatchLimitExceeded | ) |
taraxa::net::rpc::eth::GLOBAL_CONST | ( | WatchType | , |
watch_id_type_mask_bits | |||
) |
taraxa::net::rpc::eth::GLOBAL_CONST_DEF | ( | watch_id_type_mask_bits | , |
WatchType(ceil(log2(float(COUNT)))) | |||
) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const final_chain::BlockHeader & | obj | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const LocalisedLogEntry & | lle | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const LocalisedTransaction & | lt | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const LocalisedTransactionReceipt & | ltr | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const std::optional< T > & | t | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const SyncStatus & | obj | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const T & | t | ) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const Transaction & | trx, |
const optional< TransactionLocationWithBlockHash > & | loc | ||
) |
Json::Value taraxa::net::rpc::eth::toJson | ( | const Transaction & | trx, |
const std::optional< TransactionLocationWithBlockHash > & | loc | ||
) |
Json::Value taraxa::net::rpc::eth::toJsonArray | ( | const std::vector< T > & | _es | ) |