mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-12-13 03:08:49 +00:00
- Updated DefaultBootstrapPeers function to prioritize environment variable settings for bootstrap peers, allowing for dynamic configuration. - Added tests to ensure non-empty default bootstrap peers and validate the correct handling of bootstrap peer configurations. - Introduced a helper function to generate valid configurations for different node types, improving test clarity and maintainability. - Enhanced the isPrivateOrLocalHost function to properly handle IPv6 addresses, ensuring accurate host validation.