Merge pull request #5255 from IntersectMBO/coot/peer-selection-test-failure
Peer Selection: fixed local root test failure
Peer Selection: fixed local root test failure
We don't need to split established peers into non-big ledger peers & big ledger peers.
When counting promotion opportunities, we should subtract ongoing promotions, so we don't get false positives while the governor is trying to promote a local peer.
mux: handling trailing bytes
More robust wireshark dissector
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: coot <[email protected]>
Co-authored-by: coot <[email protected]>
Co-authored-by: coot <[email protected]>
docs: fixed broken link
This fixes a bug in network-mux, where trailing bytes are assembled out of order. This bug is not executable on cardano, since there for any mini-protocol the initiator side sends the initial message. It only affects the process of restarting a mini-protocol on an established connection. The commit includes a test which exhibits this behaviour in an artificial way.
This ensures that cache is populated for feature branches.
Make sure that we can reliably decode mux headers even if the span multiple tcp segments.
Enforce a maximum limit on the number of times we will attempt to promote a peer to warm. Localroot peers, bootstrap relays and manually configured public root peers are exempt from this limit.
Enforce a maximum limit on the number of times we will attempt to promote a peer to warm. Localroot peers, bootstrap relays and manually configured public root peers are exempt from this limit.