2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
Commit Graph

1394 Commits

Author SHA1 Message Date
András Bánki-Horváth
bd2d39bd10
Merge pull request #203 from bhandras/lndclient_extension
lndclient: extend LightningClient with ListChannels and RouterClient with keysend
2020-05-21 20:09:02 +02:00
Andras Banki-Horvath
cf9c3748c3 lndclient: add keysend ability to RouterClient 2020-05-21 20:04:46 +02:00
Andras Banki-Horvath
4d3771430a lndclient: add ListChannels to LightningClient 2020-05-21 20:04:46 +02:00
Joost Jager
3316c4beed
Merge pull request #205 from joostjager/channel-set
loop out: allow outbound channel set for multi-loops
2020-05-21 13:06:52 +02:00
Joost Jager
23a1e33dfc
lndclient: document SendPaymentRequest fields 2020-05-21 11:22:08 +02:00
Joost Jager
ccec719423
looprpc: add outgoing channel set restriction
Expose the new channel set restriction on the loopd client rpc.
2020-05-21 11:22:06 +02:00
Joost Jager
8c544bf2ba
loopdb: store outgoing channel set
Upgrade the database schema to allow for multiple outgoing channels.
This is implemented as an on-the-fly migration leaving the old key in
place.
2020-05-21 11:22:04 +02:00
Joost Jager
044c1c12dd
loopdb/test: add database dump and restore tools 2020-05-21 11:22:02 +02:00
Joost Jager
bd6e3f405a
loopdb/test: parameterize loop out test 2020-05-21 11:22:00 +02:00
Joost Jager
c62acd5b85
lndclient: add outgoing channel set restriction
Expose the channel set restriction that was introduced in LND 0.10.1 on
the proxy object.
2020-05-21 11:21:58 +02:00
Joost Jager
503c83c29f
loopdb: unroll shared fetch logic
Split the fetch logic so that it is easier to add loop type-specific
serialization.
2020-05-21 11:21:56 +02:00
Joost Jager
9927139dd3
loopdb: extract update deserialization
Preparation to prevent code duplication in future refactoring.
2020-05-21 11:13:52 +02:00
Joost Jager
ba5577748b
loopdb: unroll shared creation logic
Another step in the separation of loop in and loop out. This prepares
for a new loop out-specific key to be added.
2020-05-21 11:13:50 +02:00
Joost Jager
c6697da90b
loopout/test: test payment parameters 2020-05-21 11:13:48 +02:00
Carla Kirk-Cohen
3f10407e9c
Merge pull request #208 from carlaKC/lndclient-lookupinvoice
lndclient: add lookup invoice
2020-05-21 09:06:35 +02:00
carla
a57e34c71f
lndclient: add lookup invoice function to client interface 2020-05-21 08:59:54 +02:00
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.
2020-05-21 08:59:52 +02:00
carla
87a0a0c588
lndclient: add lookup invoice function to client implementation 2020-05-21 08:59:21 +02:00
Joost Jager
dae3165b9b
Merge pull request #206 from joostjager/doc-api-support
readme: document api support level
2020-05-20 14:12:46 +02:00
Joost Jager
d28492fa53
readme: document api support level 2020-05-19 12:37:11 +02:00
Olaoluwa Osuntokun
e97ec65444
lndclient: also set gRPC max resp size for sub-servers
In this commit, we now ensure that we set the max resp size for the
sub-server connection we create. Without this, it's possible that
several calls fail if the responses aren't yet paginated, or are very
large.
2020-05-18 14:38:42 -07:00
Joost Jager
2ec580c92b
Merge pull request #201 from joostjager/improve-release-script
release: add tag and version verification to release script
2020-05-14 12:08:39 +02:00
Joost Jager
6ac3d39d19
release: add tag and version verification to release script 2020-05-14 11:33:39 +02:00
Joost Jager
2ddbe23418
build: mark build as default target 2020-05-14 11:33:37 +02:00
Joost Jager
9fba8eb8d8
Merge pull request #200 from joostjager/bump-version-0.6.2-beta
version: bump to v0.6.2-beta
2020-05-12 21:24:24 +02:00
Joost Jager
f6750d67bc
version: bump to v0.6.2-beta
We can't remove the previous tag, so need to bump again unfortunately.
2020-05-12 21:14:32 +02:00
Joost Jager
06267b7442
Merge pull request #199 from joostjager/bump-version-0.6.1-beta
version: bump version to 0.6.1-beta
2020-05-12 21:06:23 +02:00
Joost Jager
2d47514306
version: bump version to 0.6.1-beta 2020-05-12 21:00:19 +02:00
Joost Jager
d01c33cbb6
Merge pull request #198 from bhandras/segwit_fix
loopin: fix htlc address in LoopIn SwapResponse
2020-05-12 19:21:44 +02:00
Andras Banki-Horvath
936bb851f2 loopin: fix htlc address in LoopIn SwapResponse 2020-05-12 18:51:42 +02:00
Joost Jager
f36d5a79f7
Merge pull request #196 from joostjager/fix-multi-loop-out
loopd: fix setting of max parts
2020-05-12 10:13:55 +02:00
Joost Jager
27a2b1a775
loopd: fix setting of max parts 2020-05-12 09:34:57 +02:00
Joost Jager
33a049f8e9
Merge pull request #184 from bhandras/native-segwit
support for native segwit loop-in
2020-05-05 17:08:05 +02:00
Andras Banki-Horvath
c6e3829acd looprpc: bump protocol version 2020-05-05 15:49:06 +02:00
Andras Banki-Horvath
5215222ced cmd: print both htlc addresses when monitoring a loop-in 2020-05-05 15:49:06 +02:00
Andras Banki-Horvath
0aa978bd09 loopin: modify internally published htlc to use p2wsh 2020-05-05 15:49:06 +02:00
Andras Banki-Horvath
f0aff9b7bd looprpc+loopin: support for native segwit htlcs
This commit extends SwapResponse and SwapStatus with np2wsh and p2wsh
htlc output addresses to support both nested and native segwit htlcs
in loop-in.

Furthermore the commit adds support for native segwith loop-in htlcs.
When the htlc is paid internally, as of this commit we'll use NP2WSH,
otherwise users are free to select whether to pay the NP2WSH or the
P2WSH htlc.
2020-05-05 15:49:05 +02:00
Andras Banki-Horvath
62f654eef1 client: make ListSwaps thread safe 2020-05-04 23:18:15 +02:00
Andras Banki-Horvath
60661504a5 htlc: add string representation for HtlcOutputType enum 2020-05-04 23:18:15 +02:00
Andras Banki-Horvath
87cc5571ef general: add ExternalHtlc to SwapInfo and add comments 2020-05-04 23:18:15 +02:00
Andras Banki-Horvath
b2b0bad951 loopin+loopout: move htlc out of swapKit
This commit moves htlc out of swapkit in preparation of adding separate
p2wsh and np2wsh htlcs to loop-in swaps.
2020-05-04 23:18:14 +02:00
Andras Banki-Horvath
7a44eec36f loopin: refactor LoopIn to return struct instead of tuple 2020-05-04 18:19:20 +02:00
Carla Kirk-Cohen
b070a4fb07
Merge pull request #192 from carlaKC/travis-depth
traivs: set depth to false to clone whole repo
2020-05-04 15:02:08 +02:00
carla
0c01e95433
traivs: set depth to false to clone whole repo
Overwrite travis's default of only cloning the last 50 commands so
that travis can find the reference point for our linter.

As in lightningnetwork/lnd/pull/4026
2020-05-04 14:02:30 +02:00
Alex Bosworth
ac096132b0
Merge pull request #188 from lightninglabs/v0.6.0-beta
version: bump version to 0.6.0-beta
2020-04-30 13:43:07 -07:00
Alex Bosworth
659ad8bdd9
version: bump version to 0.6.0-beta
Increment version number
2020-04-29 13:49:25 -07:00
Joost Jager
350b40fa5b
Merge pull request #187 from joostjager/routerclient-failure-reason
lndclient: expose failure reason
2020-04-28 20:01:16 +02:00
Joost Jager
c061206406
lndclient: expose failure reason 2020-04-28 19:49:59 +02:00
Joost Jager
b054e84eb2
Merge pull request #186 from joostjager/report-version
multi: report protocol version
2020-04-28 19:21:53 +02:00
Joost Jager
92730e0eaf
multi: report protocol version 2020-04-28 16:01:30 +02:00