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

Deletes comment. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::delete_comment_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
 

Detailed Description

Deletes comment.

You cant do it if comment already has upvotes or child comments

Definition at line 210 of file scorum_operations.hpp.

Member Function Documentation

◆ get_required_posting_authorities()

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

Definition at line 216 of file scorum_operations.hpp.

◆ validate()

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

Definition at line 110 of file scorum_operations.cpp.

Member Data Documentation

◆ author

account_name_type scorum::protocol::delete_comment_operation::author

Definition at line 212 of file scorum_operations.hpp.

◆ permlink

std::string scorum::protocol::delete_comment_operation::permlink

Definition at line 213 of file scorum_operations.hpp.


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