Skip to content

Instantly share code, notes, and snippets.

View raspher's full-sized avatar

Szymon Scholz raspher

  • Storware
  • Poland
  • 11:19 (UTC +02:00)
View GitHub Profile
@e7d
e7d / remove-obsolete-gpg-key-from-dnf.md
Last active September 18, 2024 11:21
Remove obsolete GPG key from DNF (Fedora)
@gubatron
gubatron / dht-walkthrough.md
Last active June 24, 2024 01:05
DHT walkthrough notes

DHT Walkthrough Notes

I've put together these notes as I read about DHT's in depth and then learned how the libtorrent implementation based on the Kademlia paper actually works.

What problem does this solve?

400,000,000,000 (400 billion stars), that's a 4 followed by 11 zeros. The number of atoms in the universe is estimated to be around 10^82. A DHT with keys of 160 bits, can have 2^160 possible numbers, which is around 10^48