3 #include <fc/interprocess/container.hpp>
24 template <
class... Args>
45 std::vector<public_key_type>
get_keys()
const;
59 template <
typename AuthorityType>
62 for (
auto& item : a.account_auths)
98 bool operator==(
const authority& a,
const authority& b);
FC_REFLECT(appender_args,(appender)(stream)) FC_REFLECT_DERIVED(file_appender_args
flat_map< account_name_type, authority_weight_type > account_authority_map
bool operator==(const authority &a, const authority &b)
fc::fixed_string_16 account_name_type
bool is_valid_account_name(const std::string &name)
uint16_t authority_weight_type
void add_authority_accounts(flat_set< account_name_type > &result, const AuthorityType &a)
authority(uint32_t threshold, Args... auths)
account_authority_map account_auths
uint32_t weight_threshold
void add_authorities(AuthType k, authority_weight_type w, Args... auths)
void add_authorities(AuthType k, authority_weight_type w)
uint32_t num_auths() const
bool is_impossible() const
key_authority_map key_auths
flat_map< public_key_type, authority_weight_type > key_authority_map
void add_authority(const public_key_type &k, authority_weight_type w)
std::vector< public_key_type > get_keys() const