72 catch (
const fc::exception&)
88 catch (
const transaction_exception& e)
90 dlog(
"Pending transaction became invalid after switching to block ${b} ${n} ${t}",
92 dlog(
"The invalid transaction caused exception ${e}", (
"e", e.to_detail_string()));
93 dlog(
"${t}", (
"t", tx));
95 catch (
const fc::exception& e)
132 template <
typename Lambda>
tracks the blockchain state in an extensible manner
time_point_sec head_block_time() const
void _push_transaction(const signed_transaction &trx)
block_id_type head_block_id() const
bool is_known_transaction(const transaction_id_type &id) const
node_property_object & node_properties()
std::deque< signed_transaction > _popped_tx
uint32_t head_block_num() const
Contains per-node database configuration.
void without_pending_transactions(database &db, std::vector< signed_transaction > &&pending_transactions, Lambda callback)
void with_skip_flags(database &db, uint32_t skip_flags, Lambda callback)
pending_transactions_restorer(database &db, std::vector< signed_transaction > &&pending_transactions)
std::vector< signed_transaction > _pending_transactions
~pending_transactions_restorer()
node_property_object & _npo
skip_flags_restorer(node_property_object &npo, uint32_t old_skip_flags)