Commit Graph

25 Commits (master)

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
sputn1ck a1271fee40
multi: fix linter issues 2 years ago
Harsha Goli 7a16e3b25d
multi: bump btcec/v2 and btcutil to new versions 2 years ago
Andras Banki-Horvath 01bf94ad11
tests: add unit tests for the low/high routing plugin 2 years ago
Harsha Goli 9db43a4dbd
loop: Reimplement SelectHopHints from lnd
In this commit, instead of importing SelectHopHints from lnd, we chose
to reimplement the functionality here, for the purpose of adding hop
hints in case the user informs us the client node is considered private.

In the future, we should modify the origin SelectHopHints to take
closures for all it's data sources, so we can use it's logic external
2 years ago
carla cca5926263
multi: bump lndclient to v0.12.0-13
To allow code with more up-to-date dependencies to import loop, we
bump our lndclient version. The minimum loop version remains 11.1
since we're not using any new apis.
2 years ago
carla 692620d367
liquidity: add fee budget to swap suggestions
Add a dated fee budget to our swap suggestions. This budget only applies
to automatically dispatched swaps (which will be added in later
commits). We choose to apply the fee budget to our suggestions so that
they perfectly replicate what the autolooper would do. The budget has a
start date so that it can be refreshed once it has been used up over a
period (rather than having to endlessly increase it).
4 years ago
carla 435238ac03
mutli: bump lndclient version
We need the newer version of lndclient to get our synced to chain
state. This requires changes to our test mock, so it is separated
into a different commit. Since lndclient is expanding to be used in
projects other than loop, the client interface is embedded in our
mock rather than implementing functions we do not need. Functions that
we already use in tests are updated accordingly.

Note that while this commit bumps us to a version of lndclient that
defaults to requiring lnd 0.11, we do not bump our required version
yet because we are not using any new endpoints.
4 years ago
Joost Jager 0c9fcd790e
lndclient: move to github.com/lightninglabs/lndclient 4 years ago
carla c76f2c4cf1
lndclient: update listTransactions to return full transaction 4 years ago
carla 475c7f29f1
lndclient: add listpayments endpoint 4 years ago
carla 5ca018613b
lndclient: add listinvoices to client 4 years ago
carla e016d2ebf4
lndclient: add forwarding history call 4 years ago
carla c1a9889e4d
lndclient: add closed channels to lnd client 4 years ago
Andras Banki-Horvath 4d3771430a lndclient: add ListChannels to LightningClient 4 years ago
carla 8b1cdd414c
test/test: add lookup invoice to mock lightning client
Track the invoices we create with AddInvoice so that we can
realistically lookup and settle with the mock.
4 years ago
Wilmer Paulino a5f56342df
lndclient: expose retrieval of channel backups through LightningClient 4 years ago
Wilmer Paulino 1ea58ad3d6
Merge pull request #125 from wpaulino/lndclient-listtransactions
lndclient: expose ListTransactions as part of LightningClient
4 years ago
Wilmer Paulino 43579b017f
lndclient: expose ListTransactions as part of LightningClient 4 years ago
Oliver Gugger 162b2589e0
lndclient: return node URIs from GetInfo call 4 years ago
Oliver Gugger fc44ee8785
lndclient: fix Value/ValueMsat conversion problem 4 years ago
Joost Jager 3e960b8b54
multi: loop in swap 5 years ago
Olaoluwa Osuntokun 908d82acdb
loop: extract code from client package into new loop primary package 5 years ago
Olaoluwa Osuntokun a770e3d7c1
loop: update all import paths to public repo 5 years ago
Joost Jager 21fcd8d94e
Lightning Loop initial version 5 years ago