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

Votes for content. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::vote_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 voter
 
account_name_type author
 
std::string permlink
 
int16_t weight = 0
 

Detailed Description

Votes for content.

Definition at line 227 of file scorum_operations.hpp.

Member Function Documentation

◆ get_required_posting_authorities()

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

Definition at line 235 of file scorum_operations.hpp.

◆ validate()

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

Definition at line 121 of file scorum_operations.cpp.

Member Data Documentation

◆ author

account_name_type scorum::protocol::vote_operation::author

Definition at line 230 of file scorum_operations.hpp.

◆ permlink

std::string scorum::protocol::vote_operation::permlink

Definition at line 231 of file scorum_operations.hpp.

◆ voter

account_name_type scorum::protocol::vote_operation::voter

Definition at line 229 of file scorum_operations.hpp.

◆ weight

int16_t scorum::protocol::vote_operation::weight = 0

Definition at line 232 of file scorum_operations.hpp.


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