Parameter Make.5-Io
val initiate_gossip : t -> node -> view -> view Lwt.t
initiate_gossip dst xchg
sendsxchg
entries tonode
and returns response
val respond_gossip : t -> node -> view -> unit Lwt.t
respond_gossip t src xchg
sendsxchg
entries in response tonode
val gossip_recvd : t -> node -> view -> view -> view Lwt.t
gossip_recvd t src recvd view
is called after entries are received during an exchange; allows rewritingrecvd
entries with the returned value, thus allows using a stream sampler such as URPS to provide uniformly random nodes instead of the possibly biased exchanged nodes