Skip to main content

CertificationAuthority

Struct CertificationAuthority 

Source
pub struct CertificationAuthority {
    pub authority_node_aid: AID,
    pub master_shunter: SovereignShunter,
    pub radiant_registry: HashMap<AID, CertificationStatus>,
    pub audit_history_map: HashMap<AID, Vec<AuditRecord>>,
    pub verification_latency_target_ns: u128,
    pub bootstrap_ns_128: u128,
    pub current_homeostasis: HomeostasisScore,
}
Expand description

The IQA-ORG Core Controller. Responsible for issuing and verifying Radiant Seals based on 128-bit evidence. It acts as the “Source of Truth” for the entire application layer.

Fields§

§authority_node_aid: AID§master_shunter: SovereignShunter§radiant_registry: HashMap<AID, CertificationStatus>§audit_history_map: HashMap<AID, Vec<AuditRecord>>§verification_latency_target_ns: u128§bootstrap_ns_128: u128§current_homeostasis: HomeostasisScore

Implementations§

Source§

impl CertificationAuthority

Source

pub fn new(authority_aid: AID, is_radiant: bool) -> Self

Creates a new Radiant Authority instance v1.2.3. Triggers the Imperial Gravity Well audit immediately.

Source

pub async fn verify_radiant_standing_128( &mut self, target_aid: AID, ) -> CertificationStatus

RFC-009: Verify Radiant Standing Checks if a target node possesses a valid and active Radiant status. Non-verified nodes are physically throttled by the 10ms “Seal Verification Tax”.

Source

pub fn issue_radiant_seal_128( &mut self, proof: QualityProof, ) -> Result<(), String>

RFC-009: Issue Radiant Seal Grants Radiant status to a node that has provided a valid QualityProof.

Source

pub fn execute_metabolic_audit_128(&mut self, target: AID, jitter_ns: u128)

Trait Implementations§

Source§

impl SovereignLifeform for CertificationAuthority

Source§

fn execute_metabolic_pulse(&self)

RFC-009 Metabolic Pulse Displays the authority node status and the RFC-014 PICSI Resonance.

Source§

fn get_aid(&self) -> AID

Source§

fn get_homeostasis(&self) -> HomeostasisScore

Source§

fn evolve_genome(&mut self, mutation_data: &[u8])

Source§

fn report_uptime_ns(&self) -> u128

Source§

impl SovereignTrust for CertificationAuthority

Source§

fn report_authority_homeostasis(&self) -> HomeostasisScore

REPAIRED: Corrected field name to entropy_tax_rate to match RFC-000.

Source§

fn generate_vitality_proof_128(&self) -> QualityProof

Source§

fn evaluate_staking_power_f64(&self, _aid: AID) -> f64

Source§

fn revoke_imperial_authority(&mut self, target: AID)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.