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

944 Commits

Author SHA1 Message Date
Carla Kirk-Cohen
9b9f64d133
Merge pull request #347 from carlaKC/189-loopinfees
loopin: store loop in on-chain fees
2021-03-05 16:15:44 +02:00
Carla Kirk-Cohen
5a639a2198
Merge pull request #351 from carlaKC/autoloop-defaults
liquidity: update default budget and confirmation target
2021-03-05 14:13:53 +02:00
carla
d928d53f10
loopin: store loop in on-chain fees 2021-03-05 11:33:21 +02:00
Carla Kirk-Cohen
6d4d53ca30
Merge pull request #350 from carlaKC/docker-make
dockerfile: use make rather than go install
2021-03-05 11:10:33 +02:00
carla
2b206e4d45
dockerfile: use make rather than go install
Using straight install does not set our current commit hash for
the daemon running in the docker container.
2021-03-05 11:07:28 +02:00
carla
c17631eee2
liquidity: increase default confirmation target 2021-03-05 09:53:27 +02:00
carla
4535018e58
liquidity: update default budget to use flat fee percentage 2021-03-05 09:02:35 +02:00
Carla Kirk-Cohen
c5ee9843cd
Merge pull request #340 from carlaKC/autoloop-feepercentage
liquidity: flat fee percentage for autoloop
2021-03-05 09:00:11 +02:00
carla
34726a4130
multi: update release notes and docs to include fee percentage 2021-03-04 10:21:24 +02:00
carla
d4b7f9a378
liquidity: update default fee setting to flat percentage 2021-03-04 10:21:22 +02:00
carla
299a0a4ff9
loop: add fee ppm to autoloop cli 2021-03-04 10:15:11 +02:00
carla
90561f8ac7
multi: add fee percentage to rpc 2021-03-04 10:14:52 +02:00
carla
dd1a2de731
multi: add flat fee percentage to autoloop 2021-03-04 10:14:37 +02:00
carla
c778124718
liquidity: move fees behind interface 2021-03-04 10:14:35 +02:00
carla
4911130671
loopin: store loop in on-chain fees 2021-03-03 12:49:59 +02:00
Carla Kirk-Cohen
9ce7fe4df9
Merge pull request #345 from carlaKC/typo-fix
loop: fix typo in htlc confs
2021-02-25 11:57:19 +02:00
carla
bf9dfdabbe
loop: fix typo in htlc confs 2021-02-25 10:49:31 +02:00
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