JavaScript connection manager for libp2p.
Features
- The ConnectionManager is responsible for managing the peers to which the current node is connected
- The application using ConnectionManager can set various limits, and if these limits are exceeded, the ConnectionManager will trigger the disconnection of peers
- When the limits are reached, the ConnectionManager will start disconnecting peers, starting from the least important ones
- By default, all peers have the same importance (1), but the application can define custom importance values for peers
- The ConnectionManager constructor can accept an optional options object
- Creation of ConnectionManager
Categories
File SharingLicense
MIT LicenseFollow libp2p-connection-manager
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of libp2p-connection-manager!