Boris Nagaev
e30cb5f2a8
multi: apply make fmt
2024-04-23 15:18:15 -03:00
Andras Banki-Horvath
7fe4ee2f3b
loopdb: make sqlite sync for extra durability
2024-03-04 16:23:50 +01:00
Konstantin Nick
9f2bf5ca07
Merge pull request #682 from sputn1ck/fix_faulty_timestamps
...
Fix faulty timestamps
2024-01-04 15:13:54 +01:00
sputn1ck
57fa22b095
loopdb: remove unused code
2024-01-04 15:08:19 +01:00
elbandi
d6be549e17
loopdb: Fix PublicationDeadline
...
This commit fixes the publication deadline based on the swaps invoice
timestamp.
2024-01-04 15:07:32 +01:00
bitcoin-lightning
864d4e5cdd
fix typo in sqlite.go
2024-01-02 13:03:38 +08: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
f8c65bbc4c
loopdb: create base sqlite store
2023-06-20 17:31:40 +02:00