mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 09:50:08 +01:00
bcd50ea838
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. |
||
---|---|---|
.. | ||
addrmanager_internal_test.go | ||
addrmanager_test.go | ||
addrmanager.go | ||
cov_report.sh | ||
doc.go | ||
internal_test.go | ||
knownaddress_test.go | ||
knownaddress.go | ||
log.go | ||
network_test.go | ||
network.go | ||
test_coverage.txt |