BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
30 namespace graphene {
namespace protocol {
37 return core_fee_required;
47 "Can not create custom authority for special accounts");
68 return core_fee_required;
78 "Can not create custom authority for special accounts");
82 FC_ASSERT(!
new_auth->is_impossible(),
"Cannot use an impossible authority threshold");
87 "Must update something" );
97 "Can not delete custom authority for special accounts");
time_point_sec valid_to
Expiration date for custom authority.
restriction_predicate_function get_restriction_predicate(vector< restriction > rs, operation::tag_type op_type)
get_restriction_predicate Get a predicate function for the supplied restriction
#define GRAPHENE_RELAXED_COMMITTEE_ACCOUNT
Represents the current committee members.
account_id_type account
Account which is setting the custom authority; also pays the fee.
unsigned_int operation_type
Tag of the operation this custom authority can authorize.
flat_map< address, weight_type > address_auths
optional< bool > new_enabled
Change to whether the custom authority is enabled or not.
share_type calculate_fee(const fee_params_t &k) const
#define GRAPHENE_TEMP_ACCOUNT
Represents the canonical account with WILDCARD authority (anybody can access funds in temp account)
optional< time_point_sec > new_valid_to
Change to the custom authority expiration date.
flat_set< uint16_t > restrictions_to_remove
Set of IDs of restrictions to remove.
authority auth
Authentication requirements for the custom authority.
time_point_sec valid_from
Date when custom authority becomes active.
vector< restriction > restrictions_to_add
Vector of new restrictions.
optional< authority > new_auth
Change to the authentication for the custom authority.
vector< restriction > restrictions
Restrictions on operations this custom authority can authenticate.
size_t pack_size(const T &v)
bool is_impossible() const
#define GRAPHENE_COMMITTEE_ACCOUNT
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
#define GRAPHENE_WITNESS_ACCOUNT
Represents the current witnesses.
share_type calculate_fee(const fee_params_t &k) const
account_id_type account
Account which owns the custom authority to update; also pays the fee.
account_id_type account
Account which owns the custom authority to update; also pays the fee.
optional< time_point_sec > new_valid_from
Change to the custom authority begin date.