Skip to content

Hubble's mainnet allowlist that maintains peerIDs allowed to connect to mainnet hubs

Notifications You must be signed in to change notification settings

farcasterxyz/allowlist-mainnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Hubble Mainnet Network Config

Configuration for Hubble instances to determine which peers to connect to and ignore. Instances update their configuration from the repo every hour on the top of the hour.

Adding Peers

To add a new peer, make a pull request to this repo adding the peer's PeerID to the allowedPeerIds array in networkConfig.js. Setting allowedPeerIds to undefined will allow anyone to connect to the node, while setting it to [] will block everyone.

Blocking Peers

To block a peer, make a pull request to this repo adding the peer's PeerID to the deniedPeerIds array in networkConfig.js. PeerIds in deniedPeerIds will be denied, even if they are also contained in allowedPeerIds.

Version Killswitch

To stop all nodes below a certain version in case of an emergency, set the minAppVersion in networkConfig.js to the minimum version you want to allow. This functionality will be deprecated after the mainnet contract launch.

About

Hubble's mainnet allowlist that maintains peerIDs allowed to connect to mainnet hubs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published