IntersectMBO / ouroboros-network

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.

Home Page:https://ouroboros-network.cardano.intersectmbo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't use retry as a missing value in P2P

coot opened this issue · comments

Here we pass retry as a substitution for a missing action. It would be more sensible to pass Maybe (STM ...) and let the layer below decide what to do when the action is not given.