loop/loopdb/sqlc
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
..
migrations sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
queries sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
batch.sql.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
db.go loopdb: bump sqlc to 1.25.0 2024-03-20 13:57:11 +01:00
instantout.sql.go sqlc: remove trailing spaces in queries 2024-05-31 12:28:02 -03:00
liquidity_params.sql.go loopdb: bump sqlc to 1.25.0 2024-03-20 13:57:11 +01:00
migration_tracker.sql.go loopdb: add ability to track manual migrations 2024-06-03 14:54:18 +02:00
models.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
querier.go sweepbatcher: add an option to ignore HTLC txids 2025-06-17 14:47:49 -03:00
reservations.sql.go reservation: add protocol version 2025-04-30 14:23:47 +02:00
static_address_deposits.sql.go sqlc: withdrawal address for deposits 2024-12-12 18:31:04 +01:00
static_address_loopin.sql.go sqlc: loop-in tables and queries 2024-12-12 18:31:06 +01:00
static_address_withdrawals.sql.go loopdb: withdrawal table and queries 2025-06-03 12:57:10 +02:00
static_addresses.sql.go staticaddr: add initiation height of address 2024-12-12 18:31:10 +01:00
swaps.sql.go loopdb: add asset params to store 2025-01-21 18:26:20 +01:00