WIP, SON operations, cli_wallet commands and RPC
- rename vote_for_son_member to vote_for_son
This commit is contained in:
parent
e4bf00e349
commit
8bc204c69b
2 changed files with 5 additions and 5 deletions
|
|
@ -1459,7 +1459,7 @@ class wallet_api
|
||||||
* @param broadcast true if you wish to broadcast the transaction
|
* @param broadcast true if you wish to broadcast the transaction
|
||||||
* @return the signed transaction changing your vote for the given son_member
|
* @return the signed transaction changing your vote for the given son_member
|
||||||
*/
|
*/
|
||||||
signed_transaction vote_for_son_member(string voting_account,
|
signed_transaction vote_for_son(string voting_account,
|
||||||
string son_member,
|
string son_member,
|
||||||
bool approve,
|
bool approve,
|
||||||
bool broadcast = false);
|
bool broadcast = false);
|
||||||
|
|
@ -2089,7 +2089,7 @@ FC_API( graphene::wallet::wallet_api,
|
||||||
(get_vesting_balances)
|
(get_vesting_balances)
|
||||||
(withdraw_vesting)
|
(withdraw_vesting)
|
||||||
(vote_for_committee_member)
|
(vote_for_committee_member)
|
||||||
(vote_for_son_member)
|
(vote_for_son)
|
||||||
(update_son_votes)
|
(update_son_votes)
|
||||||
(vote_for_witness)
|
(vote_for_witness)
|
||||||
(update_witness_votes)
|
(update_witness_votes)
|
||||||
|
|
|
||||||
|
|
@ -2171,7 +2171,7 @@ public:
|
||||||
return sign_transaction( tx, broadcast );
|
return sign_transaction( tx, broadcast );
|
||||||
} FC_CAPTURE_AND_RETHROW( (voting_account)(committee_member)(approve)(broadcast) ) }
|
} FC_CAPTURE_AND_RETHROW( (voting_account)(committee_member)(approve)(broadcast) ) }
|
||||||
|
|
||||||
signed_transaction vote_for_son_member(string voting_account,
|
signed_transaction vote_for_son(string voting_account,
|
||||||
string son_member,
|
string son_member,
|
||||||
bool approve,
|
bool approve,
|
||||||
bool broadcast /* = false */)
|
bool broadcast /* = false */)
|
||||||
|
|
@ -4297,12 +4297,12 @@ signed_transaction wallet_api::vote_for_committee_member(string voting_account,
|
||||||
return my->vote_for_committee_member(voting_account, witness, approve, broadcast);
|
return my->vote_for_committee_member(voting_account, witness, approve, broadcast);
|
||||||
}
|
}
|
||||||
|
|
||||||
signed_transaction wallet_api::vote_for_son_member(string voting_account,
|
signed_transaction wallet_api::vote_for_son(string voting_account,
|
||||||
string son_member,
|
string son_member,
|
||||||
bool approve,
|
bool approve,
|
||||||
bool broadcast /* = false */)
|
bool broadcast /* = false */)
|
||||||
{
|
{
|
||||||
return my->vote_for_son_member(voting_account, son_member, approve, broadcast);
|
return my->vote_for_son(voting_account, son_member, approve, broadcast);
|
||||||
}
|
}
|
||||||
|
|
||||||
signed_transaction wallet_api::update_son_votes(string voting_account,
|
signed_transaction wallet_api::update_son_votes(string voting_account,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue