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

27 Commits

Author SHA1 Message Date
Andras Banki-Horvath
12f7956fd8
build: bump lnd dependency to v0.17.4-beta 2024-02-09 18:20:18 +01:00
Andras Banki-Horvath
451311d582
build: bump lnd dep to v0.16.0-beta 2023-03-29 15:39:14 +02:00
Andras Banki-Horvath
476f47275b
loopd: set minimum LND version to 0.15.99-beta 2023-02-06 20:46:03 +01:00
Andras Banki-Horvath
105d3d1ab4
loopd: bump minimum lnd version to v0.15.4 2022-11-18 21:24:31 +01:00
Andras Banki-Horvath
977b72019d
loopd: bump minimum lnd version to v0.15.1-beta
In this commit we bump the minimum LND version required to run loopd to
v0.15.1-beta in order to ensure that the underlying chain backend
supports taproot (https://github.com/lightningnetwork/lnd/pull/6798)
2022-10-07 12:24:25 +02:00
Andras Banki-Horvath
85145ca4bb
loop: set minimum LND version to 0.15.0 2022-06-30 16:59:59 +02:00
sputn1ck
a1271fee40
multi: fix linter issues 2022-05-20 10:16:46 +02:00
Andras Banki-Horvath
5b737855c1
loopd: update minimum required LND version to v0.14.2-beta 2022-03-16 13:23:41 +01:00
carla
618310fe6f
loopd: export NewListenerConfig 2021-11-12 11:26:07 +02:00
Martin Habovstiak
158e22f2a7 Documented the menaing of returned bool 2021-08-10 08:25:32 +02:00
Martin Habovstiak
c00da1cf09 Renamed explicitConfig to hasExplicitConfig
`hasExplicitConfig` is considered cleaner.
2021-08-10 08:25:32 +02:00
Martin Habovštiak
2c1e437f26
Remove extra space
Co-authored-by: Yong <yy2452@columbia.edu>
2021-08-10 08:19:27 +02:00
Martin Habovstiak
84582bbb88 Improve error handling of config file
This makes two changes to handling of errors when configuration file
could not be loaded:

1. Only NotFound errors are considered OK - access errors and other FS
   issues are now treated as fatal.
2. Failing to load config file specified explicitly via `--configfile`
   option is alway a fatal error.

Rationale: If the configfile was specified explicitly then it indicates
the user really wishes to load it. While the user could want it to be
optionally loaded for extra configuration options, this can be
accomplished using an empty file.

If the config file was not specified explicitly then its' path was
computed from loop directory. If the file is inaccessible due to
permissions or other FS errors it's nearly certain other following
operations will fail as well. Failing early with a clear message is thus
beneficial.

This still leaves room for uncaught user error (e.g. mistakenly naming
config file inside loop dir as `loop.conf` instead of `loopd.conf`) but
it's greatly reduced and such error should be easier to identify.

(Indirectly) closes #412
2021-08-05 18:19:52 +02:00
Oliver Gugger
45dbd582d1
multi: bump lnd min version to v0.11.1-beta
The version v0.10.1-beta of lnd is quite old with v0.13.0-beta just
being published as RC2. Maintaining backward compatibility in the
lndclient library is quite an effort. We decided to merge the v0.11.1
branch into master meaning that all our projects now have this minimum
version requirement.
2021-05-19 14:25:23 +02:00
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
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
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
ff17553f3b
mod+loopd: update to lnd 0.11.1
We update to the newest version of lnd so we can use the updated
macaroon service.
NOTE: This is a compile time dependency update only, no RPC level update
is required.
2020-09-11 12:20:12 +02:00
Oliver Gugger
a8d93bec6a
loopd: add TLS to the daemon's server connection 2020-09-03 14:19:51 +02:00
Oliver Gugger
17e0165d4c
loopd: add TLS config to listenerCfg struct
As a preparation to be able to listen on a TLS enabled listener, we add
a TLS config parameter to the listener setup functions.
2020-09-03 13:25:59 +02:00
carla
ed04120a1a
loopd: set network in default config path 2020-08-18 21:42:13 +02:00
Carla Kirk-Cohen
048a365e02
Merge pull request #267 from carlaKC/215-readyonstart
loopd: wait for lnd to be synced before starting
2020-08-18 10:33:26 +02:00
carla
b4e4d5c73d
loopd: block until lnd is synced to chain 2020-08-14 09:25:52 +02:00
carla
d7150d5556
loopd: add data, loop and config options 2020-08-13 14:11:04 +02:00
Joost Jager
0c9fcd790e
lndclient: move to github.com/lightninglabs/lndclient 2020-06-18 14:27:52 +02:00
Oliver Gugger
74b3580e01
loopd+cmd/loopd: rename main Start function to Run 2020-05-28 12:34:41 +02:00