Commit graph

17 commits

Author SHA1 Message Date
Boris Nagaev
d554b42ef6
multi: migrate to btcd v2 modules
Update LND, Aperture, and Taproot Assets to revisions using the
btcd v2 modules, and update lndclient to v0.21.0-3. Migrate Loop
chain, transaction, and address types to their corresponding v2
packages.

The lndclient release includes the migration from:
https://github.com/lightninglabs/lndclient/pull/280

Taproot Assets is temporarily replaced with its btcd v2 revision
because the v0.8 release branch has not adopted the new modules.

This raises the minimum Go version to 1.26 and changes exported
address types.
2026-08-12 23:39:26 +00:00
Slyghtning
a10c741a26
lint: fix linter issues 2026-03-09 14:39:45 +01:00
sputn1ck
40614a2a7a
loopdb: add asset params to store 2025-01-21 18:26:20 +01:00
drawdrop
b4193dfb28 chore: fix some function names
Signed-off-by: drawdrop <cricis@icloud.com>
2024-08-12 22:59:32 +08:00
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