github 0xPolygon/bor v2.11.2

one hour ago

v2.11.2 improves peer connection management and peer activity visibility. It also includes a sequence-store block production fix and dependency updates. This promotes the code tested in v2.11.2-beta3 to stable.

Highlights

  • Silent peer cleanup: removes peers that remain silent when connection capacity is under pressure. Defaults are 75% occupancy, a 10-minute grace period, at most one removal per minute and a 5-minute reconnect cooldown. Static and trusted peers are protected. These settings are configurable under [p2p].
  • Request-only peer cleanup: extends rotation to eligible inbound peers that only request data when inbound connections have been refused for lack of capacity. Recent useful contributions protect a peer for 30 minutes. This shares the silent-peer removal budget and cooldown.
  • Peer reputation visibility: exposes activity and scores through admin_peers, aggregate metrics and score-transition logs. Per-peer metrics are disabled by default. Abuse scores remain observational; connection cleanup uses the separate activity policy.
  • Fork compatibility: future Bor hardforks participate in the ETH fork ID while preserving compatibility for forks already known to released binaries.
  • Sequence-store producers: avoids rebuilding a producer's own block when the store has acknowledged an entry but its read path has not yet applied it.
  • Dependencies: Go 1.26.11 and klauspost/compress v1.20.2.

Operator notes

Peer cleanup is enabled by default. Keep required operator connections configured as static or trusted peers.

To increase the grace period from the default 10 minutes to 20 minutes update the existing [p2p] section:

[p2p]
peer-idle-grace-period = "20m"

To disable peer cleanup instead:

[p2p]
peer-idle-eviction = false

These changes are optional. Operators already running beta3 can upgrade to this stable release without changing their configuration.

Included changes

  • Peer reputation observation: #2469
  • Future Bor fork IDs: #2548
  • Silent peer rotation: #2550
  • Request-only rotation and recent contributor protection: #2553
  • Sequence-store producer fix: #2554
  • Go and compression dependency updates: #2538 and #2532

Full Changelog: v2.11.1...v2.11.2

Don't miss a new bor release

NewReleases is sending notifications on new releases.