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.
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
[x] Commit sequence makes sense and have useful messages, see ref.
[ ] New tests are added and existing tests are updated.
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
ouroboros-network
project.