btdht icon indicating copy to clipboard operation
btdht copied to clipboard

Standalone bittorrent DHT library for rust

Results 6 btdht issues
Sort by recently updated
recently updated
newest added

The problematic code is [this](https://github.com/equalitie/btdht/blob/4b8dc478e3e5f011a45b8f50c424519019f7b70d/src/action/bootstrap.rs#L153-L193). And the problem is that it can take a long time to contact all those nodes and once the code leaves the function to start...

There is an extension that suggests how to derive these IDs based on the IP address http://bittorrent.org/beps/bep_0042.html Not implementing it may: * have us ignored by BT nodes that check...

The [BEP5 specification](https://www.bittorrent.org/beps/bep_0005.html) says they should be sent whenever we want to replace a node in a bucket: > If there are any questionable nodes in the bucket have not...

The [Kademlia paper](https://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf) says in the chapter "2.3 Kademlia protocol" second-to-last chapter: > Buckets are generally kept fresh by the traffic or requests traveling through nodes. To handle pathological cases...

The [spec](https://www.bittorrent.org/beps/bep_0032.html) says: > A node obeying this specification must not send UDP datagrams with a payload larger than 1024 octets, We need to calculate the maximum number of `values`...

Spec: https://www.bittorrent.org/beps/bep_0011.html