You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loop/loopdb
Andras Banki-Horvath 6a4ef3683a
sweepbatcher: fix spawning condition "unattached" spend notifiers
Previously, when handling a sweep we assumed that if a sweep status
was completed, the parent batch was also finished. However, since the
batch confirmation status depends on three on-chain confirmations, it
is possible that a spend notifier was started for a sweep of an active
batch. The notifier would fetch the parent batch from the database, but
because we incorrectly assumed that  the parent was confirmed (when it
was not), the DB call would fail with a 'no rows returned' error.
This failure would cause the sweep to fail and the sweep batcher to
stop, resulting in a permanent failure state.
2 months ago
..
sqlc sweepbatcher: fix spawning condition "unattached" spend notifiers 2 months ago
codec.go loopdb: add the local pubkey's keylocator to the persisted contract 2 years ago
codec_test.go loopdb: add the local pubkey's keylocator to the persisted contract 2 years ago
interface.go loopdb: add ability to track manual migrations 4 months ago
log.go multi: add persistent logger 5 years ago
loop.go loopdb: refactor the SwapContract to hold all HTLC keys 2 years ago
loopin.go loopdb: refactor the SwapContract to hold all HTLC keys 2 years ago
loopout.go loopdb: add migraton and DB code to handle payment timeout 4 months ago
meta.go multi: fix linter issues 2 years ago
migrate.go multi: update linter, fix issues 12 months ago
migrate_test.go loopdb: add migrator 1 year ago
migration_01_costs.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 5 years ago
migration_02_swap_publication_deadline.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 5 years ago
migration_03_last_hop.go loopdb: migrate loop in channel to last hop 5 years ago
migration_04_updates.go loopdb: migrate to nested updates structure 4 years ago
migration_04_updates_test.go multi: use context in loopdb call 1 year ago
migrations.go multi: update linter, fix issues 12 months ago
postgres.go loopdb: fix timestamp parsing 1 year ago
postgres_fixture.go loopdb: add postgres store 1 year ago
protocol_version.go chore: fix some comments 4 months ago
protocol_version_test.go protocol: set musig2 to be the stable version 1 year ago
raw_db_test.go multi: update linter, fix issues 12 months ago
schemas.go loopdb: create base sqlite store 1 year ago
sql_store.go loopdb: all BaseDB's methods use receiver name db 3 months ago
sql_test.go loopdb: add ability to track manual migrations 4 months ago
sqlerrors.go loopdb: create base sqlite store 1 year ago
sqlite.go loopdb: all BaseDB's methods use receiver name db 3 months ago
store.go loopdb: add ability to track manual migrations 4 months ago
store_mock.go loop: add migration for loopout swaps to fix negative stored costs 4 months ago
store_test.go multi: update linter, fix issues 12 months ago
swapstate.go loopd: new loopin state for incorrect amount sweeps 7 months ago
test_postgres.go loopdb: fix faulty timestamps on startup 1 year ago
test_sqlite.go loopdb: fix faulty timestamps on startup 1 year ago
typed_store.go multi: typed callback in ExecTx 3 months ago