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

#include <steem_evaluator.hpp>

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

Public Types

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

Public Member Functions

 delete_comment_evaluator (database &db)
 
void do_apply (const protocol::delete_comment_operation< Major, Hardfork, Release > &o)
 
- Public Member Functions inherited from golos::chain::evaluator< delete_comment_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 ()
 

Additional Inherited Members

- Protected Attributes inherited from golos::chain::evaluator< delete_comment_evaluator< Major, Hardfork, Release >, Major, Hardfork, Release >
databasedb
 

Detailed Description

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

Definition at line 75 of file steem_evaluator.hpp.

Member Typedef Documentation

◆ operation_type

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
typedef protocol::delete_comment_operation<Major, Hardfork, Release> golos::chain::delete_comment_evaluator< Major, Hardfork, Release >::operation_type

Definition at line 78 of file steem_evaluator.hpp.

Constructor & Destructor Documentation

◆ delete_comment_evaluator()

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

Definition at line 80 of file steem_evaluator.hpp.

Member Function Documentation

◆ do_apply()

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
void golos::chain::delete_comment_evaluator< Major, Hardfork, Release >::do_apply ( const protocol::delete_comment_operation< Major, Hardfork, Release > &  o)

Because net_rshares is 0 there is no need to update any pending payout calculations or parent posts.

this loop can be skiped for validate-only nodes as it is merely gathering stats for indicies

TODO move category behavior to a plugin, this is not part of consensus

Definition at line 50 of file steem_evaluator.cpp.


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