2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00
Commit Graph

990 Commits

Author SHA1 Message Date
Oliver Gugger
32f1f2657b
multi: bump lnd to version v0.13.0-beta.rc2
This commit bumps the _compile time_ version of lnd to v0.13.0-beta.rc2.
This does not have an effect on the user, the run time backward compatibility
will be preserved. Only the next commit will bump that minimum version.
2021-05-19 14:24:41 +02:00
Carla Kirk-Cohen
245e6b7917
Merge pull request #372 from carlaKC/sweep-abandon
loopout: do not reveal preimage too close to expiry
2021-05-17 13:28:21 +02:00
carla
9db8bd5f2a
loopout: do not reveal preimage if time to safe reveal has passed 2021-05-12 14:09:28 +02:00
yyforyongyu
8d4404a8fb
loopout: add test for checking preimage reveal after timeout 2021-05-12 14:00:59 +02:00
carla
ab9a662758
loop/test: simplify preimage push test to be less dependent on height
Our preimage push test previously relied on our dropping down to the
default sweep conf target to mock a drop in chain fees. This makes
our test dependent on height, which makes changes to our sweep logic
regarding when we reveal our preimage break this test. In this commit
that logic is replaced with simply locking our mock and updating fees
on the fly.
2021-05-12 14:00:44 +02:00
Alex Bosworth
db56b31b11
Merge pull request #379 from lightninglabs/v0.12.2-beta-release
version: bump to v0.12.2-beta
2021-04-29 08:40:27 -07:00
Alex Bosworth
9b5a3401fc
version: bump to v0.12.2-beta 2021-04-29 08:24:36 -07:00
András Bánki-Horváth
ef296e9c74
Merge pull request #377 from bhandras/chainnoitifer_fix
loop: wait for chain notifier server to start
2021-04-29 12:21:38 +02:00
Andras Banki-Horvath
a0b67da590
loop: wait for chain notifier server to start 2021-04-29 11:38:56 +02:00
Oliver Gugger
5d39ffec42
Merge pull request #375 from guggero/lsat-aperture
lsat: use package from aperture
2021-04-29 10:06:17 +02:00
Oliver Gugger
68c22d7192
lsat: remove local lsat package
We now only use the lsat package imported from aperture and can
therefore delete a whole bunch of duplicated code.
2021-04-29 10:01:19 +02:00
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
yyforyongyu
11758dc388
loopout: fix TestCustomSweepConfTarget 2021-04-09 17:08:23 +08: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