celestiaorg / go-header

Go library with all the services needed to request, sync and store blockchain headers.
Apache License 2.0
19 stars 18 forks source link

misc(p2p/peerTracker): peerTracker improvement #160

Open vgonkivs opened 7 months ago

vgonkivs commented 7 months ago

Last week we discussed with @Wondertan ways to improve the peer tracker:

Wondertan commented 7 months ago

To finish off this, we would need to add test that ensures we can get valid headers from a single honest peers, when other hundred is malicious.

vgonkivs commented 7 months ago

Agree. This test case will be added in scope of the pr