Closed matjazv closed 1 year ago
This PR resolves #47.
Bootstrap
peerbook
peer.go
libp2p
peerstore
Peer exchange
I have moved BlacklistedPeers() to peer.go because I see it there to be more appropriate place for it.
BlacklistedPeers()
I have also removed some checks from peer.Connect() function because connectionGater handles all that.
peer.Connect()
connectionGater
What was the problem?
This PR resolves #47.
How was it solved?
Bootstrap
was introduced which automatically connects to a seed peers if number of connections drop below configured number.peerbook
.peer.go
.libp2p
'speerstore
.Peer exchange
was enabled for all peers and not only for seed peers.How was it tested?