Wire Sysio Wire Sysion 1.0.0
|
#include <transaction_metadata.hpp>
Public Types | |
enum class | trx_type { input , implicit , scheduled , read_only } |
Public Member Functions | |
transaction_metadata (const private_type &pt, packed_transaction_ptr ptrx, fc::microseconds sig_cpu_usage, flat_set< public_key_type > recovered_pub_keys, bool _implicit=false, bool _scheduled=false, bool _read_only=false) | |
transaction_metadata ()=delete | |
transaction_metadata (const transaction_metadata &)=delete | |
transaction_metadata (transaction_metadata &&)=delete | |
transaction_metadata | operator= (transaction_metadata &)=delete |
transaction_metadata | operator= (transaction_metadata &&)=delete |
const packed_transaction_ptr & | packed_trx () const |
const transaction_id_type & | id () const |
fc::microseconds | signature_cpu_usage () const |
const flat_set< public_key_type > & | recovered_keys () const |
size_t | get_estimated_size () const |
Static Public Member Functions | |
static recover_keys_future | start_recover_keys (packed_transaction_ptr trx, boost::asio::io_context &thread_pool, const chain_id_type &chain_id, fc::microseconds time_limit, trx_type t, uint32_t max_variable_sig_size=UINT32_MAX) |
static transaction_metadata_ptr | create_no_recover_keys (packed_transaction_ptr trx, trx_type t) |
Public Attributes | |
const bool | implicit |
const bool | scheduled |
const bool | read_only |
bool | accepted = false |
uint32_t | billed_cpu_time_us = 0 |
This data structure should store context-free cached data about a transaction such as packed/unpacked/compressed and recovered keys
Definition at line 21 of file transaction_metadata.hpp.
|
strong |
Enumerator | |
---|---|
input | |
implicit | |
scheduled | |
read_only |
Definition at line 23 of file transaction_metadata.hpp.
|
inlineexplicit |
Definition at line 53 of file transaction_metadata.hpp.
|
delete |
|
delete |
|
delete |
|
inlinestatic |
Definition at line 86 of file transaction_metadata.hpp.
size_t sysio::chain::transaction_metadata::get_estimated_size | ( | ) | const |
Definition at line 27 of file transaction_metadata.cpp.
|
inline |
Definition at line 72 of file transaction_metadata.hpp.
|
delete |
|
delete |
|
inline |
Definition at line 71 of file transaction_metadata.hpp.
|
inline |
Definition at line 74 of file transaction_metadata.hpp.
|
inline |
Definition at line 73 of file transaction_metadata.hpp.
|
static |
Thread safe.
Definition at line 7 of file transaction_metadata.cpp.
bool sysio::chain::transaction_metadata::accepted = false |
Definition at line 39 of file transaction_metadata.hpp.
uint32_t sysio::chain::transaction_metadata::billed_cpu_time_us = 0 |
Definition at line 40 of file transaction_metadata.hpp.
const bool sysio::chain::transaction_metadata::implicit |
Definition at line 36 of file transaction_metadata.hpp.
const bool sysio::chain::transaction_metadata::read_only |
Definition at line 38 of file transaction_metadata.hpp.
const bool sysio::chain::transaction_metadata::scheduled |
Definition at line 37 of file transaction_metadata.hpp.