Kademlia: Initial bucket refresh implementation. This might be improved down the road.

This commit is contained in:
Kleissner
2021-04-25 04:22:10 +02:00
parent 611dfa3b1c
commit f13695709f
7 changed files with 77 additions and 15 deletions

View File

@@ -83,6 +83,8 @@ The Private Key is required to make any changes to the user's blockchain, includ
* Check every 10 seconds for new/removed network interfaces and for new/removed IPs.
* Automatically listen on any newly detected network interfaces and IPs.
* Start a full Kademlia bucket refresh in case of a new network interface or IP.
* Kademlia bootstrap:
* As soon as there are at least 2 peers, keep refreshing buckets (target number is alpha) every 10 seconds 3 times.
### Ping