Andras Banki-Horvath
7fe4ee2f3b
loopdb: make sqlite sync for extra durability
7 months ago
Konstantin Nick
9f2bf5ca07
Merge pull request #682 from sputn1ck/fix_faulty_timestamps
...
Fix faulty timestamps
9 months ago
sputn1ck
57fa22b095
loopdb: remove unused code
9 months ago
elbandi
d6be549e17
loopdb: Fix PublicationDeadline
...
This commit fixes the publication deadline based on the swaps invoice
timestamp.
9 months ago
bitcoin-lightning
864d4e5cdd
fix typo in sqlite.go
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
f8c65bbc4c
loopdb: create base sqlite store
1 year ago