Specifications of network protocols and implementations of components running these protocols which support a family of Ouroboros Consesus protocols; the diffusion layer of the Cardano Node.
Note: in case of rethrowPolicy it's not enough to extend it, we also need to use it in PeerStateActions and Server so both requestOutboundConnection (which might call connect) and accept are handled.
Our current
RethrowPolicy
(for P2P) andErrorPolicy
(non-P2P, bothremoteNetworkErrorPolicy
andlocalErrorPolicy
) will only shutdown the peer that exceeded the file descriptor limit.