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

728 Commits

Author SHA1 Message Date
Oliver Gugger
27fd6b3304
multi: use aperture instead of local lsat library
Since the lsat code was copied over to aperture a while ago for other
projects to use as well, we should migrate over to that shared code
also. This will give us the recently added "remove token if payment
failed and try again" feature for free along with some other small
updates to the lsat package.
2021-04-29 10:01:15 +02:00
Oliver Gugger
9fe7ab1a0d
Merge pull request #374 from guggero/db-timeout
loopd+loopdb: add timeout to DB open
2021-04-29 09:26:02 +02:00
Oliver Gugger
39c8c9278d
loopd+loopdb: add timeout to DB open
To make sure we don't just block for forever if another Loop daemon
process is already running, we add a timeout and error out if obtaining
the unique file lock fails after 5 seconds.
2021-04-28 17:16:27 +02:00
András Bánki-Horváth
c4c1f32bd9
Merge pull request #371 from ellemouton/bumpGoVersion
multi: bump minimum golang version to 1.15
2021-04-20 15:35:09 +02:00
Elle Mouton
208e1acc57 multi: bump minimum golang version to 1.15
Bump the minimum golang version to 1.15 in the go.mod file. The go
version is also updated in the Dockerfile and travis.yml file. This is
required so that the correct `errors.Is` method is used.
2021-04-20 11:57:02 +02:00
Alex Bosworth
4b68fce09a
Merge pull request #367 from yyforyongyu/increase-250
cmd: increase max miner fee multiplier
2021-04-07 15:46:30 -07:00
yyforyongyu
d8f45b645c
cmd: increase max miner fee multiplier 2021-04-08 05:04:48 +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