pub async fn validate_rbac_registration(
reg: Cip509,
is_persistent: bool,
context: &mut RbacBlockIndexingContext,
) -> Result<RbacValidationSuccess, RbacValidationError>
Expand description
Validates a new registration by either starting a new chain or adding it to the existing one.
In case of failure a problem report from the given registration is updated and returned.