BitShares-Core  6.1.0
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | Public Attributes | List of all members
graphene::chain::proposal_update_evaluator Class Reference

#include <proposal_evaluator.hpp>

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

Public Types

typedef proposal_update_operation operation_type

Public Member Functions

void_result do_evaluate (const proposal_update_operation &o)
void_result do_apply (const proposal_update_operation &o)
- Public Member Functions inherited from graphene::chain::evaluator< proposal_update_evaluator >
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

Public Attributes

const proposal_object_proposal = nullptr
processed_transaction _processed_transaction
bool _executed_proposal = false
bool _proposal_failed = false

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

Detailed Description

Definition at line 65 of file proposal_evaluator.hpp.

Member Typedef Documentation

◆ operation_type

Definition at line 68 of file proposal_evaluator.hpp.

Member Function Documentation

◆ do_apply()

void_result graphene::chain::proposal_update_evaluator::do_apply ( const proposal_update_operation o)

Definition at line 467 of file proposal_evaluator.cpp.

◆ do_evaluate()

void_result graphene::chain::proposal_update_evaluator::do_evaluate ( const proposal_update_operation o)

Definition at line 443 of file proposal_evaluator.cpp.

Member Data Documentation

◆ _executed_proposal

bool graphene::chain::proposal_update_evaluator::_executed_proposal = false

Definition at line 75 of file proposal_evaluator.hpp.

◆ _processed_transaction

processed_transaction graphene::chain::proposal_update_evaluator::_processed_transaction

Definition at line 74 of file proposal_evaluator.hpp.

◆ _proposal

const proposal_object* graphene::chain::proposal_update_evaluator::_proposal = nullptr

Definition at line 73 of file proposal_evaluator.hpp.

◆ _proposal_failed

bool graphene::chain::proposal_update_evaluator::_proposal_failed = false

Definition at line 76 of file proposal_evaluator.hpp.

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