Commit Graph

14 Commits (master)

Author SHA1 Message Date
Boris Nagaev e30cb5f2a8
multi: apply make fmt 3 weeks ago
Andras Banki-Horvath 7fe4ee2f3b
loopdb: make sqlite sync for extra durability 2 months ago
Konstantin Nick 9f2bf5ca07
Merge pull request #682 from sputn1ck/fix_faulty_timestamps
Fix faulty timestamps
4 months ago
sputn1ck 57fa22b095
loopdb: remove unused code 4 months ago
elbandi d6be549e17
loopdb: Fix PublicationDeadline
This commit fixes the publication deadline based on the swaps invoice
timestamp.
4 months ago
bitcoin-lightning 864d4e5cdd
fix typo in sqlite.go 5 months ago
sputn1ck b8ada0416c
loopdb: fix leapyear parsing 7 months ago
Oliver Gugger 08026dab93
multi: update linter, fix issues 8 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.
9 months 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.
9 months ago
sputn1ck 5cafa34ae9
loopdb: fix timestamp parsing 9 months ago
sputn1ck be9ca71bf2
loopd: convert unix millisecond timestamps to seconds 9 months 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.
9 months ago
sputn1ck f8c65bbc4c
loopdb: create base sqlite store 11 months ago