Skip to main content

validate_graph

Function validate_graph 

Source
pub fn validate_graph(
    edges: &[EdgeRecord],
    nodes: &NodeSet,
    limits: &Limits,
) -> Result<ValidatedGraph, ProofError>
Expand description

Validate edge topology:

  1. counts within limits; 2. endpoints + refs resolve; 3. trust-relevant edges grounded; 4. SUPERSEDES subgraph linear, acyclic, depth-bounded.