lnd.xprv/routing/chainview
Conner Fromknecht 0f6bc3538d
routing/chainview/btcd: improve filterMtx locking
In this commit, we modify the granularity of the locking
around the filterMtx in the btcd chainview, such that we
only lock once per block connected or filter update.
Currently, we acquire and release the lock for every
update to the map.

We also fix a bug that would cause us to not fully remove
all previous outpoints spent by a txn when doing manual
filter, as we previously would only remove the first output
detected.
2018-07-06 19:08:17 -07:00
..
bitcoind.go multi: 64bit aligment of atomic vars on arm/x86-32 2018-06-04 20:02:34 -07:00
btcd.go routing/chainview/btcd: improve filterMtx locking 2018-07-06 19:08:17 -07:00
interface_test.go multi: comprehensive typo fixes across all packages 2018-02-06 19:11:11 -08:00
interface.go multi: fix typos in comments 2018-04-17 19:03:27 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
neutrino.go multi: 64bit aligment of atomic vars on arm/x86-32 2018-06-04 20:02:34 -07:00
queue.go multi: comprehensive typo fixes across all packages 2018-02-06 19:11:11 -08:00