Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Public Member Functions | List of all members
graphene::chain::evaluator< DerivedEvaluator > Class Template Reference

#include <evaluator.hpp>

Inheritance diagram for graphene::chain::evaluator< DerivedEvaluator >:
graphene::chain::generic_evaluator

Public Member Functions

virtual int get_type () const override
 
virtual operation_result evaluate (const operation &o) final override
 
virtual operation_result apply (const operation &o) final override
 
- Public Member Functions inherited from graphene::chain::generic_evaluator
virtual ~generic_evaluator ()
 
virtual operation_result start_evaluate (transaction_evaluation_state &eval_state, const operation &op, bool apply)
 
virtual void pay_fee ()
 
databasedb () const
 

Additional Inherited Members

- Protected Member Functions inherited from graphene::chain::generic_evaluator
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)
 
- Protected Attributes inherited from graphene::chain::generic_evaluator
asset fee_from_account
 
share_type core_fee_paid
 
const account_objectfee_paying_account = nullptr
 
const account_statistics_objectfee_paying_account_statistics = nullptr
 
const asset_objectfee_asset = nullptr
 
const asset_dynamic_data_objectfee_asset_dyn_data = nullptr
 
transaction_evaluation_statetrx_state
 

Detailed Description

template<typename DerivedEvaluator>
class graphene::chain::evaluator< DerivedEvaluator >

Definition at line 139 of file evaluator.hpp.

Member Function Documentation

◆ apply()

template<typename DerivedEvaluator>
virtual operation_result graphene::chain::evaluator< DerivedEvaluator >::apply ( const operation o)
inlinefinaloverridevirtual

Implements graphene::chain::generic_evaluator.

Definition at line 162 of file evaluator.hpp.

◆ evaluate()

template<typename DerivedEvaluator>
virtual operation_result graphene::chain::evaluator< DerivedEvaluator >::evaluate ( const operation op)
inlinefinaloverridevirtual
Note
derived classes should ASSUME that the default validation that is indepenent of chain state should be performed by op.validate() and should not perform these extra checks.

Implements graphene::chain::generic_evaluator.

Definition at line 144 of file evaluator.hpp.

◆ get_type()

template<typename DerivedEvaluator>
virtual int graphene::chain::evaluator< DerivedEvaluator >::get_type ( ) const
inlineoverridevirtual

Implements graphene::chain::generic_evaluator.

Definition at line 142 of file evaluator.hpp.


The documentation for this class was generated from the following file: