39 namespace graphene {
namespace chain {
namespace detail {
72 : _db(db), _pending_transactions(
std::move(pending_transactions) )
79 for(
const auto& tx : _db._popped_tx )
82 if( !_db.is_known_transaction( tx.id() ) ) {
83 _db._push_transaction( tx );
88 _db._popped_tx.clear();
93 if( !_db.is_known_transaction( tx.id() ) ) {
94 _db._push_transaction( tx );
112 template<
typename Lambda >
131 template<
typename Lambda >
134 std::vector<processed_transaction>&& pending_transactions,
~pending_transactions_restorer()
node_property_object & _npo
tracks the blockchain state in an extensible manner
Used to generate a useful error report when an exception is thrown.At each level in the stack where t...
void with_skip_flags(database &db, uint32_t skip_flags, Lambda callback)
void without_pending_transactions(database &db, std::vector< processed_transaction > &&pending_transactions, Lambda callback)
Contains per-node database configuration.
std::vector< processed_transaction > _pending_transactions
skip_flags_restorer(node_property_object &npo, uint32_t old_skip_flags)
node_property_object & node_properties()
captures the result of evaluating the operations contained in the transaction
pending_transactions_restorer(database &db, std::vector< processed_transaction > &&pending_transactions)