lnd/discovery
Olaoluwa Osuntokun a7d6826f60
multimutex: remove HashMutex, make Mutex type a type param
In this commit, we eliminate some code duplication by removing the old
`HashMutex` struct as it just duplicates all the code with a different
type (uint64 and hash). We then make the main Mutex struct take a type
param, so the key can be parametrized when the struct is instantiated.
2023-06-01 17:39:49 -07:00
..
bootstrapper.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
chan_series.go discovery: skip non-maxHTLC updates in gossip sync 2023-02-21 14:03:51 +01:00
gossiper_test.go multi/refactor: separate methods for get and set node announcement 2023-05-04 10:35:42 -04:00
gossiper.go multimutex: remove HashMutex, make Mutex type a type param 2023-06-01 17:39:49 -07:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
message_store_test.go discovery: use T.TempDir to create temporary test directory 2022-08-24 08:58:16 +08:00
message_store.go multi: add more trace logs regarding link activate flow 2023-03-21 10:18:49 +07:00
mock_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
reliable_sender_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
reliable_sender.go discovery+peer: add logs to reveal shutdown flow 2022-12-08 17:57:01 +08:00
sync_manager_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
sync_manager.go discovery+peer: add logs to reveal shutdown flow 2022-12-08 17:57:01 +08:00
syncer_test.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
syncer.go discovery+server: add more trace log 2023-03-08 21:02:53 +08:00