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

105 Commits

Author SHA1 Message Date
carla
bf9dfdabbe
loop: fix typo in htlc confs 2021-02-25 10:49:31 +02:00
carla
b9aae4f8f9
loop: add peer rules to set rule command 2021-02-17 14:12:56 +02:00
carla
22bd4cabb4
looprpc: add disqualified channels to suggest swaps response 2021-02-08 09:39:03 +02:00
carla
7ba1821696
liquidity: fail suggest swaps when no rules are set
In an effort to surface more information about why autoloop is not
executing, we add an error when suggest swaps is called with no rules.
In other cases we can surface a reason enum with each rule that is set,
but in the case where we have no rules, there are no results to
accompany with reasons.
2021-02-08 09:38:23 +02:00
carla
71ace95ac8
loop: rename autoloop specific parameters 2021-02-03 08:54:48 +02:00
carla
87fd63713f
loop: add swap sizes to autoloop set params command 2020-12-01 15:37:23 +02:00
Oliver Gugger
fcdd5fe9f8
cmd/loop: add initiator to swap requests 2020-11-09 12:57:33 +01:00
carla
a2edd78f5a
loop: add autoout parameters to cli 2020-10-12 13:34:57 +02:00
carla
ed95c16ae4
loop: add set params command 2020-09-30 12:46:37 +02:00
carla
8931fd370c
loop: rename setparam command to setrule
As we add more paramters to the liqudity manager, it will become more
difficult to include them in a single cli endpoint with rules. This
commit renames the existing setparam command (which is only used for
rules at present), so that we can have a dedicated paramters cli
command for all the new values we are adding.
2020-09-30 12:46:36 +02:00
Oliver Gugger
8ecd9673f2
cmd/loop: add macaroon params to CLI 2020-09-11 12:25:35 +02:00
Oliver Gugger
dc99df0bfb
cmd/loop: return error in readMacaroon
As we only use the readMacaroon function inside getClientConn where we
have an error return value anyway, we might as well pass the error along
correctly instead of failing hard directly.
2020-09-03 14:20:18 +02:00
Oliver Gugger
39d1121c4b
cmd/loop: add TLS params to CLI 2020-09-03 14:19:55 +02:00
carla
d54d7055fa
loop: add swap suggestions command 2020-09-03 10:36:45 +02:00
carla
81e4005bd2
loop: add get and set parameters endpoints
Add the ability to get and set our liquidity paramters to the cli. A
separate rule command is added to keep the cli simple.
2020-09-02 11:59:57 +02:00
carla
13449fb7ea
loop: add htlc confirmations flag to loop out command 2020-08-04 20:29:56 +02:00
carla
f62d09528d
loop: allow creation of loops with labels on cli 2020-08-04 12:31:02 +02:00
carla
a9849bb317
multi: add failure reason to swap client server
To provide more information about swaps, we add a failure reason field
to our swaps. We do not extend our existing state enum to remain
backwards compatible.
2020-07-30 09:15:42 +02:00
Joost Jager
e72d998e78
loopout: show expiry range in terms 2020-07-16 21:30:15 +02:00
Joost Jager
8d1ec50fa7
looprpc: split quote message 2020-07-14 19:26:30 +02:00
Joost Jager
24099aa4f9
looprpc: split terms message 2020-07-14 15:26:23 +02:00
Joost Jager
1869ad670f
looprpc: expose server message to clients 2020-06-30 16:59:10 +02:00
Oliver Gugger
7538e3cd84
cmd/loop: set exit code 1 on error 2020-06-11 21:00:24 +02:00
Oliver Gugger
3a38f8faa4
cmd/loopd: add tlsCertPath and macaroonPath flags 2020-05-28 12:34:41 +02:00
Oliver Gugger
74b3580e01
loopd+cmd/loopd: rename main Start function to Run 2020-05-28 12:34:41 +02:00
Oliver Gugger
506d0c2257
loopd: refactor into Start/Stop methods 2020-05-28 12:34:04 +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
Johan T. Halseth
c7e8c9f964
loopd: make RPC listener configurable
Allows to use external listener, such as in-memory.
2020-01-03 14:01:32 +01:00
Johan T. Halseth
704bfff8f6
cmd+loopd: new cmd/loopd main method replacing the one now in ./loopd
This allows loopd to be used as a library by importing it and calling
Start.
2020-01-03 14:01:31 +01:00
Johan T. Halseth
644b5b16f7
cmd+loopd: move loopd to new folder loopd 2020-01-03 14:01:31 +01:00
Oliver Gugger
fa62caa891
cmd/loop: add command to list tokens 2019-12-06 09:23:52 +01:00