BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
These are the fields which can be updated by the active authority. More...
#include <account.hpp>
Public Member Functions | |
bool | is_voting () const |
Whether this account is voting. More... | |
uint16_t | num_committee_voted () const |
void | validate () const |
Public Attributes | |
public_key_type | memo_key |
account_id_type | voting_account = GRAPHENE_PROXY_TO_SELF_ACCOUNT |
uint16_t | num_witness = 0 |
uint16_t | num_committee = 0 |
flat_set< vote_id_type > | votes |
extensions_type | extensions |
These are the fields which can be updated by the active authority.
Definition at line 39 of file account.hpp.
|
inline |
Whether this account is voting.
Definition at line 62 of file account.hpp.
|
inline |
Definition at line 67 of file account.hpp.
void graphene::protocol::account_options::validate | ( | ) | const |
Definition at line 156 of file account.cpp.
extensions_type graphene::protocol::account_options::extensions |
Definition at line 59 of file account.hpp.
public_key_type graphene::protocol::account_options::memo_key |
The memo key is the key this account will typically use to encrypt/sign transaction memos and other non- validated account activities. This field is here to prevent confusion if the active authority has zero or multiple keys in it.
Definition at line 44 of file account.hpp.
uint16_t graphene::protocol::account_options::num_committee = 0 |
The number of active committee members this account votes the blockchain should appoint Must not exceed the actual number of committee members voted for in votes
Definition at line 55 of file account.hpp.
uint16_t graphene::protocol::account_options::num_witness = 0 |
The number of active witnesses this account votes the blockchain should appoint Must not exceed the actual number of witnesses voted for in votes
Definition at line 52 of file account.hpp.
flat_set<vote_id_type> graphene::protocol::account_options::votes |
This is the list of vote IDs this account votes for. The weight of these votes is determined by this account's balance of core asset.
Definition at line 58 of file account.hpp.
account_id_type graphene::protocol::account_options::voting_account = GRAPHENE_PROXY_TO_SELF_ACCOUNT |
If this field is set to an account ID other than GRAPHENE_PROXY_TO_SELF_ACCOUNT, then this account's votes will be ignored; its stake will be counted as voting for the referenced account's selected votes instead.
Definition at line 48 of file account.hpp.