Commit Graph

1392 Commits (master)
 

Author SHA1 Message Date
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.
1 year ago
András Bánki-Horváth dbf6fe0ee7
Merge pull request #559 from GeorgeTsagk/autoloop-parse-old-budget
Autoloop parse old budget to new parameters
1 year ago
George Tsagkarelis 55c769ef9d
liquidity: parse old auto budget to new parameters 1 year ago
George Tsagkarelis 72f284ecb4
looprpc: restore autoloop_budget_start_sec 1 year ago
András Bánki-Horváth e34653ecd3
Merge pull request #556 from GeorgeTsagk/autoloop-expose-last-refresh 1 year ago
George Tsagkarelis aca6428b0e
liquidity+loopd: move last budget refresh to parameters 1 year ago
George Tsagkarelis 74f6cc8d4b
looprpc: add last budget refresh to rpc parameters 1 year ago
Olaoluwa Osuntokun 55845ff8ca
Merge pull request #548 from GeorgeTsagk/autoloop-amount-backoff
Autoloop amount backoff
1 year ago
George Tsagkarelis c17e5a6fc6
liquidity: fix tests for autoloop sticky loop out 1 year ago
George Tsagkarelis af7a470aea
liquidity+loopd: add sticky loop out swap with amount backoff 1 year ago
George Tsagkarelis 1996160576
loop: extend store mock to implement new methods 1 year ago
George Tsagkarelis 7c6abc0d67
loopdb: add tests for new store methods 1 year ago
George Tsagkarelis 4f20239dbb
loopdb: extend store methods for fetching single swap 1 year ago
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
1 year ago
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>
1 year ago
Konstantin Nick e188763d3e
Merge pull request #551 from GeorgeTsagk/recurring-budget
multi: add recurring autoloop budget
1 year ago
George Tsagkarelis 1ff2e5c228
docs: add recurring budget and release note 1 year ago
George Tsagkarelis 3b896babc6
liquidity: add test for recurring budget 1 year ago
George Tsagkarelis 5d6be011f9
liquidity: tweak autoloop tests for recurring budget 1 year ago
George Tsagkarelis b025b9ae37
multi: add recurring autoloop budget 1 year ago
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
1 year ago
Andras Banki-Horvath 4ab6c65186
dep+build: bump LND dependency to include GenCertPair fix 1 year ago
András Bánki-Horváth 3bd46249d4
Merge pull request #546 from bhandras/versioned-musig2-htlc
loop: versioned MuSig2 HTLCs
1 year ago
Andras Banki-Horvath 01970ad133
bump Travis CI Go version to 1.19.2 1 year ago
Andras Banki-Horvath 52eca23918
ci: bump GitHub CI Go version to 1.19.2 1 year ago
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.
1 year ago
Andras Banki-Horvath 476f47275b
loopd: set minimum LND version to 0.15.99-beta 1 year ago
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.
1 year ago
Alex Bosworth d5336adbeb
Merge pull request #544 from lightninglabs/update-to-v0.21.0
version: bump version to v0.21.0-beta
1 year ago
Alex Bosworth 9a32b009f9
version: bump version to v0.21.0-beta 1 year ago
Konstantin Nick bbe7c697ea
Merge pull request #542 from GeorgeTsagk/autoloop-custom-addr
liquidity: add `destaddr` parameter for autoloop loop out
1 year ago
George Tsagkarelis e1ecc277d4
docs: update release notes for autoloop destaddr 1 year ago
George Tsagkarelis a14f6e8bd6
liquidity: add autoloop test for outaddr 1 year ago
George Tsagkarelis fa0393b331
multi: add OutAddr parameter for autoloop loop out 1 year ago
George Tsagkarelis 0ef205cb24
looprpc: add autoloop outaddr 1 year ago
Konstantin Nick 44ba94ead2
Merge pull request #527 from sputn1ck/github_actions
ci: add github actions
1 year ago
sputn1ck 4803941b88
ci: add github actions 1 year ago
sputn1ck 4baf88c414
multi: fix linter issues
This commit fixes outstanding linter issues, that we're not found by
running `make lint` locally. The linter issues were found by running
`docker run -v $(pwd):/build loop-tools golangci-lint run --whole-files`

I added the `revive` to the excludes as it would be to much of a
refactor and IMO seems unneccesary. E.g.
`interface.go:222:6: exported: type name will be used as
loop.LoopInTerms by other packages, and that stutters; consider
 calling this InTerms (revive)`. I think `loop.LoopInTerms` is fine.
1 year ago
András Bánki-Horváth 446f163530
Merge pull request #541 from bhandras/htlc-v3-interal-key
swap: refactor htlc construction to allow passing of internal keys
1 year ago
Andras Banki-Horvath 049b17ff96
misc: refactor loop tests to use require where possible 1 year ago
Andras Banki-Horvath bdb4b773ed
swap: refactor htlc construction to allow passing of internal keys
This commit is a refactor of how we construct htlcs to make it possible
to pass in internal keys for the sender and receiver when creating P2TR
htlcs. Furthermore the commit also cleans up constructors to not pass in
script versions and output types to make the code more readable.
1 year ago
András Bánki-Horváth 35e0120e8f
Merge pull request #539 from bhandras/loopd_minimum_version
loopd: bump minimum lnd version to v0.15.4
2 years ago
Andras Banki-Horvath 105d3d1ab4
loopd: bump minimum lnd version to v0.15.4 2 years ago
András Bánki-Horváth 05d8fb4ea3
Merge pull request #538 from lightninglabs/dependabot/go_modules/github.com/lightningnetwork/lnd-0.15.4-beta
build(deps): bump github.com/lightningnetwork/lnd from 0.15.3-beta to 0.15.4-beta
2 years ago
dependabot[bot] 113f30bd83
build(deps): bump github.com/lightningnetwork/lnd
Bumps [github.com/lightningnetwork/lnd](https://github.com/lightningnetwork/lnd) from 0.15.3-beta to 0.15.4-beta.
- [Release notes](https://github.com/lightningnetwork/lnd/releases)
- [Changelog](https://github.com/lightningnetwork/lnd/blob/master/docs/release.md)
- [Commits](https://github.com/lightningnetwork/lnd/compare/v0.15.3-beta...v0.15.4-beta)

---
updated-dependencies:
- dependency-name: github.com/lightningnetwork/lnd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
András Bánki-Horváth 78e35d4b0b
Merge pull request #535 from bhandras/sunset-htlcv1
multi: sunset support for nested segwit HTLCs
2 years ago
Andras Banki-Horvath 7341a14280
docs: update release notes 2 years ago
Andras Banki-Horvath 88956455b4
multi: completely remove support for NP2WSH htlcs
This commit removes all code related to NP2WSH htlcs. These were
historically used when segwit adoption was very sporadic and are not
used anywhere anymore. Some historical swaps stored in the DB may be
listed with incorrect htlc adresses from here on.
2 years ago
Andras Banki-Horvath b36885fb65
loopd: correct htlc output type on view command
Previously view may have set the output type wrongly for internal p2wsh
and p2tr loop-in swaps which is corrected in this commit.
2 years ago
Alex Bosworth 17a1a3fcc7
Merge pull request #534 from lightninglabs/update-to-v0.20.2
version: bump version to v0.20.2-beta
2 years ago