BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Update an existing account. More...
#include <account.hpp>
Classes | |
struct | ext |
struct | fee_params_t |
Public Member Functions | |
account_id_type | fee_payer () const |
void | validate () const |
share_type | calculate_fee (const fee_params_t &k) const |
bool | is_owner_update () const |
void | get_required_owner_authorities (flat_set< account_id_type > &a) const |
void | get_required_active_authorities (flat_set< account_id_type > &a) const |
Public Member Functions inherited from graphene::protocol::base_operation | |
virtual | ~base_operation ()=default |
template<typename T > | |
share_type | calculate_fee (const T ¶ms) const |
virtual void | get_required_authorities (vector< authority > &) const |
fc::optional< fc::future< void > > | validate_parallel (uint32_t skip) const |
Public Attributes | |
asset | fee |
account_id_type | account |
The account to update. More... | |
optional< authority > | owner |
New owner authority. If set, this operation requires owner authority to execute. More... | |
optional< authority > | active |
New active authority. This can be updated by the current active authority. More... | |
optional< account_options > | new_options |
New account options. More... | |
extension< ext > | extensions |
Additional Inherited Members | |
Static Public Member Functions inherited from graphene::protocol::base_operation | |
static uint64_t | calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte) |
Update an existing account.
This operation is used to update an existing account. It can be used to update the authorities, or adjust the options on the account. See graphene::chain::account_object::options for the options which may be updated.
Definition at line 136 of file account.hpp.
share_type graphene::protocol::account_update_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
Definition at line 218 of file account.cpp.
|
inline |
Definition at line 164 of file account.hpp.
|
inlinevirtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 174 of file account.hpp.
|
inlinevirtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 171 of file account.hpp.
|
inline |
Definition at line 168 of file account.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 226 of file account.cpp.
account_id_type graphene::protocol::account_update_operation::account |
The account to update.
Definition at line 153 of file account.hpp.
New active authority. This can be updated by the current active authority.
Definition at line 158 of file account.hpp.
Definition at line 162 of file account.hpp.
asset graphene::protocol::account_update_operation::fee |
Definition at line 151 of file account.hpp.
optional<account_options> graphene::protocol::account_update_operation::new_options |
New account options.
Definition at line 161 of file account.hpp.
New owner authority. If set, this operation requires owner authority to execute.
Definition at line 156 of file account.hpp.