lnd/discovery
Elle Mouton adcaa8802f
multi: remove kvdb.Tx from ChannelGraphSource.ForAllOutgoingChannels
and the same for ChannelStateDB.FetchChannel. Most of the calls to these
methods provide a `nil` Tx anyways. The only place that currently
provides a non-nil tx is in the `localchans.Manager`. It takes the
transaction provided to the `ForAllOutgoingChannels` callback and passes
it to it's `updateEdge` method. Note, however, that the
`ForAllOutgoingChannels` call is a call to the graph db and the call to
`updateEdge` is a call to the `ChannelStateDB`. There is no reason that
these two calls need to happen under the same transaction as they are
reading from two completely disjoint databases. And so in the effort to
completely split untangle the relationship between the two databases, we
now dont use the same transaction for these two calls.
2024-11-28 13:49:41 +02:00
..
ban.go discovery: add banman for channel announcements 2024-08-27 14:11:06 -04:00
ban_test.go discovery: add banman for channel announcements 2024-08-27 14:11:06 -04:00
bootstrapper.go multi: add SpewLogClosure to avoid code repetition 2024-07-25 22:18:49 +08:00
chan_series.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
gossiper.go multi: remove kvdb.Tx from ChannelGraphSource.ForAllOutgoingChannels 2024-11-28 13:49:41 +02:00
gossiper_test.go multi: remove kvdb.Tx from ChannelGraphSource.ForAllOutgoingChannels 2024-11-28 13:49:41 +02:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
message_store.go multi: rename ChannelUpdate to ChannelUpdate1 2024-09-18 16:13:17 +02:00
message_store_test.go multi: rename ChannelUpdate to ChannelUpdate1 2024-09-18 16:13:17 +02:00
mock_test.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00
reliable_sender.go discovery+peer: add logs to reveal shutdown flow 2022-12-08 17:57:01 +08:00
reliable_sender_test.go multi: extend lnpeer.Peer interface with Disconnect function 2024-08-27 14:11:06 -04:00
sync_manager.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00
sync_manager_test.go multi: start asking for update timestamps in QueryChannelRange 2023-12-11 09:12:04 +02:00
syncer.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
syncer_test.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00