mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-18 19:17:51 +01:00
Kademlia: Initial bucket refresh implementation. This might be improved down the road.
This commit is contained in:
@@ -98,7 +98,7 @@ func (peer *rootPeer) contact() {
|
||||
contactArbitraryPeer(peer.publicKey, peer.addresses)
|
||||
}
|
||||
|
||||
// bootstrap connects to the initial set of peers. It will also start the routine for ongoing sending of multicast/broadcast messages.
|
||||
// bootstrap connects to the initial set of peers.
|
||||
func bootstrap() {
|
||||
if len(rootPeers) == 0 {
|
||||
log.Printf("bootstrap warning: Empty list of root peers. Connectivity relies on local peer discovery and incoming connections.\n")
|
||||
|
||||
Reference in New Issue
Block a user