With about ~5000 full nodes, and given that this number will probably never grow too much (say, >1000000 full nodes is extremely inefficient and unlikely), then what is the point of using a Kademlia-like routing strategias? As far as I understand, for that scale just storing all nodes in all nodes is much simpler to program, and more efficient as messages can be sent in one hop from anyone to anyone.

  • Bitcoin does not use or need Kademlia or any other DHT scheme. It uses a gossip protocol that just floods all information to every node. Where does this question come from? – Pieter Wuille Feb 1 '17 at 17:48
  • 1
    Oh, thank you very much for this information, @PieterWuille. I guess I was misinformed. It is very hard to find information regarding how Bitcoin's network works. Do all nodes keep track of every other node? Do you suggest any resource? – MaiaVictor Feb 3 '17 at 0:01
  • Nodes just connect to a bunch of random other nodes (typically 8), and announce new transactions and blocks to each other. Security depends on being connected to at least one honest node. – Pieter Wuille Feb 3 '17 at 3:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.