Scorum
Functions

Votes. More...

Functions

std::vector< vote_statescorum::app::database_api::get_active_votes (const std::string &author, const std::string &permlink) const
 
std::vector< account_votescorum::app::database_api::get_account_votes (const std::string &voter) const
 

Detailed Description

Votes.

Function Documentation

◆ get_account_votes()

std::vector< account_vote > scorum::app::database_api::get_account_votes ( const std::string &  voter) const

Definition at line 899 of file database_api.cpp.

◆ get_active_votes()

std::vector< vote_state > scorum::app::database_api::get_active_votes ( const std::string &  author,
const std::string &  permlink 
) const

if permlink is "" then it will return all votes for author

Definition at line 874 of file database_api.cpp.