MyHush / hush3

Hush: Speak And Transact Freely
https://myhush.org
Other
15 stars 13 forks source link

p2p: Port asmap stuff from KMD upstream #124

Open leto opened 4 years ago

leto commented 4 years ago

Currently it's on the dev branch. It's not a consensus change and it's an optional feature that defaults to OFF. Probably a good idea to put it in the upcoming 3.5.0 mandatory release.

It improves defenses against attacks where malicious nodes spawn up in different Class B IP address ranges, by tracking Autonomous System Numbers (ASNs).

This was originally done in BTC and ported to KMD by Decker:

https://github.com/KomodoPlatform/komodo/pull/366 https://github.com/bitcoin/bitcoin/pull/16702 https://www.coindesk.com/latest-bitcoin-core-code-release-protects-against-nation-state-attacks

leto commented 4 years ago

This is not ready for 3.5.0, hopefully it will be in our next release. Seems like it is still undergoing testing in KMD as well

leto commented 4 years ago

2500 HUSH bounty