Commit graph

49 commits

Author SHA1 Message Date
Joost Jager
1869ad670f
looprpc: expose server message to clients 2020-06-30 16:59:10 +02:00
Oliver Gugger
3a38f8faa4
cmd/loopd: add tlsCertPath and macaroonPath flags 2020-05-28 12:34:41 +02:00
Joost Jager
a3924cfbc4
cmd/loop: fix channel parsing 2020-05-25 08:43:38 +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
Andras Banki-Horvath
5215222ced cmd: print both htlc addresses when monitoring a loop-in 2020-05-05 15:49:06 +02:00
Oliver Gugger
3ea07f167f
cmd/loop: clarify some flag descriptions 2020-04-21 15:53:18 +02:00
Oliver Gugger
3b630667a5
cmd/loop: improve displayed limits 2020-04-21 15:53:18 +02:00
carla
fc99c8b320
multi: add confirmation target to loop in 2020-04-17 09:56:21 +02:00
carla
1f5aeff45f
multi: unify default sweep/htlc conf targets
Create a HtlcConfTarget which is used as a default for quote
and loop in. Update loop out quote to use the existing var
rather than just 6 inline.
2020-04-17 09:40:18 +02:00
carla
e36c5a45d3
loop: fix loop in quote conf target flag usage field 2020-04-15 09:19:29 +02:00
Alex Bosworth
933f1b81d1
cmd/loop: bump rate maximum
Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change
2020-03-13 14:03:20 -07:00
Oliver Gugger
acdd2a22b2
cmd/loop: warn user if fee estimation fails 2020-03-06 10:13:17 +01:00
Oliver Gugger
a57a2947b5
cmd/loop: add loop in quote command 2020-03-04 16:39:54 +01:00
Joost Jager
b69e8cb275
multi: allow loop in last hop restriction 2020-02-17 19:59:07 +01:00
Oliver Gugger
60e1fd2481
cmd/loop: remove number of flags restriction
With the restriction in place, it is not possible to use the
--conf_target and --fast flag at the same time. To avoid similar
problems in the future, the check for the number of amounts is
removed completely.
2020-02-06 14:04:26 +01:00
Oliver Gugger
2dc7d465fa
mod+cli: default to hex encoding for byte slices 2020-01-31 13:57:29 +01:00
Oliver Gugger
26c0c17dbd
loopd+cli: set max gRPC message receive size 2020-01-31 13:57:26 +01:00
Oliver Gugger
d446d68eeb
cmd/loop: add listswaps and swapinfo commands 2020-01-31 13:57:25 +01:00
Olaoluwa Osuntokun
e4ffb0803c
Merge pull request #128 from Free-FreeThinker/free--max-routing-fee-config
Add option for max swap off-chain routing fee
2020-01-13 22:01:28 -08:00
FreeThinker
321f5f791d cmd/loop: add an option for max off chain swap fee 2020-01-12 14:20:39 -08:00
Johan T. Halseth
18608a6aa3
cmd/loop: account for fast swap in loopout cmd quote 2020-01-07 13:47:07 +01:00
Johan T. Halseth
dcc5a8ce88
cmd/loop: add fast option to quote cmd 2020-01-07 13:46:40 +01:00
Oliver Gugger
fa62caa891
cmd/loop: add command to list tokens 2019-12-06 09:23:52 +01:00
Johan T. Halseth
7ea0e35299
cmd/loop: delay swap by 30 minutes by default, add --fast to loopout command
We now delay the swap by up to 30 minutes by deafult. To keep the
current imemdiate swap, --fast flag is added.
2019-11-21 18:47:01 +01:00
Oliver Gugger
69f2af9fdc
loop+cmd: extract types into swap module 2019-10-09 16:14:06 +02:00
Oliver Gugger
36838cf7f4
multi: fix most obvious linter errors 2019-10-09 14:35:41 +02: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
c00f831675
cmd/loop: handle external loop in flag 2019-09-23 10:30:01 +02: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
Alex Bosworth
cdd5a7eea0
cmd/loop: reduce off-chain payment max-fee 2019-04-18 15:29:39 -07:00
Joost Jager
f7676c3489
loop: show correct swap type 2019-04-02 10:54:12 +02:00
Joost Jager
f7f9751a1a
loop: hide loop in channel selection flag 2019-04-02 10:54:11 +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
8b2da64b0a
loopd: disable mainnet loop in 2019-03-28 11:56:49 +01:00
Joost Jager
3e960b8b54
multi: loop in swap 2019-03-28 11:56:49 +01:00
Olaoluwa Osuntokun
e14e7e94b2
Merge pull request #26 from alexbosworth/keyword-amt-argument
cmd/loop: add amount as a discrete argument
2019-03-22 16:05:21 -07:00
Francisco Calderón
c9e482e58f
Change loopd global option parameter to rpcserver 2019-03-22 14:53:37 -03:00
Alex Bosworth
dd357ddb22
cmd/loop: add amount as a discrete argument 2019-03-21 22:02:08 -07:00
Joost Jager
4c910f28b0
loop: fix cmd line arg parsing bug 2019-03-21 13:41:50 +01:00
Olaoluwa Osuntokun
b744afaa6f
cmd/loop: add new key word argument for optional destination sweep address 2019-03-20 17:29:47 -07:00
Olaoluwa Osuntokun
f089ff3484
cmd/loop: use loop.Version() for loop cli version 2019-03-20 17:16:38 -07:00
Olaoluwa Osuntokun
48d34ed398
cmd/loop: add command for quote 2019-03-15 16:27:44 -07:00
Wilmer Paulino
9edb910f53
looprpc: generate client REST definitions 2019-03-12 15:34:45 -07:00
Joost Jager
8d5faea971
loop: move commands to separate files 2019-03-07 11:51:16 +01:00
Joost Jager
e70fc169f3
loop: configurable loopd address 2019-03-07 11:48:55 +01:00
Olaoluwa Osuntokun
94f347e673
multi: finalize rename from uncharge to loop out 2019-03-06 20:34:04 -08:00
Olaoluwa Osuntokun
925b52e01f
multi: rename swapcli to loop, swapd to loopd 2019-03-06 15:57:43 -08:00