Scorum
|
Classes | |
class | block_log_impl |
struct | skip_flags_restorer |
struct | pending_transactions_restorer |
Functions | |
template<typename Lambda > | |
void | with_skip_flags (database &db, uint32_t skip_flags, Lambda callback) |
template<typename Lambda > | |
void | without_pending_transactions (database &db, std::vector< signed_transaction > &&pending_transactions, Lambda callback) |
asset | fund_calculate_per_block (time_point_sec start, time_point_sec deadline, const asset &balance) |
asset | adv_calculate_per_block (time_point_sec start, time_point_sec deadline, time_point_sec block_time_sec, const asset &balance) |
asset scorum::chain::detail::adv_calculate_per_block | ( | time_point_sec | start, |
time_point_sec | deadline, | ||
time_point_sec | block_time_sec, | ||
const asset & | balance | ||
) |
Definition at line 35 of file budgets.cpp.
asset scorum::chain::detail::fund_calculate_per_block | ( | time_point_sec | start, |
time_point_sec | deadline, | ||
const asset & | balance | ||
) |
Definition at line 18 of file budgets.cpp.
void scorum::chain::detail::with_skip_flags | ( | database & | db, |
uint32_t | skip_flags, | ||
Lambda | callback | ||
) |
Set the skip_flags to the given value, call callback, then reset skip_flags to their previous value after callback is done.
Definition at line 117 of file db_with.hpp.
void scorum::chain::detail::without_pending_transactions | ( | database & | db, |
std::vector< signed_transaction > && | pending_transactions, | ||
Lambda | callback | ||
) |
Empty pending_transactions, call callback, then reset pending_transactions after callback is done.
Pending transactions which no longer validate will be culled.
Definition at line 133 of file db_with.hpp.