Commit Graph

109 Commits (v0.12.2-beta)

Author SHA1 Message Date
Oliver Gugger 27fd6b3304
multi: use aperture instead of local lsat library
Since the lsat code was copied over to aperture a while ago for other
projects to use as well, we should migrate over to that shared code
also. This will give us the recently added "remove token if payment
failed and try again" feature for free along with some other small
updates to the lsat package.
3 years ago
yyforyongyu d8f45b645c
cmd: increase max miner fee multiplier 3 years ago
yyforyongyu 82401ff1ba
cmd: prettify loop quote in/out responses 3 years ago
carla 299a0a4ff9
loop: add fee ppm to autoloop cli 3 years ago
carla bf9dfdabbe
loop: fix typo in htlc confs 3 years ago
carla b9aae4f8f9
loop: add peer rules to set rule command 3 years ago
carla 22bd4cabb4
looprpc: add disqualified channels to suggest swaps response 3 years ago
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.
3 years ago
carla 71ace95ac8
loop: rename autoloop specific parameters 3 years ago
carla 87fd63713f
loop: add swap sizes to autoloop set params command 3 years ago
Oliver Gugger fcdd5fe9f8
cmd/loop: add initiator to swap requests 4 years ago
carla a2edd78f5a
loop: add autoout parameters to cli 4 years ago
carla ed95c16ae4
loop: add set params command 4 years ago
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.
4 years ago
Oliver Gugger 8ecd9673f2
cmd/loop: add macaroon params to CLI 4 years ago
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.
4 years ago
Oliver Gugger 39d1121c4b
cmd/loop: add TLS params to CLI 4 years ago
carla d54d7055fa
loop: add swap suggestions command 4 years ago
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.
4 years ago
carla 13449fb7ea
loop: add htlc confirmations flag to loop out command 4 years ago
carla f62d09528d
loop: allow creation of loops with labels on cli 4 years ago
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.
4 years ago
Joost Jager e72d998e78
loopout: show expiry range in terms 4 years ago
Joost Jager 8d1ec50fa7
looprpc: split quote message 4 years ago
Joost Jager 24099aa4f9
looprpc: split terms message 4 years ago
Joost Jager 1869ad670f
looprpc: expose server message to clients 4 years ago
Oliver Gugger 7538e3cd84
cmd/loop: set exit code 1 on error 4 years ago
Oliver Gugger 3a38f8faa4
cmd/loopd: add tlsCertPath and macaroonPath flags 4 years ago
Oliver Gugger 74b3580e01
loopd+cmd/loopd: rename main Start function to Run 4 years ago
Oliver Gugger 506d0c2257
loopd: refactor into Start/Stop methods 4 years ago
Joost Jager a3924cfbc4
cmd/loop: fix channel parsing 4 years ago
Joost Jager ccec719423
looprpc: add outgoing channel set restriction
Expose the new channel set restriction on the loopd client rpc.
4 years ago
Andras Banki-Horvath 5215222ced cmd: print both htlc addresses when monitoring a loop-in 4 years ago
Oliver Gugger 3ea07f167f
cmd/loop: clarify some flag descriptions 4 years ago
Oliver Gugger 3b630667a5
cmd/loop: improve displayed limits 4 years ago
carla fc99c8b320
multi: add confirmation target to loop in 4 years ago
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.
4 years ago
carla e36c5a45d3
loop: fix loop in quote conf target flag usage field 4 years ago
Alex Bosworth 933f1b81d1
cmd/loop: bump rate maximum
Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change
4 years ago
Oliver Gugger acdd2a22b2
cmd/loop: warn user if fee estimation fails 4 years ago
Oliver Gugger a57a2947b5
cmd/loop: add loop in quote command 4 years ago
Joost Jager b69e8cb275
multi: allow loop in last hop restriction 4 years ago
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.
4 years ago
Oliver Gugger 2dc7d465fa
mod+cli: default to hex encoding for byte slices 4 years ago
Oliver Gugger 26c0c17dbd
loopd+cli: set max gRPC message receive size 4 years ago
Oliver Gugger d446d68eeb
cmd/loop: add listswaps and swapinfo commands 4 years ago
Olaoluwa Osuntokun e4ffb0803c
Merge pull request #128 from Free-FreeThinker/free--max-routing-fee-config
Add option for max swap off-chain routing fee
4 years ago
FreeThinker 321f5f791d cmd/loop: add an option for max off chain swap fee 4 years ago
Johan T. Halseth 18608a6aa3
cmd/loop: account for fast swap in loopout cmd quote 4 years ago
Johan T. Halseth dcc5a8ce88
cmd/loop: add fast option to quote cmd 4 years ago