LiskArchive / lisk-engine

:bullettrain_front: Lisk blockchain engine
https://lisk.com
Apache License 2.0
0 stars 0 forks source link

Peer searching improvements #64

Closed matjazv closed 1 year ago

matjazv commented 1 year ago

What was the problem?

This PR resolves #47.

How was it solved?

How was it tested?

matjazv commented 1 year ago

I have moved BlacklistedPeers() to peer.go because I see it there to be more appropriate place for it.

I have also removed some checks from peer.Connect() function because connectionGater handles all that.