Carla Kirk-Cohen
fd4214e68d
Merge pull request #333 from carlaKC/autoloop-3-peerrules
...
autoloop: add peer level rules for aggregate liquidity management
2021-02-17 14:31:42 +02:00
carla
b393102696
multi: update docs and release notes to include peer level management
2021-02-17 14:13:00 +02:00
carla
b9aae4f8f9
loop: add peer rules to set rule command
2021-02-17 14:12:56 +02:00
carla
949e76bb2a
looprpc: add peer level rules to rpc
2021-02-17 10:56:32 +02:00
carla
3f46ae514b
liquidity: add peer-level liquidity rules to allow aggregate management
...
We add 'peer-level' rules to allow assessment of liquidity on a per-peer
level, rather than on an individual channel basis. No overlap is allowed
with the existing set of channel rules because this could lead to
contradictory rules.
2021-02-17 10:56:30 +02:00
carla
d1f121cbc6
liquidity: move swap suggestions behind interface
2021-02-17 10:55:38 +02:00
carla
c6e816ad95
liquidity: move swap creation into separate function
2021-02-17 10:55:36 +02:00
carla
9c35946cab
liquidity: simplify suggest swap to return swap amount
2021-02-16 13:31:48 +02:00
Alex Bosworth
2ecdd24e1c
Merge pull request #339 from rockstardev/patch-1
...
notes: update README.md
2021-02-14 17:31:51 -08:00
rockstardev
5baddac0fa
notes: update README.md
...
Additional notice for developers; they'll likely need HTTPS for connecting to exposed REST Api
2021-02-14 19:25:15 -06:00
Alex Bosworth
271215e8c6
Merge pull request #338 from lightninglabs/update-to-v0.11.4-beta
...
version: bump to 0.11.4-beta
2021-02-11 10:34:47 -08:00
Alex Bosworth
cf37c639e3
version: bump to 0.11.4-beta
2021-02-11 10:13:17 -08:00
Alex Bosworth
d389a93bd4
Merge pull request #337 from bhandras/macaroonpath_default
...
loop: add sane default for --lnd.macaroonpath
2021-02-11 10:07:47 -08:00
Andras Banki-Horvath
55dd74c233
notes: update release_notes.md
2021-02-11 18:41:32 +01:00
Andras Banki-Horvath
591a244867
loop: add sane default for --lnd.macaroonpath
2021-02-11 18:38:49 +01:00
Alex Bosworth
7d5e1a91c1
Merge pull request #335 from lightninglabs/v0.11.3-beta
...
version: bump to 0.11.3-beta
2021-02-09 12:50:00 -08:00
Alex Bosworth
ef28278d55
version: bump to 0.11.3-beta
2021-02-09 12:42:40 -08:00
Carla Kirk-Cohen
fe42664e16
Merge pull request #332 from carlaKC/autoloop-1-disqualified
...
autoloop: add reasons to explain no action
2021-02-08 09:46:02 +02:00
carla
cf50ffd43c
multi: add disqualified swaps to docs and release notes
2021-02-08 09:39:04 +02:00
carla
22bd4cabb4
looprpc: add disqualified channels to suggest swaps response
2021-02-08 09:39:03 +02:00
carla
7c4d71b175
liquidity: add reasons for autoloops not executing
2021-02-08 09:39:02 +02:00
carla
b9b75c3c32
liquidity: refactor eligible channels logic to ineligible channels
...
This commit switches up our eligible channels logic to rather return
a struct containing information about our current swap traffic. This
change is made in preparation for returning reasons indicating why we
did not perform a swap for a specific channel - when we only return
eligible swaps, we lose the information about why all the excluded
channels weren't used.
2021-02-08 09:39:01 +02:00
carla
d5096cdc21
liquidity: relax restriction which requires no unrestricted swaps
...
In practice, this restriction has proven to be too strict. Autoloop will
now only hold off on a swap for a channel if a manual swap is
specifically using that channel.
2021-02-08 09:38:59 +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
Oliver Gugger
67f417188d
Merge pull request #334 from guggero/single-macaroon
...
Support single macaroon for lnd
2021-02-05 16:02:23 +01:00
Oliver Gugger
2a089d131e
loopd: all only specifying one lnd macaroon
...
Fixes #299 by allowing only one macaroon to be specified in the
--lnd.macaroonpath config option/command line flag.
2021-02-05 12:55:45 +01:00
Oliver Gugger
6b8a12f709
docs: remove weird character in DOCKER.md
2021-02-05 12:55:42 +01:00
Carla Kirk-Cohen
9af61481ea
Merge pull request #331 from carlaKC/autoloop-0-refactoring
...
autoloop: refactoring to prepare for loopin
2021-02-03 09:09:07 +02:00
carla
68a5336362
liquidity: move logging out of suggest swaps function
...
This function is already quite long, and will be extended in
the commits to follow, so we move it to the calling function.
2021-02-03 08:54:51 +02:00
carla
476ae39ce9
multi: make server side restrictions function generic
2021-02-03 08:54:50 +02:00
carla
69724757ce
multi: update autoloop labels to support both swap types
2021-02-03 08:54:50 +02:00
carla
24aa429aa0
liquidity: rename ticker and default to autoloop
2021-02-03 08:54:49 +02:00
carla
71ace95ac8
loop: rename autoloop specific parameters
2021-02-03 08:54:48 +02:00
carla
a168ba3400
liquidity: rename auto out boolean to autoloop
2021-02-03 08:54:47 +02:00
Carla Kirk-Cohen
d85cc010b0
Merge pull request #327 from carlaKC/325-waitunlocked
...
loopd: wait for lnd to be unlocked on startup
2021-01-14 09:24:19 +02:00
carla
bd57c2cc20
release_notes: add wait for unlock to release notes
2021-01-14 09:15:13 +02:00
carla
3818e4576e
loopd: wait for lnd to be unlocked before starting
2021-01-14 09:15:09 +02:00
carla
6c2d88b3a5
multi: bump lndclient to version with wait for unlock
2021-01-14 09:13:01 +02:00
Oliver Gugger
a673e0b478
Merge pull request #328 from lightninglabs/lnd-12
...
Bump lnd dependency to v0.12.0-beta.rc3
2021-01-08 09:37:00 +01:00
Oliver Gugger
0a38ae4c71
release_notes: add note about compile time compat
2021-01-07 17:36:04 +01:00
Oliver Gugger
1a57e03df4
loopd: pass macaroon root key ID in context
2021-01-07 17:33:21 +01:00
Oliver Gugger
fb9034220c
mod: update lnd to v0.12.0
2021-01-07 17:33:21 +01:00
Alex Bosworth
fbdda1e68e
Merge pull request #323 from alexbosworth/v0.11.2
...
version: bump to 0.11.2-beta
2020-12-08 09:22:32 -08:00
Alex Bosworth
c13001737a
version: bump to 0.11.2-beta
2020-12-08 09:15:53 -08:00
Carla Kirk-Cohen
ca3e700cc0
Merge pull request #321 from carlaKC/319-customautoloopsizelimits
...
liquidity: add custom swap amounts to autoloop
2020-12-08 12:32:12 +02:00
carla
f8664c511a
release_notes: add autoloop release notes
2020-12-08 11:12:39 +02:00
carla
bdff286fda
docs: add swap size to autoloop documentation
2020-12-08 11:12:36 +02:00
carla
87fd63713f
loop: add swap sizes to autoloop set params command
2020-12-01 15:37:23 +02:00
carla
74f2c96810
looprpc: add custom client sizes for autoloop
2020-12-01 13:06:37 +02:00
carla
3f0fc14c34
liquidity: allow custom autoloop swap sizes within the server's limits
2020-12-01 13:06:35 +02:00