Andras Banki-Horvath
c650cdc8a8
loopdb: add ability to track manual migrations
2024-06-03 14:54:18 +02:00
Andras Banki-Horvath
4f5c806ba5
loopdb: add helper methods to update swap costs
...
This commit adds the necessary sqlc code and SwapStore function to
update swap costs for all swaps in one transaction.
2024-06-03 14:54:18 +02:00
Andras Banki-Horvath
4749c029bb
loopdb: add migraton and DB code to handle payment timeout
2024-05-23 17:17:21 +02:00
sputn1ck
d36c154151
loopdb: fix unit test
2024-01-04 15:08:20 +01:00
sputn1ck
57fa22b095
loopdb: remove unused code
2024-01-04 15:08:19 +01:00
sputn1ck
b8ada0416c
loopdb: fix leapyear parsing
2023-10-31 17:08:51 +01:00
Oliver Gugger
08026dab93
multi: update linter, fix issues
2023-10-03 19:36:40 +02:00
sputn1ck
942b0dc1bb
loopdb: change faulty year migration logic
...
This commit changes how the faulty year migration works, by just
checking if the deadline is far in the future and then
fixing it.
2023-08-24 16:21:25 +02:00
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
sputn1ck
5cafa34ae9
loopdb: fix timestamp parsing
2023-08-08 15:20:00 +02:00
sputn1ck
be9ca71bf2
loopd: convert unix millisecond timestamps to seconds
2023-08-08 08:42:16 +02:00
sputn1ck
f25b5e9626
loopdb: fix faulty timestamps on startup
...
This commit fixes faulty timestamps caused by using unix milliseconds
as unix seconds on startup.
This commit also adds a test for the lightning-terminal issue that first
reported the bug.
2023-08-07 21:04:30 +02:00
sputn1ck
ab8923fc38
loopdb: add sqlite test files
2023-06-20 18:59:25 +02:00