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

722 Commits

Author SHA1 Message Date
yyforyongyu
2feb629a46
loopout: add test for checking preimage reveal after timeout 2021-04-08 05:59:05 +08:00
Alex Bosworth
8c3206c785
Merge pull request #363 from lightninglabs/bump-to-v0.12.1-beta
version: bump to v0.12.1-beta
2021-03-25 16:22:27 -07:00
Alex Bosworth
cedd16a178
version: bump to v0.12.1-beta 2021-03-25 13:07:16 -07:00
Carla Kirk-Cohen
1681aafade
Merge pull request #362 from carlaKC/autoloop-includepeers
autoloop: include peer rules for inflight/budget limits
2021-03-25 11:30:17 +02:00
carla
cc10d5b207
release_notes: note update to autoloop reasons for peers 2021-03-25 11:27:00 +02:00
carla
502e47362c
liquidity: add peers to swap interface and include in set reason
This commit adds a peer listing function to our generic swap
interface, which we will use to set reasons for swaps that are
specified by peer pubkey rather than channel.
2021-03-25 11:26:58 +02:00
Oliver Gugger
2e2b38dce3
Merge pull request #358 from justinpobrien/patch-1
Simplify the README
2021-03-25 09:25:36 +01:00
Justin O'Brien
787e37b4cf
Merge branch 'master' into patch-1 2021-03-24 20:36:24 -10:00
carla
7ca7a70430
liquidity/test: add test to demonstrate missing peer reasons 2021-03-24 15:13:30 +02:00
Oliver Gugger
a6acfdaec6
Merge pull request #359 from lightninglabs/regtest-server
docs+Docker: document how to use a regtest Loop server
2021-03-23 09:38:57 +01:00
Justin OBrien
f295dc9c94 Address comments
Added faqs with fees explainer, regtest section from Oli's PR, and several other tweaks
2021-03-21 09:10:17 -10:00
Oliver Gugger
e5a1914433
release_notes: add regtest Loop server 2021-03-19 18:51:38 +01:00
Oliver Gugger
fea9e3e7d8
README: add section describing the regtest Loop server 2021-03-19 18:51:38 +01:00
Oliver Gugger
552fdaeb28
regtest: add demo/quick start regtest environment
To help with development of apps that use the Loop daemon (`loopd`) for
liquidity management, it is often useful to test it in controlled
environments
such as on the Bitcoin `regtest` network.

Lightning Labs provides a stripped down version of the Loop server that
works
only for `regtest` and is only published in compiled, binary form
(currently as
a Docker image).

The `docker-compose.yml` shows an example setup and is accompanied by a
quick
start script that should make getting started very easy.
2021-03-19 18:51:38 +01:00
Justin O'Brien
f25bdd407d
Tweak use cases
Updated based on Alex's comments
2021-03-18 15:18:12 -10:00
Justin O'Brien
2660a04ca1
Simplify the README
A bunch of edits to better promote Autoloop and make Loop a bit more approachable to users. Ideally this lowers the barrier to entry for people wanting to get started
2021-03-18 14:20:53 -10:00
Carla Kirk-Cohen
dcef0322b9
Merge pull request #357 from ellemouton/validate-loop-out-amount
loopd: verify loop out amount
2021-03-18 08:36:41 +02:00
Elle Mouton
65fe06cec2 loopd: verify loop out amount
This commit adds validation that checks if the loop out amount specified can
be satisfied given the nodes current channel balances.
2021-03-17 10:12:30 +02:00
Carla Kirk-Cohen
d6db6184f3
Merge pull request #348 from yyforyongyu/344-loop-quote
looprpc: add verbose resp in loop quote
2021-03-11 21:23:05 +02:00
Oliver Gugger
c9cb57faa2
Merge pull request #353 from lightninglabs/issue-template
GitHub: add issue templates
2021-03-09 15:12:07 +01:00
Oliver Gugger
313d6f6e5d
GitHub: add issue templates
To make initial triage easier and nudge people into reading the
documentation and gathering information before submitting an issue, we
add three issue templates: bug reports, feature requests and "other".
2021-03-09 11:07:40 +01:00
Carla Kirk-Cohen
4d9d398b23
Merge pull request #349 from ellemouton/validate-dest-addr-network
loopd: verify that dest addr is for correct chain
2021-03-09 09:18:35 +02:00
yyforyongyu
82401ff1ba
cmd: prettify loop quote in/out responses 2021-03-08 20:08:49 +08:00
Elle Mouton
5399e60554 loopd: verify that dest addr is for correct chain
This commit adds verification to the loop out request to ensure that the
formatting of the specified destination address matches the network that
lnd is running on.
2021-03-08 11:41:54 +02:00
Elle Mouton
5c34dd1177 loopd: refactor loop out request validation
This commit moves loop out request validation for labels and
confirmation targets into its own function for the purpose of easy
testing and also to make the additions of future request validation easy
to add and test.
2021-03-08 11:40:42 +02:00
yyforyongyu
c4d46a24a0
looprpc: add conf_target to loop in/out quote resp 2021-03-08 02:23:25 +08:00
Alex Bosworth
0fa3625989
Merge pull request #352 from lightninglabs/version-v0.12.0-beta
version: bump to v0.12.0-beta
2021-03-06 08:42:57 -08:00
Alex Bosworth
b5fcd9f326
version: bump to v0.12.0-beta 2021-03-05 13:41:49 -08:00
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