paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

sc-network: Improve invalid boot node reporting #14455

Closed bkchr closed 1 year ago

bkchr commented 1 year ago

This improves the reporting of invalid boot nodes. First, it will only report each boot node once as invalid and not every time we try to connect to the node. Second, the node will only report for addresses that we added as startup and not for addresses of the boot node that the node learned from other nodes.

Closes: https://github.com/paritytech/substrate/issues/13584 Closes: https://github.com/paritytech/polkadot/issues/7385

Maharacha commented 1 year ago

This is highly appreciated! :+1: