lnd/blockcache
Michael Street 46444d9154
blockcache: fix datarace in blockcache_test
mockChainBackend simulates a chain backend and
tracks the number of calls via a private property
called chainCallCount.  This commit uses a write
mutex instead of read mutex in the call to GetBlock,
adds a getter method to access chainCallCount
with a read mutex and uses a write mutex in
resetChainCallCount.
2022-10-13 10:32:27 -04:00
..
blockcache_test.go blockcache: fix datarace in blockcache_test 2022-10-13 10:32:27 -04:00
blockcache.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00