lnd/contractcourt
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
..
testdata/rapid/TestHtlcAuxBlobEncodeDecode contractcourt: add HtlcBlobs to taprootBriefcase 2024-11-14 16:09:58 -08:00
anchor_resolver.go sweep: remove unused param Fee 2024-04-23 04:44:00 +08:00
breach_arbitrator.go contractcourt: use graphdb outpoint helpers 2024-11-28 13:34:08 +02:00
breach_arbitrator_test.go contractcourt: integration aux sweeper to breach arb 2024-10-02 18:10:03 -07:00
breach_resolver.go contractcourt: make sure sweep happens immediately on startup 2024-04-19 21:33:39 +08:00
briefcase.go contractcourt: update encode/decode for taproot aux data 2024-11-14 16:09:58 -08:00
briefcase_test.go contractcourt: introduce option for commitKey. 2024-11-07 22:40:53 +01:00
chain_arbitrator.go multi: remove kvdb.Tx from ChannelGraphSource.ForAllOutgoingChannels 2024-11-28 13:49:41 +02:00
chain_arbitrator_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
chain_watcher.go multi: introduce an option for resolutions 2024-11-20 09:18:24 +01:00
chain_watcher_test.go multi: introduce an option for resolutions 2024-11-20 09:18:24 +01:00
channel_arbitrator.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
channel_arbitrator_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
commit_sweep_resolver.go contractcourt: fix doc of commitSweepResolver 2024-10-11 10:00:42 -03:00
commit_sweep_resolver_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
config.go contractcourt: specify deadline and budget for commit sweep 2024-04-19 21:33:33 +08:00
config_test.go contractcourt: specify deadline and budget for commit sweep 2024-04-19 21:33:33 +08:00
contract_resolver.go multi: remove PrefixLog 2024-11-27 10:44:32 +02:00
htlc_incoming_contest_resolver.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
htlc_incoming_contest_resolver_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
htlc_lease_resolver.go contractcourt: pass in new aux resolution blob to sweeper in resolvers 2024-11-14 16:09:58 -08:00
htlc_outgoing_contest_resolver.go contractcourt: pass in new aux resolution blob to sweeper in resolvers 2024-11-14 16:09:58 -08:00
htlc_outgoing_contest_resolver_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
htlc_success_resolver.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
htlc_success_resolver_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
htlc_timeout_resolver.go contractcourt: pass in new aux resolution blob to sweeper in resolvers 2024-11-14 16:09:58 -08:00
htlc_timeout_resolver_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
interfaces.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
mock_htlcnotifier_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
mock_registry_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
nursery_store.go contractcourt: use graphdb outpoint helpers 2024-11-28 13:34:08 +02:00
nursery_store_test.go multi: add new build tag integration 2023-02-23 21:56:09 +08:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
taproot_briefcase.go contractcourt: add HtlcBlobs to taprootBriefcase 2024-11-14 16:09:58 -08:00
taproot_briefcase_test.go contractcourt: add HtlcBlobs to taprootBriefcase 2024-11-14 16:09:58 -08:00
utils_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
utxonursery.go contractcourt: use graphdb outpoint helpers 2024-11-28 13:34:08 +02:00
utxonursery_test.go contractcourt: specify deadline and budget for nursery 2024-04-19 21:33:34 +08:00