Skip to main content

xor_distance

Function xor_distance 

Source
pub fn xor_distance(a: &NodeId, b: &NodeId) -> [u8; 32]
Expand description

Bytewise XOR distance between two NodeIds. Thin wrapper over xor_distance_bytes for the common same-domain case.