Skip to main content

protocols_intersection

Function protocols_intersection 

Source
fn protocols_intersection(
    our_protocols: &HashMap<ProtocolID, ProtocolMeta>,
    their_protocols: &HashMap<String, VersionInt>,
) -> Vec<ProtocolID> 
Expand description

Compute the intersection of protocols both sides support with compatible versions. Returns the list of shared protocol IDs.