loop/loopdb
kon 64bdef9238
sqldb: change time parsing function
This commit changes the time parsing function to use the time.Parse
function instead of the prior manual parsing. Only if the year is
far in the future, we replace it with the current year.
2023-08-24 16:09:37 +02:00
..
sqlc loopdb: generate sqlc files 2023-06-20 17:31:40 +02:00
codec.go loopdb: add the local pubkey's keylocator to the persisted contract 2022-06-30 16:59:57 +02:00
codec_test.go loopdb: add the local pubkey's keylocator to the persisted contract 2022-06-30 16:59:57 +02:00
interface.go loopdb: add batch insert 2023-06-20 14:06:05 +02:00
log.go multi: add persistent logger 2019-10-28 17:09:23 +01:00
loop.go loopdb: refactor the SwapContract to hold all HTLC keys 2023-03-20 20:08:43 +01:00
loopin.go loopdb: refactor the SwapContract to hold all HTLC keys 2023-03-20 20:08:43 +01:00
loopout.go loopdb: refactor the SwapContract to hold all HTLC keys 2023-03-20 20:08:43 +01:00
meta.go multi: fix linter issues 2022-12-15 18:08:38 +01:00
migrate.go loopdb: add migrator 2023-06-20 18:59:31 +02:00
migrate_test.go loopdb: add migrator 2023-06-20 18:59:31 +02:00
migration_01_costs.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
migration_02_swap_publication_deadline.go loopdb/loopout: add field SwapPublicationDeadline to LoopOutContract 2019-11-21 18:47:00 +01:00
migration_03_last_hop.go loopdb: migrate loop in channel to last hop 2020-02-17 19:59:05 +01:00
migration_04_updates.go loopdb: migrate to nested updates structure 2020-06-24 15:28:07 +02:00
migration_04_updates_test.go multi: use context in loopdb call 2023-06-19 12:28:32 +02:00
migrations.go loopdb: create base sqlite store 2023-06-20 17:31:40 +02:00
postgres.go loopdb: fix timestamp parsing 2023-08-08 15:20:00 +02:00
postgres_fixture.go loopdb: add postgres store 2023-06-20 18:59:30 +02:00
protocol_version.go protocol: set musig2 to be the stable version 2023-04-25 17:26:01 +02:00
protocol_version_test.go protocol: set musig2 to be the stable version 2023-04-25 17:26:01 +02:00
raw_db_test.go multi: fix linter issues 2022-05-20 10:16:46 +02:00
schemas.go loopdb: create base sqlite store 2023-06-20 17:31:40 +02:00
sql_store.go loopdb: add sqlite store implementation 2023-06-20 18:59:23 +02:00
sql_test.go sqldb: change time parsing function 2023-08-24 16:09:37 +02:00
sqlerrors.go loopdb: create base sqlite store 2023-06-20 17:31:40 +02:00
sqlite.go sqldb: change time parsing function 2023-08-24 16:09:37 +02:00
store.go loopdb: add batch insert 2023-06-20 14:06:05 +02:00
store_test.go loopdb: add nil check to boltdb liquidity test 2023-06-20 18:59:24 +02:00
swapstate.go multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00
test_postgres.go loopdb: fix faulty timestamps on startup 2023-08-07 21:04:30 +02:00
test_sqlite.go loopdb: fix faulty timestamps on startup 2023-08-07 21:04:30 +02:00