Viktor Tigerström
3aaef99bec
docs: add release notes
2025-05-22 18:01:36 +02:00
Viktor Tigerström
78c406d67e
loop: add commit_hash to --version output
...
The `commit_hash` field will contain the full commit hash of the commit
that build was based on.
2025-05-22 18:01:36 +02:00
Viktor Tigerström
cdcacfe753
multi: update GetInfoResponse response
...
Update the output of the `commit_hash` field in the GetInfoResponse.
The `commit_hash` field will contain the most recent commit_hash that
the build was based on. If the build had uncommitted changes, this field
will contain the most recent commit hash, suffixed by "-dirty".
Note that this change also changes the output of `commit` field in the
`--version` command. The `Commit` field will now contain most recent git
commit tag.
2025-05-22 18:01:36 +02:00
Slyghtning
48a5f460b9
Merge pull request #944 from hieblmi/fix-static-commands
...
cmd: fix command descriptions
2025-05-19 16:32:17 +02:00
Slyghtning
1687590ef9
cmd: fix command descriptions
2025-05-19 15:53:03 +02:00
Slyghtning
b080f0125f
Merge pull request #943 from hieblmi/fix-msg
...
staticaddr: add expiry to NewAddress response
2025-05-15 15:15:45 +02:00
Slyghtning
cf0651af38
staticaddr: add expiry to NewAddress response
2025-05-15 14:56:49 +02:00
Boris Nagaev
38d74013c7
Merge pull request #942 from starius/sweepReq
...
staticaddr: fix crash in loop-in manager shutdown
2025-05-14 12:04:15 -03:00
Boris Nagaev
9f971cd371
staticaddr: fix crash in loop-in manager shutdown
...
If the notification manager shuts down, sweepReqs channel is closed and sweepReq
object received from it becomes nil, causing panic in handleLoopInSweepReq. Now
this is fixed by checking if the channel was closed and if it was shutting down
loop-in manager itself.
2025-05-13 19:21:57 -03:00
Boris Nagaev
890b91cd26
Merge pull request #941 from starius/fix-log-w
...
staticaddr: fix logs, use %v not %w in logs
2025-05-13 12:08:36 -03:00
Boris Nagaev
4e4390416b
staticaddr: fix logs, use %v not %w in logs
2025-05-13 11:49:50 -03:00
Boris Nagaev
125d83f760
Merge pull request #891 from starius/presigned
...
sweepbatcher: add mode with presigned transactions
2025-05-08 17:43:58 -03:00
Boris Nagaev
b9b256f4b3
sweepbatcher: add mode with presigned transactions
...
In this mode sweepbatcher uses transactions provided by the Presigned helper.
Transactions are signed upon adding an input to a batch.
A single Batcher instance can handle both presigned and regular batches.
Currently presigned and non-presigned sweeps never appear in the same batch.
2025-05-08 17:24:10 -03:00
Boris Nagaev
a4a2bfbee3
sweepbatcher: use WithoutCancel for notifications
2025-05-08 17:24:10 -03:00
Boris Nagaev
bb837a4aec
sweepbatcher: load sweeps in AddSweep
...
This is needed to run additional checks in AddSweep in the next commit.
2025-05-08 17:24:10 -03:00
Boris Nagaev
78ca6bd069
sweepbatcher: rm unused field batchKit.returnChan
2025-05-08 17:24:10 -03:00
Boris Nagaev
b7d3bc46f8
sweepbatcher: auto-increment sweep.ID in StoreMock
2025-05-08 17:24:10 -03:00
Boris Nagaev
09d28b50dd
test: allow intercepting PublishTransaction
2025-05-08 17:24:10 -03:00
Boris Nagaev
cd599b0cea
test: implement SignPsbt RPC
2025-05-08 17:24:10 -03:00
Boris Nagaev
45aa156977
test: implement MinRelayFee RPC
2025-05-08 17:24:10 -03:00
Boris Nagaev
149bffcad7
sweepbatcher: fix rounding in constructUnsignedTx
...
Previously it may round one satoshi towards zero resulting in fee-rate
slightly lower than requested.
2025-05-08 17:24:10 -03:00
Boris Nagaev
1983cc2d80
sweepbatcher: make func constructUnsignedTx pure
...
Also added a unit test for it.
2025-05-08 17:24:10 -03:00
Alex Bosworth
f5b34ca316
Merge pull request #935 from lightninglabs/update-to-v0.31.1-beta
...
version: bump version to v0.31.1-beta
2025-05-05 07:29:30 -07:00
Alex Bosworth
62ab50adb7
version: bump version to v0.31.1-beta
2025-05-05 06:57:06 -07:00
Oliver Gugger
8ef7584f9f
Merge pull request #929 from lightninglabs/tapd-migrate-library
...
mod: add replace directive to compile tapd
2025-05-02 10:02:42 +02:00
Oliver Gugger
059186568f
mod: bump tapd, add replace directive to compile tapd
...
Because tapd now uses a fork of the SQL migration library, which can
only be used through a replace directive which isn't populated
transitively to other dependent projects, we now need to copy that
directive to every project.
2025-05-02 09:49:07 +02:00
Konstantin Nick
2bc5df281a
Merge pull request #918 from sputn1ck/reservations_quote
...
Use reservation ids in instant out quote
2025-04-30 17:51:36 +02:00
sputn1ck
1ce9bdd0d3
multi: use reservation ids in instant out quote
2025-04-30 15:35:25 +02:00
sputn1ck
e76321b425
looprpc: add reservation ids to quote
2025-04-30 15:35:25 +02:00
sputn1ck
d3e9b5c893
swapserverrpc: add reservationids to instantout quote
2025-04-30 15:35:21 +02:00
Konstantin Nick
cb1824034a
Merge pull request #920 from sputn1ck/reservation_protocol_version
...
Reservations add protocol version
2025-04-30 14:46:34 +02:00
sputn1ck
56848d0cfa
reservation: add protocol version
2025-04-30 14:23:47 +02:00
András Bánki-Horváth
a889d6226b
Merge pull request #933 from lightninglabs/autoloop-slow-by-default
...
liquidity: default to slow swaps for autloop
2025-04-30 09:05:09 +02:00
András Bánki-Horváth
927cb3f0de
Merge pull request #934 from lightninglabs/dependabot/go_modules/swapserverrpc/golang.org/x/net-0.38.0
...
build(deps): bump golang.org/x/net from 0.9.0 to 0.38.0 in /swapserverrpc
2025-04-29 19:03:52 +02:00
Andras Banki-Horvath
026dff2cad
docs: update release notes
2025-04-29 19:01:03 +02:00
Andras Banki-Horvath
693d3a4ca0
liquidity: default to slow swaps for autloop
2025-04-29 18:56:49 +02:00
Andras Banki-Horvath
565acbb83f
looprpc: extend liquidity params with fast publication
2025-04-29 18:56:48 +02:00
dependabot[bot]
41a8b803e4
build(deps): bump golang.org/x/net in /swapserverrpc
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.9.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 13:45:32 -03:00
Boris Nagaev
7fb745954b
Merge pull request #932 from starius/fix-ci
...
Fix CI
2025-04-29 12:32:10 -03:00
Boris Nagaev
809586c86f
run make rpc
2025-04-29 11:21:54 -03:00
Boris Nagaev
4ab8a80db5
swapserverrpc: bump Go to 1.18
...
Protobuf v1.34.2 generates Go files that fail to compile with Go 1.16:
predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
Also ran "go mod tidy".
2025-04-29 11:21:53 -03:00
Boris Nagaev
56c960444e
Revert "Revert "make mod-check: run in sub-modules, GOPROXY=direct""
...
This reverts commit 7b0c383f8c .
Access to git.sr.ht/~sbinet/gg was restored, so the check now passes.
2025-04-29 10:29:34 -03:00
András Bánki-Horváth
49aef8ab8c
Merge pull request #931 from lightninglabs/dependabot/go_modules/looprpc/golang.org/x/net-0.38.0
...
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /looprpc
2025-04-29 13:13:40 +02:00
Boris Nagaev
664cde23ce
swapserverrpc: update protobuf to v1.34.2
2025-04-28 21:17:37 -03:00
dependabot[bot]
9553bec620
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /looprpc
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 19:00:51 +00:00
Slyghtning
903266ab6e
Merge pull request #892 from hieblmi/resign-withdrawal
...
staticaddr: allow rbf'ing withdrawal transactions
2025-04-28 20:13:09 +02:00
Slyghtning
b5af507c6b
staticaddr: don't ignore output-already-spent publish error
2025-04-28 19:43:29 +02:00
Slyghtning
ff44b3b640
staticaddr: log deposit state transition only if executed
2025-04-28 19:43:29 +02:00
Slyghtning
82e34a6d5e
staticaddr: allow rbf'ing withdrawal transactions
2025-04-28 19:43:28 +02:00
Slyghtning
3d1ba4e24b
Merge pull request #930 from ffranr/mv-perms-into-looprpc
...
perms: move perms.go into looprpc
2025-04-28 19:43:04 +02:00