Wire Sysio Wire Sysion 1.0.0
|
#include <unapplied_transaction_queue.hpp>
Public Types | |
using | iterator = unapplied_trx_queue_type::index<by_type>::type::iterator |
Public Member Functions | |
void | set_max_transaction_queue_size (uint64_t v) |
bool | empty () const |
size_t | size () const |
void | clear () |
size_t | incoming_size () const |
transaction_metadata_ptr | get_trx (const transaction_id_type &id) const |
template<typename Yield , typename Callback > | |
bool | clear_expired (const time_point &pending_block_time, Yield &&yield, Callback &&callback) |
void | clear_applied (const block_state_ptr &bs) |
void | add_forked (const branch_type &forked_branch) |
void | add_aborted (std::vector< transaction_metadata_ptr > aborted_trxs) |
void | add_persisted (const transaction_metadata_ptr &trx) |
void | add_incoming (const transaction_metadata_ptr &trx, bool persist_until_expired, bool return_failure_trace, next_func_t next) |
iterator | begin () |
iterator | end () |
iterator | unapplied_begin () |
iterator | unapplied_end () |
iterator | persisted_begin () |
iterator | persisted_end () |
iterator | incoming_begin () |
iterator | incoming_end () |
iterator | erase (iterator itr) |
caller's responsibility to call next() if applicable | |
Track unapplied transactions for persisted, forked blocks, and aborted blocks. Persisted are first so that they can be applied in each block until expired.
Definition at line 52 of file unapplied_transaction_queue.hpp.
using sysio::chain::unapplied_transaction_queue::iterator = unapplied_trx_queue_type::index<by_type>::type::iterator |
Definition at line 195 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 156 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 143 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 179 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 164 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 197 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 85 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 124 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 100 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 77 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 198 of file unapplied_transaction_queue.hpp.
Definition at line 211 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 93 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 207 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 208 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 89 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 204 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 205 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 75 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 81 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 201 of file unapplied_transaction_queue.hpp.
|
inline |
Definition at line 202 of file unapplied_transaction_queue.hpp.