Alex Bosworth
f76c15ca16
Merge pull request #1051 from lightninglabs/alexbosworth-patch-11
...
version: bump version to v0.31.7-beta
2025-11-26 07:53:21 -08:00
Alex Bosworth
bde27d0059
version: bump version to v0.31.7-beta
...
bump version to 0.31.7
2025-11-26 07:44:51 -08:00
Slyghtning
2cdf084cd9
Merge pull request #1050 from ffranr/add-ci-lit-test
...
Add LiT CI job and runner cleanup action
2025-11-26 10:21:03 +01:00
ffranr
d56fb5b542
ci: split out postgres unit-test run for parallelism
2025-11-26 08:45:35 +00:00
ffranr
d00bfab643
ci: bump actions/checkout to v4
2025-11-26 08:45:35 +00:00
ffranr
3dd747460a
ci: add LiT tests workflow to GitHub Actions
...
Add a new workflow to run tests for the LiT repository. This includes
setting up dependencies, cloning the repository, and updating the
`go.mod` file to use local Loop modules.
2025-11-26 08:45:35 +00:00
Slyghtning
83628d775d
Merge pull request #1016 from hieblmi/easy-exclude-peers
...
easyautoloop: exclude peers
2025-11-24 13:12:55 +01:00
Slyghtning
70c95139e9
docs: update easy-exclude parameters
2025-11-21 15:44:51 +01:00
Slyghtning
afa52aa40d
liquidity: test --excludeeasypeer and --includealleasypeers
2025-11-21 15:38:13 +01:00
Slyghtning
7fc07ae99b
cmd: add --includealleasypeers
2025-11-21 15:38:12 +01:00
Slyghtning
bb8ee54817
cmd: exclude peers for easy autoloop
2025-11-21 15:34:49 +01:00
Slyghtning
854cac246e
liquidity: exclude peers for easy autoloop
2025-11-21 15:05:52 +01:00
Slyghtning
ea21d8d8f2
looprpc: exclude peers for easy autoloop
2025-11-21 15:05:51 +01:00
Boris Nagaev
62419ab17d
Merge pull request #1048 from starius/loop-stop
...
cli: add command "loop stop"
2025-11-20 23:33:35 -03:00
Slyghtning
bb41f0b353
Merge pull request #1049 from lightninglabs/dependabot/go_modules/looprpc/golang.org/x/crypto-0.45.0
...
build(deps): bump golang.org/x/crypto from 0.36.0 to 0.45.0 in /looprpc
2025-11-20 15:25:33 +01:00
Slyghtning
20c522da31
gomod: go mod tidy
2025-11-20 14:42:52 +01:00
Boris Nagaev
a4dc59099b
cli: add command "loop stop"
...
* add StopDaemon RPC with permissions + REST binding
* expose `loop stop` CLI (with optional --wait) and wait logic
* pass daemon shutdown callback + unit test and regenerate docs/protos
2025-11-19 23:42:48 -03:00
dependabot[bot]
c2bb0524ae
build(deps): bump golang.org/x/crypto from 0.36.0 to 0.45.0 in /looprpc
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.36.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 02:03:23 +00:00
Boris Nagaev
c4d6c29fc0
Merge pull request #1045 from ffranr/wip/bump-deps-lnd0.20.0
...
go.mod: bump lnd@v0.20.0-beta and taproot-assets
2025-11-19 00:05:35 -03:00
ffranr
24043df499
go.mod: bump lnd@v0.20.0-beta, taproot-assets@v0.7.0, taprpc@v1.0.11
2025-11-18 15:34:37 +00:00
Boris Nagaev
88658ecb59
Merge pull request #1047 from starius/go-1249
...
multi: downgrade Go to 1.24.9
2025-11-17 16:09:08 -03:00
Boris Nagaev
d677e9d7e6
multi: downgrade Go to 1.24.9
...
This is needed, because LND and LiT use 1.24.9.
2025-11-17 14:11:26 -03:00
Boris Nagaev
d9a633bc2c
Merge pull request #1046 from starius/wait-for-height
...
loopd: fix premature block height receipt from LND
2025-11-16 15:15:15 -03:00
Boris Nagaev
6d480cfd9e
staticaddr: require positive heights at startup
...
Loop now guards all static-address managers against zero block heights: each
constructor returns an error when invoked with a non-positive current height,
and `loopd` validates the height from `GetInfo` before instantiating them.
Tests and helper code were updated accordingly so we fail fast instead of
registering chain notifications with invalid hints.
2025-11-16 01:24:01 -03:00
Boris Nagaev
bde49d7a91
loopd: wait for chain notifier
...
Use https://github.com/lightninglabs/lndclient/pull/255
2025-11-16 00:26:02 -03:00
Boris Nagaev
deced54665
staticaddr/withdraw: make error log unique
...
Make it easier to distinguish this error from a similar error few lines above.
2025-11-16 00:26:02 -03:00
Boris Nagaev
0bf2c99843
go.mod: bump lndclient to v0.20.0-6
...
Include https://github.com/lightninglabs/lndclient/pull/255
2025-11-16 00:26:02 -03:00
Boris Nagaev
508d90f384
multi: update Go to 1.24.10
2025-11-16 00:26:02 -03:00
Boris Nagaev
de969fdf25
Merge pull request #1042 from starius/sweepbatcher-fix-race-addsweeps
...
sweepbatcher: handle batch shutdown during re-add
2025-11-13 01:08:45 -03:00
Slyghtning
eb8c3dddc7
Merge pull request #1038 from hieblmi/remove-htlc
...
loopout: don't print htlc address
2025-11-12 09:31:38 +01:00
Boris Nagaev
f8272dd2bf
Merge pull request #1041 from starius/bump-lndclient
...
go.mod: update lndclient to v0.20.0-4
2025-11-12 03:47:28 -03:00
Boris Nagaev
37eb3462e5
sweepbatcher: handle batch shutdown during re-add
...
Started from CI failure of TestSweepBatcherHandleSweepRace/loopdb [1] that
surfaced ErrBatcherShuttingDown when the AddSweep loop caught a batch right as
it finished. Reproduced via:
go test ./sweepbatcher -run TestSweepBatcherHandleSweepRace/loopdb -cpu=12,4,8 -count=1
Discovered that handleSweeps treated ErrBatchShuttingDown from batch.addSweeps
as fatal, so the batcher exited even though the sweep was already confirmed.
Fixed by treating that error as "batch already done" so we fall through to the
persisted status/monitorSpend path, and added a regression test that
deterministically simulates the shutdown window.
New regression test added:
go test ./sweepbatcher -run TestSweepBatcherHandleBatchShutdown
[1] https://github.com/lightninglabs/loop/actions/runs/19282552307/job/55136597881?pr=1041
2025-11-12 01:45:18 -03:00
Boris Nagaev
d82b3624b9
sweepbatcher: fix code format
2025-11-12 01:45:18 -03:00
Boris Nagaev
79848aa93b
go.mod: update lndclient to v0.20.0-4
...
Include https://github.com/lightninglabs/lndclient/pull/250
SubscribeSingleInvoice: provide full invoice (lnd-20-0 port)
Include https://github.com/lightninglabs/lndclient/pull/254
Port "SendCoins: use SatPerVbyte" and "bump runc to 1.2.8" to lnd-20-0
Fixed Loop build after https://github.com/lightninglabs/lndclient/pull/250
2025-11-11 21:37:23 -03:00
Slyghtning
8df357bbc9
loopout: don't print htlc address
2025-11-10 17:46:59 +01:00
Slyghtning
16d56f1274
Merge pull request #1034 from lightninglabs/dependabot/go_modules/github.com/opencontainers/runc-1.2.8
...
build(deps): bump github.com/opencontainers/runc from 1.2.0 to 1.2.8
2025-11-05 19:22:39 +01:00
dependabot[bot]
feaf97fff6
build(deps): bump github.com/opencontainers/runc from 1.2.0 to 1.2.8
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.2.0 to 1.2.8.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.2.8/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.2.0...v1.2.8 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-version: 1.2.8
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-05 16:46:54 +00:00
Boris Nagaev
2331b2266a
Merge pull request #1033 from starius/fix-gonum
...
Fix "go mod check" CI failure
2025-11-05 13:12:05 -03:00
Boris Nagaev
c32309ec5c
cmd/loop: remove custom cli-docs template override
...
Now that https://github.com/urfave/cli-docs/pull/15 removes empty environment
variable columns, we can rely on upstream and delete our embedded template copy.
2025-11-04 21:58:52 -03:00
Boris Nagaev
b9832c475a
go.mod: bypass gonum.org domain
...
Probably the domain has blocked our CI by IP address. This commit go-replaced
the packages with their GitHub versions to fix the CI check "go mod check".
2025-11-04 21:58:45 -03:00
Boris Nagaev
d3b5e0a180
Merge pull request #1032 from starius/release-sh-multiple-tags
...
release.sh: fix for the case of multiple tags
2025-11-04 13:20:41 -03:00
Boris Nagaev
69c38acd25
release.sh: fix for the case of multiple tags
...
./release.sh v0.31.5-beta fails as of tag v0.31.5-beta:
tag v0.31.5-beta not checked out
This is because it checks the Git tag with `git describe`, but the current
commit has multiple tags and `git describe` returns swapserverrpc/v1.0.18
instead of expected v0.31.5-beta.
In this commit this edge case is addressed.
2025-11-04 12:38:31 -03:00
Konstantin Nick
3772a40750
Merge pull request #1031 from sputn1ck/revert_downgrade
...
Revert "Merge pull request #1028 from starius/downgrade-deps"
2025-11-03 15:16:00 +01:00
sputn1ck
c8c78c6f7a
versioning fixups
2025-10-31 19:05:40 +01:00
sputn1ck
e4f64ec9cc
Revert "Merge pull request #1028 from starius/downgrade-deps"
...
This reverts commit b11c959bc8 , reversing
changes made to 0a182ee308 .
2025-10-31 18:48:26 +01:00
Alex Bosworth
2b41fe2c7c
Merge pull request #1027 from lightninglabs/alexbosworth-patch-10
...
version: bump version to v0.31.5-beta
2025-10-31 07:35:40 -07:00
Boris Nagaev
b11c959bc8
Merge pull request #1028 from starius/downgrade-deps
...
go.mod: downgrade deps for litd release
2025-10-31 11:12:36 -03:00
András Bánki-Horváth
0a182ee308
Merge pull request #1029 from bhandras/resume-stuck-swaps
...
loop: add resume manager
2025-10-31 15:01:28 +01:00
Boris Nagaev
7d58b65a84
go.mod: downgrade deps for litd release
...
lnd v0.19.3-beta
tapd v0.6.1
go 1.23.12 (except in tools/ where golangci-lint needs Go 1.24)
Remove docs generators as cli-docs depends on Go 1.24.
2025-10-31 10:23:52 -03:00
Boris Nagaev
6c8bb7f8e2
Merge pull request #1030 from starius/check-experimental-in-instant
...
loopd: fix crash in instant if no --experimental
2025-10-31 10:01:05 -03:00