loop/sweepbatcher
Boris Nagaev 1036214160
sweepbatcher: add an option to ignore HTLC txids
Added option WithSkippedTxns, which has one historical problematic tx by default.
Sweeps originating from these transactions are omitted when reading from DB.

loopdb: add column sweep_batches.cancelled and replaced DropBatch with
CancelBatch. It is needed, because sweep.batch_id is a foreign key to batch.

Changed StoreMock.InsertSweepBatch not to reuse batch_id. This is needed by
the test, which checks that new batch has fresh ID.
2025-06-17 14:47:49 -03:00
..
greedy_batch_selection.go sweepbatcher: allow adding groups of inputs 2025-04-03 09:49:46 -03:00
greedy_batch_selection_test.go sweepbatcher: allow adding groups of inputs 2025-04-03 09:49:46 -03:00
log.go sweepbatcher: add mode with presigned transactions 2025-05-08 17:24:10 -03:00
presigned.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
presigned_test.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
store.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
store_mock.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
sweep_batch.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
sweep_batch_test.go sweepbatcher: fix rounding in constructUnsignedTx 2025-05-08 17:24:10 -03:00
sweep_batcher.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
sweep_batcher_presigned_test.go sweepbatcher: add mode with presigned transactions 2025-05-08 17:24:10 -03:00
sweep_batcher_test.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00