package tezos-requester

  1. Overview
  2. Docs

Requests abstracts a service used to send asynchronous key requests to peers.

type key
type param

param represents the state/configuration of the service.

val initial_delay : Tezos_base.Time.System.Span.t

initial_delay is a service configuration time constant. Typically, used to set up a retry time interval.

active param returns a set of active peers. For instance in order to broadcast a query to a set of peers.

val send : param -> Tezos_base.P2p_peer.Id.t -> key list -> unit

send param peer_id kl queries peer with id peer_id for the values associated with the keys in kl.