Skip to content

nictuku/dht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fd1c1dd · Dec 26, 2020
Apr 24, 2019
Mar 3, 2013
Apr 24, 2019
Nov 9, 2012
Dec 26, 2020
Mar 10, 2013
Nov 9, 2012
May 12, 2020
Dec 16, 2015
Apr 24, 2019
Apr 24, 2019
Jan 24, 2019
Nov 17, 2012
Nov 6, 2018
Jan 24, 2019
May 12, 2020
Mar 23, 2014
Jan 24, 2019
Jan 24, 2019
Jan 25, 2015
Dec 24, 2013

Repository files navigation

This is a golang Kademlia/Bittorrent DHT library that implements BEP 5.

It's typically used by a torrent client such as Taipei-Torrent, but it could also be used by a standalone DHT routers, or for other more creative purposes.

The DHT performs well and supports the most important features despite its simple API.

A multi-node deployment is able to process more than 5000 incoming packets per second in a single core of a very old AMD Athlon(tm) 64 Processor 3700+, when the optional rate-limiting feature is disabled.

Performance stats

By default, if left running for several days the DHT node should use approx. 30MB of RAM. This can be adjusted by changing MaxInfoHashes and MaxInfoHashPeers accordingly.

For usage details, see the online documentation at: http://godoc.org/github.com/nictuku/dht

A full example is at: find_infohash_and_wait

About

Kademlia/Mainline DHT node in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages