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

Votes for witness. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::account_witness_vote_operation:
scorum::protocol::base_operation

Public Member Functions

void validate () const
 
void get_required_active_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 account
 
account_name_type witness
 
bool approve = true
 

Detailed Description

Votes for witness.

All accounts with a VFS can vote for or against any witness. If a proxy is specified then all existing votes are removed.

Definition at line 520 of file scorum_operations.hpp.

Member Function Documentation

◆ get_required_active_authorities()

void scorum::protocol::account_witness_vote_operation::get_required_active_authorities ( flat_set< account_name_type > &  a) const
inline

Definition at line 527 of file scorum_operations.hpp.

◆ validate()

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

Definition at line 179 of file scorum_operations.cpp.

Member Data Documentation

◆ account

account_name_type scorum::protocol::account_witness_vote_operation::account

Definition at line 522 of file scorum_operations.hpp.

◆ approve

bool scorum::protocol::account_witness_vote_operation::approve = true

Definition at line 524 of file scorum_operations.hpp.

◆ witness

account_name_type scorum::protocol::account_witness_vote_operation::witness

Definition at line 523 of file scorum_operations.hpp.


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