Andras Banki-Horvath
a8dd2dca07
loop: correct htlc script version for very old swaps
2023-04-20 08:12:09 +02:00
András Bánki-Horváth
843fe82d23
Merge pull request #570 from bhandras/bump-docker-golang
...
build: bump golang version in the main Dockerfile
2023-04-13 14:11:27 +02:00
Andras Banki-Horvath
6827f766c9
build: bump golang version in the main Dockerfile
2023-04-13 14:10:28 +02:00
George Tsagkarelis
bf4f72fd8d
liquidity: exclude prepay from total swap fees
2023-04-12 19:02:13 +03:00
András Bánki-Horváth
257b5f212d
Merge pull request #563 from guggero/remove-swapserverrpc-replace
...
Remove swapserverrpc replace
2023-03-29 20:46:41 +02:00
Oliver Gugger
dbfd32e349
mod: remove local replace for swapserverrpc
2023-03-29 20:01:47 +02:00
Oliver Gugger
6a3f731dc8
mod: bump swapserverrpc to latest tag
2023-03-29 20:01:29 +02:00
Alex Bosworth
d44fbcd575
Merge pull request #562 from lightninglabs/update-to-v0.22.0
...
version: bump version to v0.22.0-beta
2023-03-29 09:08:44 -07:00
Konstantin Nick
2955f92291
Merge pull request #558 from sputn1ck/fix_macaroon_aperture
2023-03-29 17:48:47 +03:00
Alex Bosworth
3ddb28d5c4
version: bump version to v0.22.0-beta
2023-03-29 07:45:56 -07:00
sputn1ck
ec2ed79f48
loopd: fix macaroons typo
...
This commit fixes a typo which leads to a broken macaroon store.
2023-03-29 16:19:08 +02:00
András Bánki-Horváth
2bf9b424ae
Merge pull request #561 from bhandras/lnd-v0.16.0-beta
...
build: bump lnd dep to v0.16.0-beta
2023-03-29 16:17:14 +02:00
Andras Banki-Horvath
4d34eb97ce
build: fixup new linter issues
2023-03-29 15:56:40 +02:00
Andras Banki-Horvath
451311d582
build: bump lnd dep to v0.16.0-beta
2023-03-29 15:39:14 +02:00
András Bánki-Horváth
7f19c43047
Merge pull request #547 from bhandras/musig-keyreveal
...
loop: Loop In MuSig2 support
2023-03-23 15:23:42 +01:00
Andras Banki-Horvath
cd91f90ed2
loop: use MuSig2 1.0 scheme for the new MuSig2 swaps
2023-03-20 20:08:43 +01:00
Andras Banki-Horvath
b47f67a6de
loopin: push the htlc internal key if the invoice is swept
...
This commit adds key reveal to MuSig2 loopin swaps' success path. In
this case the client reveals their internal HTLC key to the server when
the swap invoice is settled. With this key the server can sweep the swap
HTLC without any more interaction from the client. We'll do this every
block (after the invoice has been settled).
2023-03-20 20:08:43 +01:00
Andras Banki-Horvath
90ae922adf
loopin: generate and send internal key for MuSig2 swaps
...
This commit changes how we create loopin swaps if the client activates
the experimental MuSig2 features. When creating a new loopin swap the
client will create (and store) a new key that will be used as the
sender's internal key when constructing the HTLC. The client will send
the public part to the server and will also receive (and store) the
server's (receiver) internal public key.
2023-03-20 20:08:43 +01:00
Andras Banki-Horvath
da4bcbea10
loopdb: refactor the SwapContract to hold all HTLC keys
...
This commit adds a new struct to hold all HTLC keys and refactors the
SwapContract which is used by both loopin and loopout swaps to use this
new struct. The newly added internal keys will for now hold the script
keys to keep everything equivalent but are already stored and read back
if the protocol version is set to MuSig2.
2023-03-20 20:08:43 +01:00
Andras Banki-Horvath
cc5e26b9c9
proto: extend protocol with key reveal building blocks and new version
...
This commit adds a new protocol version which will add MuSig2 loop in
and loop out using key reveal and extends the existing protocol with new
message members to be able to pass around htlc internal public keys.
The commit also fixes some minor formatting issues in the server proto.
2023-03-20 20:08:42 +01:00
András Bánki-Horváth
dbf6fe0ee7
Merge pull request #559 from GeorgeTsagk/autoloop-parse-old-budget
...
Autoloop parse old budget to new parameters
2023-03-20 17:29:49 +01:00
George Tsagkarelis
55c769ef9d
liquidity: parse old auto budget to new parameters
2023-03-20 17:20:56 +02:00
George Tsagkarelis
72f284ecb4
looprpc: restore autoloop_budget_start_sec
2023-03-20 17:20:54 +02:00
András Bánki-Horváth
e34653ecd3
Merge pull request #556 from GeorgeTsagk/autoloop-expose-last-refresh
2023-03-17 18:25:09 +01:00
George Tsagkarelis
aca6428b0e
liquidity+loopd: move last budget refresh to parameters
2023-03-16 02:10:32 +02:00
George Tsagkarelis
74f6cc8d4b
looprpc: add last budget refresh to rpc parameters
2023-03-14 16:49:08 +02:00
Olaoluwa Osuntokun
55845ff8ca
Merge pull request #548 from GeorgeTsagk/autoloop-amount-backoff
...
Autoloop amount backoff
2023-03-08 15:26:01 -08:00
George Tsagkarelis
c17e5a6fc6
liquidity: fix tests for autoloop sticky loop out
2023-03-09 00:43:07 +02:00
George Tsagkarelis
af7a470aea
liquidity+loopd: add sticky loop out swap with amount backoff
2023-03-09 00:43:07 +02:00
George Tsagkarelis
1996160576
loop: extend store mock to implement new methods
2023-03-09 00:43:07 +02:00
George Tsagkarelis
7c6abc0d67
loopdb: add tests for new store methods
2023-03-09 00:43:06 +02:00
George Tsagkarelis
4f20239dbb
loopdb: extend store methods for fetching single swap
2023-03-09 00:43:06 +02:00
András Bánki-Horváth
ec4f250753
Merge pull request #553 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.7.0
...
build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0
2023-03-07 12:54:51 +01:00
dependabot[bot]
04a9a81078
build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 23:57:44 +00:00
Konstantin Nick
e188763d3e
Merge pull request #551 from GeorgeTsagk/recurring-budget
...
multi: add recurring autoloop budget
2023-02-23 10:13:45 +01:00
George Tsagkarelis
1ff2e5c228
docs: add recurring budget and release note
2023-02-22 19:48:04 +02:00
George Tsagkarelis
3b896babc6
liquidity: add test for recurring budget
2023-02-22 19:48:04 +02:00
George Tsagkarelis
5d6be011f9
liquidity: tweak autoloop tests for recurring budget
2023-02-22 19:48:04 +02:00
George Tsagkarelis
b025b9ae37
multi: add recurring autoloop budget
2023-02-22 19:48:03 +02:00
András Bánki-Horváth
2fff034820
Merge pull request #552 from bhandras/lnd-16-bump
...
dep+build: bump LND dependency to include GenCertPair fix
2023-02-09 13:42:56 +01:00
Andras Banki-Horvath
4ab6c65186
dep+build: bump LND dependency to include GenCertPair fix
2023-02-09 11:22:14 +01:00
András Bánki-Horváth
3bd46249d4
Merge pull request #546 from bhandras/versioned-musig2-htlc
...
loop: versioned MuSig2 HTLCs
2023-02-07 11:18:39 +01:00
Andras Banki-Horvath
01970ad133
bump Travis CI Go version to 1.19.2
2023-02-06 20:46:04 +01:00
Andras Banki-Horvath
52eca23918
ci: bump GitHub CI Go version to 1.19.2
2023-02-06 20:46:03 +01:00
Andras Banki-Horvath
e8cfe4cea9
swap: pass in MuSig2 version when creating taproot HTLCs
...
This commit adds the MuSig2 version as an input parameter when creating
Taproot htlcs. This will allow us to create both old and new MuSig2
Taproot HTLCs correctly.
2023-02-06 20:46:03 +01:00
Andras Banki-Horvath
476f47275b
loopd: set minimum LND version to 0.15.99-beta
2023-02-06 20:46:03 +01:00
Andras Banki-Horvath
a7451622e5
mod: bump LND and lndclient to include musig2 1.0rc2 changes
...
This commit bumps LND and lndclient to make it possible to upgrade
taproot HTLC construction with a MuSig2 version. This is required to
support both old (MuSig2 0.4) and new (MuSig2 1.0) clients.
2023-02-06 20:46:03 +01:00
Alex Bosworth
d5336adbeb
Merge pull request #544 from lightninglabs/update-to-v0.21.0
...
version: bump version to v0.21.0-beta
2022-12-16 12:46:24 -08:00
Alex Bosworth
9a32b009f9
version: bump version to v0.21.0-beta
2022-12-16 10:02:44 -08:00
Konstantin Nick
bbe7c697ea
Merge pull request #542 from GeorgeTsagk/autoloop-custom-addr
...
liquidity: add `destaddr` parameter for autoloop loop out
2022-12-16 11:53:55 +01:00