Skip to main content

Module leaf_fetcher_network

Module leaf_fetcher_network 

Source
Expand description

Network surface used by the test Leaf2Fetcher to send catchup request/response messages. Decoupled from ConnectedNetwork so the new-protocol can route through its Coordinator instead of holding a second handle to the network.

Structs§

ConnectedNetworkLeafFetcher
Adapter that satisfies LeafFetcherNetwork by sending direct messages over a ConnectedNetwork handle. Used by the old-protocol test infra where the membership owns a clone of the network.

Traits§

LeafFetcherNetwork
Operations the test Leaf2Fetcher needs to drive epoch catchup.