Package org.klomp.snark.dht

  • Interface Summary 
    Interface Description
    DHT
    Stub for KRPC
  • Class Summary 
    Class Description
    DHTNodes
    All the nodes we know about, stored as a mapping from node ID to a Destination and Port.
    DHTTracker
    The tracker stores peers, i.e.
    InfoHash
    A 20-byte SHA1 info hash
    KBTrimmer
    Removes an element older than 15 minutes, but only if the bucket hasn't changed in 5 minutes.
    KRPC
    Standard BEP 5 Mods for I2P:
    MsgID
    Used for both incoming and outgoing message IDs
    NID
    A 20-byte peer ID, used as a Map key in lots of places.
    NodeInfo  
    NodeInfoComparator
    Closest to a InfoHash or NID key.
    Peer
    A single peer for a single torrent.
    Peers
    All the peers for a single torrent
    PersistDHT
    Retrieve / Store the local DHT in a file
    Token
    Used for Both outgoing and incoming tokens
    TokenKey
    Used to index incoming Tokens
    Torrents
    All the torrents