lnd/discovery
yyforyongyu b73cfc5998
discovery: split sendBatch into local and remote
This commit refactors the method `sendBatch` into `sendLocalBatch` and
`sendRemoteBatch` for clarity. The batch size calculation is also moved
into `splitAnnouncementBatches`.
2023-02-17 14:10:10 +08:00
..
bootstrapper.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
chan_series.go discovery: adhere to proper channel chunk splitting for ReplyChannelRange 2020-12-08 15:18:07 -08:00
gossiper_test.go discovery: split sendBatch into local and remote 2023-02-17 14:10:10 +08:00
gossiper.go discovery: split sendBatch into local and remote 2023-02-17 14:10:10 +08: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: move all channelstate operations to ChannelStateDB 2021-09-29 17:00:03 +02: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+peer: add logs to reveal shutdown flow 2022-12-08 17:57:01 +08:00