BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <asset_evaluator.hpp>
Public Types | |
using | operation_type = asset_create_operation |
Public Member Functions | |
void_result | do_evaluate (const asset_create_operation &o) const |
object_id_type | do_apply (const asset_create_operation &o) const |
void | pay_fee () override |
![]() | |
virtual int | get_type () const override |
virtual operation_result | evaluate (const operation &o) final override |
virtual operation_result | apply (const operation &o) final override |
![]() | |
virtual | ~generic_evaluator () |
virtual int | get_type () const =0 |
virtual operation_result | start_evaluate (transaction_evaluation_state &eval_state, const operation &op, bool apply) |
database & | db () const |
Additional Inherited Members | |
![]() | |
void | prepare_fee (account_id_type account_id, asset fee) |
Fetch objects relevant to fee payer and set pointer members. More... | |
virtual void | convert_fee () |
object_id_type | get_relative_id (object_id_type rel_id) const |
void | pay_fba_fee (uint64_t fba_id) |
share_type | calculate_fee_for_operation (const operation &op) const |
void | db_adjust_balance (const account_id_type &fee_payer, asset fee_from_account) |
![]() | |
asset | fee_from_account |
share_type | core_fee_paid |
const account_object * | fee_paying_account = nullptr |
const account_statistics_object * | fee_paying_account_statistics = nullptr |
const asset_object * | fee_asset = nullptr |
const asset_dynamic_data_object * | fee_asset_dyn_data = nullptr |
transaction_evaluation_state * | trx_state |
Definition at line 34 of file asset_evaluator.hpp.
Definition at line 37 of file asset_evaluator.hpp.
object_id_type graphene::chain::asset_create_evaluator::do_apply | ( | const asset_create_operation & | o | ) | const |
Definition at line 282 of file asset_evaluator.cpp.
void_result graphene::chain::asset_create_evaluator::do_evaluate | ( | const asset_create_operation & | o | ) | const |
Definition at line 185 of file asset_evaluator.cpp.
|
overridevirtual |
override the default behavior defined by generic_evalautor which is to post the fee to fee_paying_account_stats.pending_fees
Reimplemented from graphene::chain::generic_evaluator.
Definition at line 274 of file asset_evaluator.cpp.