GitBulletin

Repository: farcasterxyz/hub-monorepo

**Strengthening the Digital Backbone: New Update Guarantees Minimum Peer Connections!**

2025-01-09 00:52:25 UTC

*A crucial fix in the Hubble application aims to enhance connectivity and stability, ensuring users stay linked in an ever-changing network landscape.*

Commit Details:

fix: Ensure we always have a minimum number of connected peers (#2462) ## Why is this change needed? In case the db didn't already have sufficient peers we wouldn't connect to enough peers because the autodial was disabled. ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [x] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the peer-to-peer connection management in the `hubble` application by ensuring a minimum number of connected peers and adding functionality to manage denied peers. ### Detailed summary - Updated `minConnections` from `0` to `7` in `connectionManager` for better connection stability. - Introduced `addDeniedPeer(peerId: string)` method in `connectionFilter.ts` to manage denied peers. - Added logic to prevent autodial reconnections for denied peers in `removePeerFromAddressBook`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar