Sigil documentation
ReferenceRust referencesigil-state

sigil-state · dao_validators::cascade_revoke

Source declarations, signatures and documentation for dao_validators::cascade_revoke.

Source: sigil/node/sigil-state/src/dao_validators/cascade_revoke.rs. SHA-256: 4019c45d04c02e383647abac0c06c716c77b36c54e8092717f0b2cac730e9f69.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

Module condition:

#[cfg(any(feature = "dao-validators", test))]

dao_validators::cascade_revoke::validate_cascade_revoke

Validate the issuance and effect of a cascade revocation.

descendant_did_chain is the already-resolved lineage chain for the claimed descendant (from LineageSection.human_root_chain — ordered from the descendant's immediate parent up to the terminal root). When the descendant DID is the revocation subject itself, the chain may be empty.

For Single revocations the chain is unused (no descendants are implicated by the record itself).

#[cfg(any(feature = "dao-validators", test))]
pub fn validate_cascade_revoke(
    snapshot: &GalSnapshot,
    record: &RevocationRecord,
    descendant_did: &str,
    descendant_did_chain: &[String],
) -> Result<(), DaoValidatorError>;

Source line: 41.

On this page