| Package | Description |
|---|---|
| org.klomp.snark | I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced to add a web UI, DHT support, and other features. |
| org.klomp.snark.dht | Distributed Hash Table (DHT) implementation for BitTorrent. |
| Modifier and Type | Method and Description |
|---|---|
TorrentKRPC | TorrentDest.getDHT(KRPC shared)Lazily create the DHT instance on this destination's session, sharing the main
instance's routing table, tracker, and blacklist, serving tracker queries only for
the torrents assigned here. |
| Modifier and Type | Class and Description |
|---|---|
class | TorrentKRPCA DHT instance for one or more torrents on a shared transient I2P session and
destination. |
| Modifier and Type | Method and Description |
|---|---|
static void | PersistDHT.loadDHT(KRPC krpc,
File file)Load the DHT from a single file. |
static void | PersistDHT.loadDHT(KRPC krpc,
File file,
File backupFile)Load the DHT from file, trying the backup if the primary doesn't exist. |
| Constructor and Description |
|---|
KRPC(I2PAppContext ctx,
String baseName,
I2PSession session,
KRPC shared)Create the DHT instance sharing state. |
TorrentKRPC(I2PAppContext ctx,
KRPC shared,
I2PSession session,
Collection<InfoHash> ihs)Create a DHT instance on a torrent's transient destination. |