lbcd/addrmgr
Wilmer Paulino bcd50ea838
addrmgr: store address' supported service bits
In this commit, we update the serialized version of the AddressManager
to also store each address' service bits. This allows an address'
service bits to be properly set when read from disk, which allows
external callers to reliably filter out addresses which do not support
their required services.

Since the service bits were not previously stored, the serialization
version needed to be bumped. A test has been added to test the behavior
of upgrading from version 1 to 2.
2019-02-06 13:33:18 -08:00
..
addrmanager.go addrmgr: store address' supported service bits 2019-02-06 13:33:18 -08:00
addrmanager_internal_test.go addrmgr: store address' supported service bits 2019-02-06 13:33:18 -08:00
addrmanager_test.go addrmgr: store address' supported service bits 2019-02-06 13:33:18 -08:00
cov_report.sh First round of address manager package refactor 2014-07-07 09:04:22 -05:00
doc.go Fix a ton of typos accumulated over time 2017-05-30 16:59:51 +02:00
internal_test.go Relicense to the btcsuite developers. 2015-05-01 12:00:56 -05:00
knownaddress.go addrmgr/knownaddress: expose an address' service bits 2019-02-06 13:33:11 -08:00
knownaddress_test.go wire: Treat NetAddress more like immutable 2016-12-06 20:48:02 +01:00
log.go Relicense to the btcsuite developers. 2015-05-01 12:00:56 -05:00
network.go Fix a ton of typos accumulated over time 2017-05-30 16:59:51 +02:00
network_test.go wire: Treat NetAddress more like immutable 2016-12-06 20:48:02 +01:00
test_coverage.txt Add more reserved IP space to address manager. 2014-12-16 13:02:39 -05:00