Scorum
|
Updates comment options. More...
#include <scorum_operations.hpp>
Public Member Functions | |
void | validate () const |
void | get_required_posting_authorities (flat_set< account_name_type > &a) const |
![]() | |
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... | |
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.
|
inline |
Definition at line 173 of file scorum_operations.hpp.
void scorum::protocol::comment_options_operation::validate | ( | ) | const |
Definition at line 98 of file scorum_operations.cpp.
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.
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.
account_name_type scorum::protocol::comment_options_operation::author |
Definition at line 163 of file scorum_operations.hpp.
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.
asset scorum::protocol::comment_options_operation::max_accepted_payout = asset::maximum(SCORUM_SYMBOL) |
Definition at line 166 of file scorum_operations.hpp.
std::string scorum::protocol::comment_options_operation::permlink |
Definition at line 164 of file scorum_operations.hpp.