Andras Banki-Horvath
c650cdc8a8
loopdb: add ability to track manual migrations
4 months ago
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.
4 months ago
Andras Banki-Horvath
4749c029bb
loopdb: add migraton and DB code to handle payment timeout
4 months ago
sputn1ck
d36c154151
loopdb: fix unit test
9 months ago
sputn1ck
57fa22b095
loopdb: remove unused code
9 months ago
sputn1ck
b8ada0416c
loopdb: fix leapyear parsing
11 months ago
Oliver Gugger
08026dab93
multi: update linter, fix issues
12 months ago
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.
1 year ago
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.
1 year ago
sputn1ck
5cafa34ae9
loopdb: fix timestamp parsing
1 year ago
sputn1ck
be9ca71bf2
loopd: convert unix millisecond timestamps to seconds
1 year ago
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.
1 year ago
sputn1ck
ab8923fc38
loopdb: add sqlite test files
1 year ago