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.
https://ouroboros-network.cardano.intersectmbo.org
Apache License 2.0
276 stars 86 forks source link

OutboundConnectionsState logic for Genesis #4921

Closed crocodile-dentist closed 3 months ago

crocodile-dentist commented 3 months ago

Description

This change supplements OutboundConnectionsState with Genesis logic to signal to consensus current trust state. A separate configuration parameter is provided from node configuration which sets the floor with how many big ledger peers we have to maintain active connection to before we can move to a trusted state. This is done in anticipation of a change or an option of withholding from promoting a big ledger peer for some time following a demotion due to underperformance to guard against a potential slow down attack vector.

Some additional renaming in configuration module to maintain consistency with recent related PR's.

Checklist

Quality

Maintenance