Skip to main content

race_partners

Function race_partners 

Source
fn race_partners(
    minted: &[HoprSurbId],
    return_relayers: &[[Option<OffchainPublicKey>; 5]],
) -> Vec<Option<HoprSurbId>>
Expand description

The SURB each one races: its neighbour in mint order (first with second, third with fourth), when both return over relayers and not over the same ones.