-
Class Summary
| Class |
Description |
| ReseedBundler |
Copy a random selection of 'count' router infos from configDir/netDb
to 'toDir'.
|
| ReseedChecker |
Checks whether reseeding of the network database is necessary and initiates reseed requests.
|
| Reseeder |
Moved from ReseedHandler in routerconsole.
|
Package net.i2p.router.networkdb.reseed Description
Router reseeding functionality for bootstrapping into the I2P network.
This package provides comprehensive reseeding functionality that allows new routers to discover and connect to the I2P network. Reseeding is essential for new installations or routers that have lost their network references. The package supports multiple reseeding methods and formats to ensure reliable network bootstrap.
Key Components:
- Reseeder - Main reseeding coordinator and manager
- ReseedChecker - Validates and verifies reseed data integrity
- ReseedBundler - Handles bundling and packaging of reseed data
Main Functionality:
- Fetching router information from multiple sources
- Validation of signed SU3 files and unsigned ZIP files
- Processing of web indexes and router lists
- HTTP and HTTPS download support from clearnet
- Local file loading for offline reseeding
- Automatic reseeding on first installation
- Triggered reseeding when peer count falls below minimum
- User-initiated manual reseeding
- Status feedback and progress reporting via router console
Usage Notes:
- Essential for new router installations
- Supports both automatic and manual reseeding
- Provides multiple fallback mechanisms for reliability
- Includes security validation for all reseed data
- Integrates with router console for user feedback