Commit Graph

1015 Commits (a7451622e52a8911b0b58c6096d8552a8d6e969e)
 

Author SHA1 Message Date
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
Alex Bosworth 7ba67655ef
version: bump version to v0.20.2-beta 2 years ago
Konstantin Nick 0d887ac173
Merge pull request #533 from sputn1ck/lnd0.15.3fix
utils: fix SelectHopHints for lnd0.15.3
2 years ago
sputn1ck 83a1848d56
utils: fix SelectHopHints for lnd0.15.3
This commit adds the old SelectHopHints logic to utils in order to allow
loop to compile with lnd0.15.3
2 years ago
András Bánki-Horváth f5806aebef
Merge pull request #531 from bhandras/p2tr-fixes
sweep: fix sweep fee estimation for p2tr outputs
2 years ago
András Bánki-Horváth 2352310691
Merge pull request #532 from bhandras/bump-lnd-0.15.1
loopd: bump minimum lnd version to v0.15.1-beta
2 years ago
Andras Banki-Horvath aba1ae6163
docs: update release notes 2 years ago
Andras Banki-Horvath 977b72019d
loopd: bump minimum lnd version to v0.15.1-beta
In this commit we bump the minimum LND version required to run loopd to
v0.15.1-beta in order to ensure that the underlying chain backend
supports taproot (https://github.com/lightningnetwork/lnd/pull/6798)
2 years ago
Andras Banki-Horvath 8d21042432
sweeper: fix formatting and update error 2 years ago
Andras Banki-Horvath ebd44ab4c2
sweep: fix sweep fee estimation for p2tr outputs 2 years ago
Oliver Gugger 9c30101500
Merge pull request #526 from kaloudis/patch-1
looprpc/gen_protos.sh: remove js build tag
2 years ago
Evan Kaloudis 84d3adf969
looprpc/gen_protos.sh: remove js build tag 2 years ago
Alex Bosworth f26115effc
Merge pull request #517 from lightninglabs/bump-to-v0.20.1-beta
version: bump version to v0.20.1-beta
2 years ago
Alex Bosworth bc6be03104
version: bump version to v0.20.1-beta
bump version
2 years ago
András Bánki-Horváth e8d6d3cd7f
Merge pull request #515 from bhandras/sweep-tx-log
loopout: log failed sweeps for more detail
2 years ago
Andras Banki-Horvath a9dbaee102
loopout: log failed sweeps to allow out of band publish 2 years ago
Alex Bosworth 535b84c074
Merge pull request #514 from lightninglabs/v0.20.0-bump
version: bump version to v0.20.0-beta
2 years ago
Alex Bosworth 3a4fefc2bd
version: bump version to v0.20.0-beta 2 years ago
András Bánki-Horváth 34644bdf0d
Merge pull request #509 from bhandras/musig2-sweep-psbt
loopout: use psbt when obtaining the MuSig2 signature
2 years ago
Andras Banki-Horvath f8da106338
loopout: use psbt when obtaining the MuSig2 signature
In this commit we deprecate the sighash field from the
MuSig2SignSweepReq request in favour of using a psbt serialized sweep
transaction instead. This way the sever gains full transparency about
client sweep requests and can assemble the sighash to sign on its own.
2 years ago
Konstantin Nick e80852f9ba
Merge pull request #508 from sputn1ck/lnd-15
multi: bump lndclient and lnd version to latest
2 years ago
sputn1ck 0f924b36cd
multi: bump lndclient and lnd version to latest
Co-authored-by: Oliver Gugger <gugger@gmail.com>
2 years ago
András Bánki-Horváth 11ab596080
Merge pull request #497 from bhandras/taproot-musig2
multi: upgrade to using P2TR htlcs and added support for MuSig2 loopout sweep
2 years ago
Andras Banki-Horvath 5f4b34d8b4
docs: update release notes 2 years ago
Andras Banki-Horvath 85145ca4bb
loop: set minimum LND version to 0.15.0 2 years ago
Andras Banki-Horvath 5d7b0abdf5
loopout: add unit test for the MuSig2 sweep case 2 years ago
Andras Banki-Horvath 82b58e5c0e
loopout: attempt cooperative musig2 sweep
This commit adds optional cooperative musig2 sweep by calling the server
to create a partial signature for the sweep if we'd otherwise be allowed
to spend the htlc. If the cooperative musig2 spend fails, we always fall
back to use the scriptpath spend.
2 years ago
Andras Banki-Horvath 32557a57ea
swapserverrpc: add MuSig2SignSweep function 2 years ago