2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-04 06:00:21 +00:00
Commit Graph

375 Commits

Author SHA1 Message Date
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
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
Joost Jager
a15db0a576
Merge pull request #185 from joostjager/config-max-parts
loopd: make maximum number of payment parts configurable
2020-04-27 17:29:34 +02:00
Joost Jager
12ae3d6a40
loopd: make maximum number of payment parts configurable 2020-04-27 16:32:12 +02:00
Joost Jager
5588876b48
loopd: extract client configuration 2020-04-27 16:30:44 +02:00
Joost Jager
65375723b4
lndclient: upgrade to lnd v0.10.0-beta-rc5 2020-04-27 16:30:42 +02:00
Joost Jager
7cb914927f
looprpc: fix formatting 2020-04-27 15:43:32 +02:00
Oliver Gugger
e99202ced5
Merge pull request #181 from guggero/lnd-version-aware
Make loop aware of lnd's version
2020-04-24 11:11:47 +02:00
Oliver Gugger
e7f41fa370
README: add version compatibility table 2020-04-24 10:10:17 +02:00
Oliver Gugger
ad4e1e971e
loopd: check lnd version and subservers 2020-04-24 10:04:42 +02:00
Oliver Gugger
3da09aac0e
client: use cached info to log connected node 2020-04-24 10:04:42 +02:00
Oliver Gugger
8848d30fb3
lndclient: check and cache version compatibility on connect 2020-04-24 10:04:39 +02:00
Oliver Gugger
211586e614
lndclient: cache node info on connect 2020-04-24 10:03:34 +02:00
Oliver Gugger
44d05f284b
lndclient+test: add versioner client and mock 2020-04-24 09:59:05 +02:00
Oliver Gugger
a8e6118cfb
loopd+lndclient: extract config parameters into struct 2020-04-24 09:59:05 +02:00
Oliver Gugger
899d04470b
lndclient: add readonly macaroon to pouch 2020-04-24 09:59:04 +02:00
Oliver Gugger
f6a941244e
lndclient: use readonly macaroon for startup check 2020-04-24 09:58:57 +02:00
Joost Jager
23d646ea6a
Merge pull request #183 from joostjager/routerrpc-v2
lndclient: move to V2 payment methods
2020-04-22 14:11:11 +02:00
Joost Jager
e0b987f403
lndclient: move to V2 payment methods
Otherwise mpp isn't supported.
2020-04-22 14:02:03 +02:00
Oliver Gugger
bf6f6b31f4
client: fix some comments 2020-04-22 13:52:05 +02:00
Oliver Gugger
4f1ecd9344
Merge pull request #180 from guggero/docs-update
cmd/loop+README: explain fees and optimize fee display
2020-04-21 15:57:10 +02:00