Function kitsune_p2p_dht::test_utils::gossip_direct
source · pub fn gossip_direct<Peer: HostAccessTest>(
(left, time_left): (&mut Peer, TimeQuantum),
(right, time_right): (&mut Peer, TimeQuantum)
) -> GossipResult<TestNodeGossipRoundInfo>
Expand description
Quick ’n dirty simulation of a gossip round. Mutates both nodes as if they were exchanging gossip messages, without the rigmarole of a real protocol