Alex Bosworth
e734d69b18
Merge pull request #909 from lightninglabs/alexbosworth-patch-9
...
version: bump version to v0.30.0-beta
2025-03-27 07:28:59 -07:00
Alex Bosworth
0ed99e252d
version: bump version to v0.30.0-beta
2025-03-26 18:40:26 -07:00
Slyghtning
3845bded2a
Merge pull request #908 from hieblmi/non-blocking-depo-recovery
...
staticaddr: non-concurrent deposit recovery
2025-03-26 16:43:39 +01:00
Slyghtning
8401ca58be
staticaddr: non-concurrent deposit recovery
2025-03-26 15:33:19 +01:00
Konstantin Nick
612c7047f1
Merge pull request #886 from sputn1ck/asset_autoloop_1
...
Add simple asset autoloop
2025-03-25 15:58:39 +01:00
sputn1ck
439d64a08a
liquidity: skip asset channels in easy autoloop
2025-03-25 15:27:54 +01:00
sputn1ck
014e919402
liquidity: add asset loop out unit test
2025-03-25 15:27:54 +01:00
sputn1ck
e7b2836605
liquidity: test move p2wkh to const
2025-03-25 15:27:53 +01:00
sputn1ck
98e6bf08c7
cmd: add debug forceautoloop cmd
2025-03-25 15:27:53 +01:00
sputn1ck
1dc1192282
cmd: add easy autoloop asset flags
2025-03-25 15:27:53 +01:00
sputn1ck
6e49e3710c
loopd: add asset client to autoloop cfg
2025-03-25 15:27:53 +01:00
sputn1ck
a10b483096
loopd: move asset client to config
2025-03-25 15:27:53 +01:00
sputn1ck
9f7249f14f
asset: add function to get asset price
2025-03-25 15:27:52 +01:00
sputn1ck
3c79e9d028
liquidity: add easy asset autoloop out
2025-03-25 14:02:09 +01:00
sputn1ck
e3f049ae6f
liquidity: add asset swap info to swap builder
2025-03-25 11:15:41 +01:00
sputn1ck
832a0526d6
liquidity: add easy asset params
2025-03-25 11:15:41 +01:00
András Bánki-Horváth
4ef15d6668
Merge pull request #904 from lightninglabs/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.2
2025-03-21 23:59:21 +01:00
dependabot[bot]
371fcfaf35
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 22:38:19 +00:00
Boris Nagaev
da312d310c
Merge pull request #903 from starius/sweepbatcher-error-details
...
sweepbatcher: add more details to errors
2025-03-21 11:36:13 -03:00
Boris Nagaev
90e36b5b71
sweepbatcher: add more details to errors
...
This is useful to debug errors from logs, to follow error propagation path.
2025-03-21 10:58:07 -03:00
Slyghtning
cecb24c673
Merge pull request #902 from hieblmi/fix-deadlock
...
staticaddr: lock mutex for active deposits access
2025-03-21 14:53:38 +01:00
Slyghtning
679ba13608
staticaddr: don't lock active deposits across state transition
2025-03-21 11:17:57 +01:00
Boris Nagaev
e704119f14
deposit: fix sending to finalizedDepositChan
2025-03-21 10:30:41 +01:00
Slyghtning
484681ab45
staticaddr: quit deposit fsm handler when finialized
2025-03-21 10:30:39 +01:00
Slyghtning
bf3a55948d
looprpc: update go to 1.23.6
2025-03-21 09:14:26 +01:00
Boris Nagaev
75ad9b4649
Merge pull request #890 from starius/unit-race
...
multi: fix race conditions and run unit tests with -race
2025-03-20 11:20:05 -03:00
Boris Nagaev
2f2c5a34e7
ci: run unit tests with -race
2025-03-19 15:00:31 +01:00
Boris Nagaev
3abd2d2235
make: add targets unit-race and unit-postgres-race
2025-03-19 15:00:31 +01:00
Boris Nagaev
dc4a5641ac
multi: initialize block height in New, not in Run
...
If Run sets the current height field, it is technically a race between Run and
other methods reading the field. Setting in New is a safer option.
Removed a check that height is not 0 from static address manager.
2025-03-19 15:00:31 +01:00
Boris Nagaev
3cbfadd27a
loop: fix race in loopOutSwap.payInvoiceAsync
...
The function used to call the method swapKit.swapInfo() which accessed many
fields of the swapKit which may change in parallel by handlePaymentResult called
by executeSwap (payInvoiceAsync is called in a goroutine). The fields are: cost,
state, and update time.
2025-03-19 15:00:31 +01:00
Boris Nagaev
ce77fcc12c
instantout/reservation: fix data race in test
2025-03-19 15:00:30 +01:00
Boris Nagaev
4c292f179f
staticaddr: fix race conditions in current height
...
Make the current height an atomic variable in staticaddr/address/manager.go and
in staticaddr/withdraw/manager.go.
Removed the initiation height from staticaddr/deposit/manager.go (not needed).
2025-03-19 15:00:30 +01:00
Boris Nagaev
e0e66a9b38
loopd: fix data races of logger
2025-03-19 15:00:30 +01:00
Boris Nagaev
2249c41d2f
loopdb: switch to go.etcd.io/bbolt
...
github.com/coreos/bbolt has race conditions:
https://github.com/golang/go/issues/54690
2025-03-19 15:00:30 +01:00
Alex Bosworth
d2c08bbb51
Merge pull request #900 from lightninglabs/alexbosworth-patch-9
...
version: bump version to v0.29.1-beta
2025-03-18 11:04:28 -07:00
Alex Bosworth
c5666ae3a6
version: bump version to v0.29.1-beta
...
increment version number
2025-03-18 08:11:05 -07:00
Boris Nagaev
5f5c6cb6ed
Merge pull request #899 from starius/min-conf-target-2
...
loopout: fix fee estimate failure if conf_target=1
2025-03-18 11:32:59 -03:00
Boris Nagaev
ddeb43d293
loopout: fix fee estimate failure if conf_target=1
...
The fee estimator fails if conf_target=1. Use conf_target=2 instead.
Fix https://github.com/lightninglabs/loop/issues/898
2025-03-18 10:58:23 -03:00
Boris Nagaev
a253b40062
Merge pull request #897 from starius/cleanup-without-cancel
...
loopin: use context.WithoutCancel in cleanup
2025-03-17 12:03:24 -03:00
Boris Nagaev
c2dddf0dfe
loopin: use context.WithoutCancel in cleanup
...
Ensure that MuSig2 cleanup does happen even if a context expires.
2025-03-16 18:21:32 -03:00
András Bánki-Horváth
db090960b2
Merge pull request #896 from bhandras/ci-go-runner-bump
...
github: update `setup-go` remove `cache`
2025-03-13 17:32:58 +01:00
Konstantin Nick
db4eb637a6
Merge pull request #895 from lightninglabs/dependabot/go_modules/looprpc/golang.org/x/net-0.36.0
...
build(deps): bump golang.org/x/net from 0.33.0 to 0.36.0
2025-03-13 17:29:06 +01:00
Andras Banki-Horvath
300ffa97d6
github: update setup-go remove cache
...
The setup-go@v5 has built in caching support.
2025-03-13 11:20:55 -05:00
dependabot[bot]
c8072e874a
build(deps): bump golang.org/x/net from 0.33.0 to 0.36.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-13 11:51:53 -03:00
Oliver Gugger
3e46aff01c
Merge pull request #894 from lightninglabs/lnd-19
...
Update compile-time dependency of lnd to 0.19.0, update linter
2025-03-11 10:32:23 -06:00
Oliver Gugger
65251e8821
multi: update linter, fix issues
2025-03-10 22:59:50 +01:00
Oliver Gugger
722ad8839d
multi: update lnd compile-time dependency to v0.19.0
2025-03-10 22:59:49 +01:00
Boris Nagaev
800f0e0fba
Merge pull request #889 from starius/fix-unit-test-races
...
sweepbatcher: fix race conditions in unit tests
2025-03-04 14:10:34 -03:00
Boris Nagaev
60f49067cc
ci, Dockerfile: update Go to 1.24.0
...
Try to catch more race conditions in unit tests.
2025-03-04 13:45:08 -03:00
Boris Nagaev
a333031bf9
sweepbatcher: fix race conditions in UseLogger
2025-03-04 13:45:08 -03:00