btcd/addrmgr
David Hill 0eef96e1c8 addrmgr: Always use a 50% chance between tried and new entries.
This change was suggested as Countermeasure 2 in
Eclipse Attacks on Bitcoin's Peer-to-Peer Network, Ethan
Heilman, Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive
Report 2015/263. March 2015.

This mimics Bitcoin Core commit c6a63ceeb4956933588995bcf01dc3095aaeb1fc
2015-04-14 12:28:45 -04:00
..
addrmanager_test.go addrmgr: Always use a 50% chance between tried and new entries. 2015-04-14 12:28:45 -04:00
addrmanager.go addrmgr: Always use a 50% chance between tried and new entries. 2015-04-14 12:28:45 -04:00
cov_report.sh First round of address manager package refactor 2014-07-07 09:04:22 -05:00
doc.go First round of address manager package refactor 2014-07-07 09:04:22 -05:00
knownaddress.go addrmgr: Do not bias toward fresh addresses. 2015-04-14 11:21:57 -04:00
log.go Update btclog import paths to new location. 2015-01-16 11:42:25 -06:00
network_test.go Update btcwire path import paths to new location. 2015-02-05 15:16:39 -06:00
network.go Update btcwire path import paths to new location. 2015-02-05 15:16:39 -06:00
test_coverage.txt Add more reserved IP space to address manager. 2014-12-16 13:02:39 -05:00