10 result.account_auths.reserve(account_auths.size());
11 for (
const auto& item : account_auths)
12 result.account_auths.insert(item);
14 result.key_auths.reserve(key_auths.size());
15 for (
const auto& item : key_auths)
16 result.key_auths.insert(item);
18 result.weight_threshold = weight_threshold;
50 std::vector<public_key_type>
result;
59 uint64_t auth_weights = 0;
61 auth_weights += item.second;
63 auth_weights += item.second;
bool operator==(const shared_authority &a, const shared_authority &b)
fc::fixed_string_16 account_name_type
bool is_valid_account_name(const std::string &name)
uint16_t authority_weight_type
shared_authority & operator=(const authority &a)
key_authority_map key_auths
void add_authority(const public_key_type &k, authority_weight_type w)
std::vector< public_key_type > get_keys() const
uint32_t num_auths() const
account_authority_map account_auths
uint32_t weight_threshold
bool is_impossible() const
account_authority_map account_auths
uint32_t weight_threshold
key_authority_map key_auths