discv5
discv5 copied to clipboard
Add ban peer functionality
It would be nice that the app layer can communicate discv5 to consider some peers for some time. Check Lighthouse as impl reference
https://github.com/sigp/lighthouse/blob/e4b62139d7e2d5b0499648663af8de25b368f0bd/beacon_node/eth2_libp2p/src/discovery/mod.rs#L492