10namespace sysio {
namespace chain {
79 const flat_set<public_key_type>& provided_keys,
80 const flat_set<permission_level>& provided_permissions = flat_set<permission_level>(),
82 const std::function<
void()>& checktime = std::function<
void()>(),
83 bool allow_unused_keys =
false,
84 bool check_but_dont_fail =
false,
85 const flat_set<permission_level>& satisfied_authorizations = flat_set<permission_level>()
103 const flat_set<public_key_type>& provided_keys,
104 const flat_set<permission_level>& provided_permissions = flat_set<permission_level>(),
106 const std::function<
void()>& checktime = std::function<
void()>(),
107 bool allow_unused_keys =
false
111 const flat_set<public_key_type>& candidate_keys,
128 std::optional<permission_name> lookup_linked_permission(
account_name authorizer_account,
authorization_manager(controller &c, chainbase::database &d)
fc::time_point get_permission_last_used(const permission_object &permission) const
static std::function< void()> _noop_checktime
void add_to_snapshot(const snapshot_writer_ptr &snapshot) const
void initialize_database()
std::optional< permission_name > lookup_minimum_permission(account_name authorizer_account, scope_name code_account, action_name type) const
Find the lowest authority level required for authorizer_account to authorize a message of the specifi...
void update_permission_usage(const permission_object &permission)
void read_from_snapshot(const snapshot_reader_ptr &snapshot)
void check_authorization(const vector< action > &actions, const flat_set< public_key_type > &provided_keys, const flat_set< permission_level > &provided_permissions=flat_set< permission_level >(), fc::microseconds provided_delay=fc::microseconds(0), const std::function< void()> &checktime=std::function< void()>(), bool allow_unused_keys=false, bool check_but_dont_fail=false, const flat_set< permission_level > &satisfied_authorizations=flat_set< permission_level >()) const
Check authorizations of a vector of actions with provided keys, permission levels,...
const permission_object & get_permission(const permission_level &level) const
void remove_permission(const permission_object &permission)
const permission_object & create_permission(account_name account, permission_name name, permission_id_type parent, const authority &auth, time_point initial_creation_time=time_point())
const permission_object * find_permission(const permission_level &level) const
void modify_permission(const permission_object &permission, const authority &auth)
flat_set< public_key_type > get_required_keys(const transaction &trx, const flat_set< public_key_type > &candidate_keys, fc::microseconds provided_delay=fc::microseconds(0)) const
permission_object::id_type permission_id_type
sysio::chain::action_name action_name
std::shared_ptr< snapshot_writer > snapshot_writer_ptr
std::shared_ptr< snapshot_reader > snapshot_reader_ptr
oid< permission_object > id_type
Immutable except for fc::from_variant.