Boris Nagaev
eca6a4ab97
tools: update Go back to 1.24.6
...
Fix golangci-lint build.
2025-10-30 21:49:02 -03:00
Boris Nagaev
fd6b10989f
multi: downgrade all Go versions to 1.23.12
2025-10-30 20:50:29 -03:00
Boris Nagaev
633eb69df8
go.mod: downgrade deps for litd release
...
lnd v0.19.3-beta
tapd v0.6.1
go 1.23.12
Remove docs generators as cli-docs depends on Go 1.24.
2025-10-30 13:35:25 -03:00
Boris Nagaev
ded8ab5975
Merge pull request #1026 from starius/client-yaml
...
looprpc: add instantout and static to client.yaml
2025-10-30 10:23:30 -03:00
Boris Nagaev
854f0a2396
looprpc: add instantout and static to client.yaml
2025-10-28 00:48:54 -03:00
Boris Nagaev
e173834a68
Merge pull request #1025 from starius/static-amt
...
cli: rename --amount to --amt in static
2025-10-26 16:09:12 -03:00
Boris Nagaev
ef8b7b7dc2
cli: rename --amount to --amt in static
...
loop static in --amt
loop static withdraw --amt
This is done to make it consistent with other commands and products.
Keep --amount flag as an alias.
2025-10-26 15:07:30 -03:00
Boris Nagaev
ab81cebd14
Merge pull request #1023 from starius/cli-fix-amount-and-feerate
...
cli: fix --amount flag in static in and withdraw
2025-10-25 10:38:02 -03:00
Boris Nagaev
83cbc7e30f
cli: fix --amount flag in static in and withdraw
...
Also fix --sat_per_vbyte flag.
All these flags were accessed using wrong type (signed vs unsigned int).
Previous version always parsed them as 0 even when set.
Regenerate the manual.
2025-10-24 19:39:46 -03:00
Alex Bosworth
7e0797e4af
Merge pull request #1010 from lightninglabs/alexbosworth-patch-9
...
version: bump version to v0.31.4-beta
2025-10-16 07:46:35 -07:00
Boris Nagaev
db907aa623
Merge pull request #1022 from starius/parallel-presign
...
sweepbatcher: presign transactions in parallel
2025-10-15 11:46:46 -03:00
Boris Nagaev
b458c5ebd8
go.mod: fix taproot-assets commit
...
Loop was pinned to commit c44e078c33e0 (tapchannel: support stxo on aux sweeper)
which was merged into "main" branch of taproot-assets as e6ae082c0b4b.
2025-10-14 23:16:10 -03:00
Boris Nagaev
abf3bb4abf
sweepbatcher: presign transactions in parallel
...
If a SignTx call is slow, the whole presign() function could timeout if all
the calls are done sequentially. In this commit each call is done in a separate
goroutine to reduce total latency.
2025-10-14 22:37:18 -03:00
Boris Nagaev
03de0a8ed7
Merge pull request #1021 from GeorgeTsagk/bump-lnd-20.0
...
build: bump deps
2025-10-13 22:19:13 -03:00
Boris Nagaev
4458577194
Merge pull request #1020 from starius/sweepbatcher-change-outputs-fees-fix
...
sweepbatcher: fix change fee accounting, add test
2025-10-13 11:05:46 -03:00
George Tsagkarelis
eac843e968
build: bump deps
2025-10-13 11:08:12 +02:00
Boris Nagaev
1f15c604ac
sweepbatcher: fix fee rate calculation (publish)
...
We forgot to account for change outputs when checking the feerate of
signed transaction. The bug resulted in fee rate overestimation in the
log message.
2025-10-11 22:15:56 -03:00
Boris Nagaev
a5871d6f3e
sweepbatcher: fix change fee accounting, add test
...
Presigned sweeps that produce a change output misreported the on-chain fee.
The fee portion was derived from the total swept amount minus only the
first transaction output, so any change output was treated as additional fee.
Update getFeePortionForSweep to subtract the value of every tx output so
the fee portion reflects only the actual miner fee paid. Add regression
coverage that sweeps a presigned input with change and asserts the spend
and confirmation notifications report the corrected fee.
2025-10-11 15:21:30 -03:00
Slyghtning
719355211f
Merge pull request #1017 from hieblmi/show-deposits
...
staticaddr: more fields in StaticAddressLoopInResponse
2025-10-09 11:59:51 +02:00
Slyghtning
de2964efba
loopd: refactor blocks-until-expiry calculation
2025-10-09 09:14:43 +02:00
Slyghtning
0d3a4c8a19
loopd: more info in StaticAddressLoopInResponse
2025-10-08 21:34:48 +02:00
Slyghtning
d133a43e22
looprpc: add more fields to StaticAddressLoopInResponse
2025-10-08 21:34:48 +02:00
Slyghtning
cd225d38d9
Merge pull request #1015 from hieblmi/static-fixes
...
staticaddr: signet testing fixes
2025-10-08 17:10:34 +02:00
Slyghtning
152385885f
staticaddr: exclude close-to-expiry depositis from SelectDeposits
2025-10-08 16:24:46 +02:00
Slyghtning
9f57c8ee01
loopin: add loop-in constants to filter expired deposits
2025-10-08 11:38:37 +02:00
Slyghtning
e70d347ae9
cmd: display correct Receive off-chain amount
2025-10-08 11:38:37 +02:00
Boris Nagaev
113f716175
Merge pull request #1013 from starius/urfave-cli-updates
...
cmd/loop: update urfave/cli to v3, auto-generate loop CLI reference manual and man file
2025-10-07 18:20:01 -03:00
Boris Nagaev
9eddee7073
ci: run sqlc-check
2025-10-07 16:54:38 -03:00
Boris Nagaev
8ec28b2268
ci: verify that documentation is up-to-date
2025-10-07 16:54:38 -03:00
Boris Nagaev
8feab845c4
make: generate man and markdown files in docs/
2025-10-07 16:54:38 -03:00
Boris Nagaev
15f94234cd
cmd/loop: add commands "loop man", "loop markdown"
...
Produce the documentations in man .1 and markdown formats.
The template for markdown was patched to removed column "Environment variables"
Upstream PR: https://github.com/urfave/cli-docs/pull/15
Also the input has to be pre-processed to remove nested "help" subcommands from
each subcommand to improve readability.
Upstream PR: https://github.com/urfave/cli-docs/pull/16
2025-10-07 16:54:38 -03:00
Boris Nagaev
5e6e789496
cmd/loop: urfave/cli -> urfave/cli/v3
2025-10-07 14:41:02 -03:00
Boris Nagaev
0ff91716d9
cmd/loop: fix validation of "static in --label"
...
Previous version validated the value of non-existent flag "static-loop-in".
The value passed to loopd was correct though.
2025-10-07 14:05:13 -03:00
Boris Nagaev
dfad554d43
cmd/loop: parse string slice as string slice
...
Previously it was parsed as a single JSON string. Now each hint is parsed
individually.
2025-10-07 14:05:13 -03:00
Boris Nagaev
5fa5a4e1b8
cmd/loop: parse start_time_ns as int, not string
...
urfave/cli/v3 returns "" if an int flag is accessed using String getter.
2025-10-07 14:05:13 -03:00
Boris Nagaev
e8f5a54b22
cmd/loop: parseAmt fails in negative amounts
2025-10-07 14:05:13 -03:00
Boris Nagaev
ea9f902de2
cmd/loop: parse --amt as int, not as string
...
urfave/cli/v3 returns "" if an int flag is accessed using String getter.
2025-10-07 14:05:13 -03:00
Boris Nagaev
dfb16df6ad
cmd/loop: hide command forceautoloop
...
It is not intended for prod use. Those who need it can still use it.
2025-10-07 14:05:13 -03:00
Slyghtning
3323beaaeb
Merge pull request #1014 from hieblmi/fix-static-quote
...
staticaddr: fix static quote
2025-10-07 11:33:44 +02:00
Slyghtning
39b3752480
cmd: print quoted amount from InQuoteRequst
2025-10-07 11:13:44 +02:00
Slyghtning
68baebf478
loopd: return quoted amount in InQuoteResponse
2025-10-07 11:13:44 +02:00
Slyghtning
f840852e8d
looprpc: add quoted amount in InQuoteResponse
2025-10-07 11:13:43 +02:00
Slyghtning
c1ab1f36cf
Merge pull request #1009 from hieblmi/fast-flag
...
staticaddr: fast-flag
2025-10-07 10:03:01 +02:00
Slyghtning
f05b0e630c
cmd: positional amount flag for staticaddr loop-in
2025-10-07 09:14:17 +02:00
Slyghtning
25485226e4
cmd: staticaddr fast-flag support
2025-10-07 09:12:39 +02:00
Slyghtning
aaeeefee00
loop: handle fast-flag in legacy loop-in
2025-10-07 09:12:39 +02:00
Slyghtning
168420c28d
loopd: fast-flag in GetLoopInQuote and StaticAddressLoopIn
2025-10-07 09:12:38 +02:00
Slyghtning
51258af025
staticaddr: fast-flag support
...
--fast allows the client to expedite the publishing
of on-chain swap transactions with change, e.g. if --amount was specified.
2025-10-07 08:53:39 +02:00
Slyghtning
422bcd7077
sweepbatcher: fast-flag enables zero delay publishing
2025-10-07 08:53:39 +02:00
Slyghtning
92a8726e07
loopdb: staticaddr fast flag migration and queries
2025-10-07 08:53:36 +02:00