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

22 Commits

Author SHA1 Message Date
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
carla
fc99c8b320
multi: add confirmation target to loop in 2020-04-17 09:56:21 +02:00
Oliver Gugger
f5fbf6655d
looprpc: clarify loop quote response 2020-03-06 09:30:28 +01:00
Oliver Gugger
1811aa49a3
looprpc: remove streaming REST endpoint, fix comment 2020-02-18 09:27:19 +01:00
Joost Jager
535e964ec9
loopdb: migrate loop in channel to last hop
A database field was already in place to allow channel selection for
loop in. Unfortunately this field, which contains a short channel id,
isn't easily usable for controlling the loop server payment. Because of
non-strict forwarding, it is only possible to constrain a route to a
specific last hop pubkey.

This commit converts the existing field into a pubkey field.
2020-02-17 19:59:05 +01:00
Olaoluwa Osuntokun
fec3586e21
looprpc: re-gen protos 2020-02-04 18:45:27 -08:00
Oliver Gugger
b694a76be0
looprpc+loopd: deprecate string ID 2020-01-31 13:57:28 +01:00
Oliver Gugger
3e25bc3174
loopd+looprpc: add REST compatible status calls 2020-01-31 13:57:22 +01:00
Johan T. Halseth
b102802ce5
looprpc: add SwapPublicationDeadline to QuoteRequest 2020-01-07 13:43:39 +01:00
Oliver Gugger
47bf510bd8
loopd: add RPC method to list tokens 2019-12-06 09:23:52 +01:00
Johan T. Halseth
ea1f9ff8ba
looprpc: add SwapPublicationDeadline to client proto
cmd/loopd swapclient_server: use SwapPublicationDeadline from LoopOutRequest
2019-11-21 18:47:01 +01:00
Johan T. Halseth
0cff92d265
looprpc+cmd: deprecate dynamic terms
We move destination and cltv to QuoteResponse, and deprecate the
non-static fields.

Terms will now only show max/min swap sizes.
2019-10-08 22:28:20 +02:00
Oliver Gugger
be9a2b9a47
looprpc: add external HTLC flag to quote request 2019-09-23 09:58:52 +02:00
Oliver Gugger
036db6646f
looprpc: regenerate with correct version 2019-09-23 09:54:33 +02:00
Nigel Christian
861808530a loop: add REST endpoints for Loop In 2019-09-04 20:48:48 -07:00
Wilmer Paulino
c16e170338
multi: expose confirmation target for loop out HTLC sweep 2019-07-10 18:00:47 -07:00
Wilmer Paulino
a138790822
multi: expose confirmation target for loop out quotes 2019-07-10 18:00:46 -07:00
Joost Jager
6aa9071c4d
looprpc+loop: report swap cost over rpc 2019-05-20 13:57:20 +02:00
Joost Jager
b5d2fb3894
loopd: add loop in state InvoiceSettled 2019-04-02 10:54:40 +02:00
Joost Jager
2e48ead6d6
loopd: loop in from external address
Allow user to specify that htlc will be published by an external source.
In that case no internal htlc tx will be published.

To facilitate sending to the htlc address, the swap initiation response
is extended with that address.
2019-04-02 00:02:04 +02:00
Joost Jager
3e960b8b54
multi: loop in swap 2019-03-28 11:56:49 +01:00
Wilmer Paulino
9edb910f53
looprpc: generate client REST definitions 2019-03-12 15:34:45 -07:00