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
Carla Kirk-Cohen
6a44f9d7a6
Merge pull request #320 from carlaKC/docs-autoloopfixups
...
docs: update autoloop fees to explain fee percentages properly
2020-11-24 08:56:07 +02:00
carla
4fb856afff
docs: update autoloop fees to explain fee percentages properly
2020-11-23 15:52:10 +02:00
Oliver Gugger
86fc1b9270
Merge pull request #318 from alexbosworth/v0.11.1-beta
...
version: bump to 0.11.1-beta
2020-11-12 19:39:33 +00:00
Alex Bosworth
83d1ea3828
version: bump to 0.11.1-beta
2020-11-12 11:30:56 -08:00
Oliver Gugger
6552bf4529
Merge pull request #316 from guggero/user-agent-initiator
...
Add initiator field to user agent string
2020-11-09 12:00:52 +00:00
Oliver Gugger
e91d632dcb
release_notes: mention initiator field
2020-11-09 12:57:34 +01:00
Oliver Gugger
fcdd5fe9f8
cmd/loop: add initiator to swap requests
2020-11-09 12:57:33 +01:00
Oliver Gugger
481839b0fb
liquidity: add initiator to swap requests
2020-11-09 12:57:33 +01:00
Oliver Gugger
8758d00862
loopd: add initiator to swap requests
2020-11-09 12:57:32 +01:00
Oliver Gugger
2a732a4385
loop: add initiator string to user agent
2020-11-06 10:43:03 +01:00
Oliver Gugger
e6e533aeda
version: allow specifying the normalization alphabet
2020-11-06 10:43:01 +01:00
Oliver Gugger
58c1c25a8b
looprpc: add initiator field to swap requests
2020-11-06 10:43:00 +01:00
Oliver Gugger
785acf74ca
looprpc: unify formatting
2020-11-06 10:42:59 +01:00
Oliver Gugger
385fed89b5
make: fix commit ldflag
2020-11-06 10:42:57 +01:00
Oliver Gugger
c6b3e21801
make: add rpc command
2020-11-06 10:42:56 +01:00
Carla Kirk-Cohen
b50a99fa39
Merge pull request #311 from carlaKC/docs-autoloop
...
docs: add autoloop documentation
2020-11-03 11:17:16 +02:00
carla
293078d920
docs: add autoloop documentation
2020-11-03 11:09:02 +02:00
Oliver Gugger
66eff361c2
Merge pull request #312 from guggero/lnd-update
...
mod: update to final lnd version
2020-10-30 09:52:04 +00:00