3 #include <fc/shared_containers.hpp>
23 template <
typename Allocator>
44 template <
typename Allocator>
51 template <
typename Allocator,
class... Args>
78 std::vector<public_key_type>
get_keys()
const;
FC_REFLECT(appender_args,(appender)(stream)) FC_REFLECT_DERIVED(file_appender_args
bool operator==(const shared_authority &a, const shared_authority &b)
fc::fixed_string_16 account_name_type
uint16_t authority_weight_type
shared_authority(const authority &a, const Allocator &alloc)
shared_authority & operator=(const authority &a)
void add_authorities(AuthType k, authority_weight_type w, Args... auths)
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
shared_authority(const Allocator &alloc)
shared_authority(const shared_authority &cpy)
fc::shared_flat_map< public_key_type, authority_weight_type > key_authority_map
uint32_t weight_threshold
fc::shared_flat_map< account_name_type, authority_weight_type > account_authority_map
void add_authorities(AuthType k, authority_weight_type w)
shared_authority(const Allocator &alloc, uint32_t weight_threshold, Args... auths)
bool is_impossible() const
account_authority_map account_auths
uint32_t weight_threshold
key_authority_map key_auths