Scorum
Public Member Functions | Public Attributes | List of all members
scorum::protocol::comment_options_operation Struct Reference

Updates comment options. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::comment_options_operation:
scorum::protocol::base_operation

Public Member Functions

void validate () const
 
void get_required_posting_authorities (flat_set< account_name_type > &a) const
 
- Public Member Functions inherited from scorum::protocol::base_operation
void get_required_authorities (std::vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_name_type > &) const
 
void get_required_posting_authorities (flat_set< account_name_type > &) const
 
void get_required_owner_authorities (flat_set< account_name_type > &) const
 
bool is_virtual () const
 
void validate () const
 

Public Attributes

account_name_type author
 
std::string permlink
 
asset max_accepted_payout = asset::maximum(SCORUM_SYMBOL)
 
bool allow_votes = true
 SCR value of the maximum payout this post will receive. More...
 
bool allow_curation_rewards = true
 allows a post to receive votes; More...
 
comment_options_extensions_type extensions
 allows voters to receive curation rewards. Rewards return to reward fund. More...
 

Detailed Description

Updates comment options.

Authors of posts may not want all of the benefits that come from creating a post. This operation allows authors to update properties associated with their post.

The max_accepted_payout may be decreased, but never increased.

Definition at line 161 of file scorum_operations.hpp.

Member Function Documentation

◆ get_required_posting_authorities()

void scorum::protocol::comment_options_operation::get_required_posting_authorities ( flat_set< account_name_type > &  a) const
inline

Definition at line 173 of file scorum_operations.hpp.

◆ validate()

void scorum::protocol::comment_options_operation::validate ( ) const

Definition at line 98 of file scorum_operations.cpp.

Member Data Documentation

◆ allow_curation_rewards

bool scorum::protocol::comment_options_operation::allow_curation_rewards = true

allows a post to receive votes;

Definition at line 169 of file scorum_operations.hpp.

◆ allow_votes

bool scorum::protocol::comment_options_operation::allow_votes = true

SCR value of the maximum payout this post will receive.

Definition at line 168 of file scorum_operations.hpp.

◆ author

account_name_type scorum::protocol::comment_options_operation::author

Definition at line 163 of file scorum_operations.hpp.

◆ extensions

comment_options_extensions_type scorum::protocol::comment_options_operation::extensions

allows voters to receive curation rewards. Rewards return to reward fund.

Definition at line 170 of file scorum_operations.hpp.

◆ max_accepted_payout

asset scorum::protocol::comment_options_operation::max_accepted_payout = asset::maximum(SCORUM_SYMBOL)

Definition at line 166 of file scorum_operations.hpp.

◆ permlink

std::string scorum::protocol::comment_options_operation::permlink

Definition at line 164 of file scorum_operations.hpp.


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