Commit Graph

22 Commits (master)

Author SHA1 Message Date
Slyghtning d975b56f0e
loop: xpub support for loop out 10 months ago
Slyghtning ae76aee14b
fix typos 11 months ago
George Tsagkarelis cd9f6f142b
cmd+looprpc: add new parameters for easy autoloop
This commit introduces the new parameters to the protofiles and the
cmd interface. If easy autoloop is enabled we just ignore the rest of
the rules and use the defaults of easy autoloop.
12 months ago
George Tsagkarelis b025b9ae37
multi: add recurring autoloop budget 1 year ago
George Tsagkarelis fa0393b331
multi: add OutAddr parameter for autoloop loop out 1 year ago
yyforyongyu 425a007aaf
loopd+liquidity: persist parameters on disk
This commit saves the RPC request used to construct the `Parameters` on
disk. Since it's a proto message, an easy way to read/write it is to
rely on the proto marshal/unmarshal methods. A side effect is that
migration also becomes easy as proto message have its own internal
mechanism to keep track of the compatibility.
2 years ago
sputn1ck a1271fee40
multi: fix linter issues 2 years ago
Harsha Goli 0b414cb45e
main: fix feepercetn from intflags to float
Previously, the feepercent flag on autoloop was set to an IntFlag and
later converted to Float, leading to the issue where users couldn't
specify decimal rates even though we allowed it.
2 years ago
carla 2542038243
loop: allow setting swap type for individual rules 2 years ago
carla 5e24beb5a7
loop: add htlc conf target to set params 2 years ago
carla 91a90968d0
multi: surface swap type on rpc 2 years ago
carla 299a0a4ff9
loop: add fee ppm to autoloop cli 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
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
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