lbcd/addrmgr
Jonathan Chappelow a148fa797a addrmgr: make KnownAddress methods thread-safe
This gives KnownAddress a sync.RWMutex so the exported methods may
safely access the na (*wire.NetAddress) and lastattempt fields.
The AddrManager is updated to lock the new KnownAddress mutex before
assigning to na or lastattempt.
The other KnownAddress fields are only accessed by AddrManager, using
its own Mutex for synchronization.
2021-10-26 09:55:49 -04:00
..
addrmanager.go addrmgr: make KnownAddress methods thread-safe 2021-10-26 09:55:49 -04: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: make KnownAddress methods thread-safe 2021-10-26 09:55:49 -04: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