Skip to main content

admit_bundle

Function admit_bundle 

Source
pub fn admit_bundle(
    bundle: &Bundle,
    storage: &StorageConfig,
    now: u64,
) -> Result<AdmissionTrust>
Expand description

Admit a bundle under the configured trust policy, or for explicitly enabled unauthenticated demo serving. Configured trust always takes precedence.

Admission also enforces the supported serving profile regardless of trust mode: a correctly sealed delta or compressed bundle is inspectable but not servable.