Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Types | Public Member Functions | Protected Attributes | List of all members
golos::chain::proposal_update_evaluator< Major, Hardfork, Release > Class Template Reference

#include <proposal_evaluator.hpp>

Inheritance diagram for golos::chain::proposal_update_evaluator< Major, Hardfork, Release >:
golos::chain::evaluator< proposal_update_evaluator< Major, Hardfork, Release >, Major, Hardfork, Release > golos::chain::generic_evaluator< golos::protocol::operation >

Public Types

typedef proposal_update_operation< Major, Hardfork, Release > operation_type
 
- Public Types inherited from golos::chain::evaluator< proposal_update_evaluator< Major, Hardfork, Release >, Major, Hardfork, Release >
typedef golos::protocol::operation operation_sv_type
 

Public Member Functions

 proposal_update_evaluator (database &db)
 
void do_apply (const operation_type &o)
 
- Public Member Functions inherited from golos::chain::evaluator< proposal_update_evaluator< Major, Hardfork, Release >, Major, Hardfork, Release >
 evaluator (database &d)
 
virtual void apply (const golos::protocol::operation &o) final override
 
virtual int get_type () const override
 
databaseget_database ()
 

Protected Attributes

const proposal_object_proposal = nullptr
 
bool executed_proposal = false
 
bool proposal_failed = false
 
- Protected Attributes inherited from golos::chain::evaluator< proposal_update_evaluator< Major, Hardfork, Release >, Major, Hardfork, Release >
databasedb
 

Detailed Description

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
class golos::chain::proposal_update_evaluator< Major, Hardfork, Release >

Definition at line 30 of file proposal_evaluator.hpp.

Member Typedef Documentation

◆ operation_type

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
typedef proposal_update_operation<Major, Hardfork, Release> golos::chain::proposal_update_evaluator< Major, Hardfork, Release >::operation_type

Definition at line 33 of file proposal_evaluator.hpp.

Constructor & Destructor Documentation

◆ proposal_update_evaluator()

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
golos::chain::proposal_update_evaluator< Major, Hardfork, Release >::proposal_update_evaluator ( database db)
inline

Definition at line 35 of file proposal_evaluator.hpp.

Member Function Documentation

◆ do_apply()

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
void golos::chain::proposal_update_evaluator< Major, Hardfork, Release >::do_apply ( const operation_type o)

Definition at line 85 of file proposal_evaluator.cpp.

Member Data Documentation

◆ _proposal

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
const proposal_object* golos::chain::proposal_update_evaluator< Major, Hardfork, Release >::_proposal = nullptr
protected

Definition at line 42 of file proposal_evaluator.hpp.

◆ executed_proposal

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
bool golos::chain::proposal_update_evaluator< Major, Hardfork, Release >::executed_proposal = false
protected

Definition at line 43 of file proposal_evaluator.hpp.

◆ proposal_failed

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
bool golos::chain::proposal_update_evaluator< Major, Hardfork, Release >::proposal_failed = false
protected

Definition at line 44 of file proposal_evaluator.hpp.


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