Skip to main content

connectivity_check

Function connectivity_check 

Source
pub fn connectivity_check(
    transaction: TransactionId,
    peering: &Peering,
    priority: Priority,
    role: RoleAttribute,
) -> Result<Vec<u8>, Error>
Expand description

A connectivity check to send to the peer (RFC 8445 §7.1, spec §11.1).

The attribute order is RFC 5769 §2.1’s own — PRIORITY, the role attribute, USERNAME — so that what this produces lines up with the published vector attribute for attribute. Nothing but the two integrity values has a normative position.