mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-02-10 19:06:36 +00:00
Previous version was very conservative about adding nodes to the routing table, requiring a full request/response message exchange initiated by us. Here we also add the node as 'seen' if the whoareyou/handshake exchange was successful. This significantly speeds up bootstreap from 0 Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>