Class ReseedBundler


  • public class ReseedBundler
    extends Object
    Copy a random selection of 'count' router infos from configDir/netDb to 'toDir'. Skip your own router info, and old, hidden, unreachable, and introduced routers, and those from bad countries. Much easier than the one in installer/tools since we have a running router. Caller must delete file when done.
    Since:
    0.9.19 modified from BundleRouterInfos in installer/tools, moved from routerconsole to net.i2p.router.networkdb.reseed in 0.9.34
    • Constructor Detail

    • Method Detail

      • createZip

        public File createZip​(int count)
                       throws IOException
        Create a zip file with a random selection of 'count' router infos from configDir/netDb to 'toDir'. Skip your own router info, and old, hidden, unreachable, and introduced routers, and those from bad countries. The file will be in the temp directory. Caller must move or delete.
        Throws:
        IOException