Module zebra_network::peer::client
source · Expand description
Handles outbound requests from our node to the network.
Modules§
Structs§
- The “client” duplex half of a peer connection.
- A message from the
peer::Client
to thepeer::Server
. - A receiver for the
peer::Server
, which wraps ampsc::Receiver
, convertingClientRequest
s intoInProgressClientRequest
s. - A message from the
peer::Client
to thepeer::Server
, after it has been received by thepeer::Server
. - Forwards missing inventory in the response to the inventory registry.
- A
oneshot::Sender
for client responses, that must be used by callingsend()
. Also handles forwarding missing inventory to the inventory registry.