Module zebra_network::peer::client

source ·
Expand description

Handles outbound requests from our node to the network.

Modules§

  • Tests for the Client part of peer connections, and some test utilities for mocking Client instances.

Structs§

  • A signal sent by the Client half of a peer connection, to cancel a Client’s heartbeat task.
  • The “client” duplex half of a peer connection.
  • A message from the peer::Client to the peer::Server.
  • A receiver for the peer::Server, which wraps a mpsc::Receiver, converting ClientRequests into InProgressClientRequests.
  • A message from the peer::Client to the peer::Server, after it has been received by the peer::Server.
  • Forwards missing inventory in the response to the inventory registry.
  • A oneshot::Sender for client responses, that must be used by calling send(). Also handles forwarding missing inventory to the inventory registry.