BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
33 namespace graphene {
namespace protocol {
71 return std::count_if(
votes.begin(),
votes.end(),
72 [](
vote_id_type v){ return v.type() == vote_id_type::vote_type::committee; } );
123 if(
extensions.value.buyback_options.valid() )
124 a.insert(
extensions.value.buyback_options->asset_to_buy_issuer );
284 (no_listing)(white_listed)(black_listed)(white_and_black_listed))
290 (referrer)(referrer_percent)
291 (name)(owner)(active)(options)(extensions)
297 (fee)(account)(owner)(active)(new_options)(extensions)
301 (fee)(account_to_upgrade)(upgrade_to_lifetime_member)(extensions) )
account_id_type authorizing_account
The account which is specifying an opinion of another account.
optional< special_authority > owner_special_authority
asset fee
Paid by authorizing_account.
#define GRAPHENE_PROXY_TO_SELF_ACCOUNT
Represents the canonical account for specifying you will vote directly (as opposed to a proxy)
optional< authority > active
New active authority. This can be updated by the current active authority.
FC_REFLECT_TYPENAME(fc::log_message)
optional< special_authority > owner_special_authority
uint64_t premium_fee
the cost to register the cheapest non-free account
share_type calculate_fee(const fee_params_t &k) const
account_id_type voting_account
uint64_t basic_fee
the cost to register the cheapest non-free account
extension< ext > extensions
These are the fields which can be updated by the active authority.
@ black_listed
This account is blacklisted, but not whitelisted.
void get_required_active_authorities(flat_set< account_id_type > &a) const
account_id_type registrar
This account pays the fee. Must be a lifetime member.
An ID for some votable object.
transfers the account to another account while clearing the white list
account_id_type fee_payer() const
account_id_type fee_payer() const
Update an existing account.
account_id_type referrer
This account receives a portion of the fee split between registrar and referrer. Must be a member.
optional< authority > owner
New owner authority. If set, this operation requires owner authority to execute.
void get_required_active_authorities(flat_set< account_id_type > &a) const
@ white_listed
This account is whitelisted, but not blacklisted.
account_id_type account_to_list
The account being opined about.
#define GRAPHENE_BLOCKCHAIN_PRECISION
extensions_type extensions
uint16_t num_committee_voted() const
optional< special_authority > active_special_authority
account_id_type account_to_upgrade
The account to upgrade; must not already be a lifetime member.
account_id_type fee_payer() const
optional< void_t > null_ext
account_id_type new_owner
optional< account_options > new_options
New account options.
flat_set< vote_id_type > votes
bool upgrade_to_lifetime_member
If true, the account will be upgraded to a lifetime member; otherwise, it will add a year to the subs...
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
optional< buyback_account_options > buyback_options
void get_required_owner_authorities(flat_set< account_id_type > &a) const
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
extension< ext > extensions
extensions_type extensions
extensions_type extensions
extensions_type extensions
FC_REFLECT_ENUM(graphene::net::core_message_type_enum,(trx_message_type)(block_message_type)(core_message_type_first)(item_ids_inventory_message_type)(blockchain_item_ids_inventory_message_type)(fetch_blockchain_item_ids_message_type)(fetch_items_message_type)(item_not_available_message_type)(hello_message_type)(connection_accepted_message_type)(connection_rejected_message_type)(address_request_message_type)(address_message_type)(closing_connection_message_type)(current_time_request_message_type)(current_time_reply_message_type)(check_firewall_message_type)(check_firewall_reply_message_type)(get_current_connections_request_message_type)(get_current_connections_reply_message_type)(core_message_type_last))(different_chain)(already_connected)(connected_to_self)(not_accepting_connections)(blocked)(invalid_hello_message)(client_too_old))(inbound)(outbound))(firewalled)(not_firewalled))(unable_to_connect)(connection_successful)) namespace std
uint64_t membership_lifetime_fee
the cost to upgrade to a lifetime member
@ white_and_black_listed
This account is both whitelisted and blacklisted.
bool is_voting() const
Whether this account is voting.
optional< special_authority > active_special_authority
bool is_cheap_name(const string &n)
@ no_listing
No opinion is specified about this account.
account_id_type account
The account to update.
Manage an account's membership status.
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Identifies a weighted set of keys and accounts that must approve operations.
provides stack-based nullable value similar to boost::optional
This operation is used to whitelist and blacklist accounts, primarily for transacting in whitelisted ...
uint16_t referrer_percent
account_id_type fee_payer() const
share_type calculate_fee(const fee_params_t &k) const
account_id_type fee_payer() const
uint64_t membership_annual_fee
bool is_valid_name(const string &name)
share_type calculate_fee(const fee_params_t &) const
account_id_type account_id
optional< void_t > null_ext
future_extensions::flat_set_type extensions_type
bool is_owner_update() const