Oliver Gugger
9adbd59a34
README: mention macaroons
4 years ago
Oliver Gugger
617964e25f
loopd: allow loopd to be used as external subserver
...
When loopd runs in the same process as lnd (in LiT), it hooks itself
into lnd's RPC server as an external subserver. But because the user
should still be able to use the default loop macaroon, the loop daemon
must be able to validate its own macaroons as lnd's macaroon service
doesn't know the root key for it.
4 years ago
Oliver Gugger
8ecd9673f2
cmd/loop: add macaroon params to CLI
4 years ago
Oliver Gugger
751c70e6c7
loopd: add macaroon authentication to the daemon's server connection
...
To secure access to loop's RPC server, we add a macaroon authentication
service and its gRPC interceptors to the daemon's server connection.
4 years ago
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.
4 years ago
Carla Kirk-Cohen
ccb9e077d7
Merge pull request #293 from carlaKC/inrepo-releasenotes
...
mutli: add release notes file to track in-repo
4 years ago
carla
a9f8682689
github: add pull request reminder to update release notes
4 years ago
carla
da6bcce297
mutli: add release notes file to track in-repo
4 years ago
Alex Bosworth
845f72c32f
Merge pull request #292 from lightninglabs/v0.9.0-beta
...
version: bump to 0.9.0-beta
4 years ago
Andras Banki-Horvath
98bdbcddfb
tests: extend tests to also test resuming with HTLC v2
4 years ago
Andras Banki-Horvath
133f3cac5f
multi: integrate the new htlc v2 scripts to loop in/out
...
This commit bumps the current protocol version and integrates htlc v2
with loop in/out for new swaps, while keeping htlc v1 for any pending
swaps with previous protocol versions.
4 years ago
Andras Banki-Horvath
86db43a2cb
loopdb: store protocol version alongside with swaps
...
This commit adds the protocol version to each stored swap. This will be
used to ensure that when swaps are resumed after a restart, they're
correctly handled given any breaking protocol changes.
4 years ago
Alex Bosworth
3f198746ad
version: bump to 0.9.0-beta
...
Increment version for new features
4 years ago
Carla Kirk-Cohen
a41b7c8ddd
Merge pull request #287 from tdickman/docker-go-1-13
...
Upgrade docker image to golang 1.13
4 years ago
Tom Dickman
2f6973296c
Upgrade docker image to golang 1.13
...
Building the docker image currently fails due to a module that requires
a minimum golang version of 1.13.
4 years ago
Oliver Gugger
fb5d374a1d
Merge pull request #286 from guggero/add-tls
...
[1/3] loopd: add TLS
4 years ago
Oliver Gugger
458ba7dc9e
README: mention TLS
4 years ago
Oliver Gugger
dc99df0bfb
cmd/loop: return error in readMacaroon
...
As we only use the readMacaroon function inside getClientConn where we
have an error return value anyway, we might as well pass the error along
correctly instead of failing hard directly.
4 years ago
Oliver Gugger
39d1121c4b
cmd/loop: add TLS params to CLI
4 years ago
Oliver Gugger
a8d93bec6a
loopd: add TLS to the daemon's server connection
4 years ago
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.
4 years ago
Carla Kirk-Cohen
d3ede8d9e9
Merge pull request #278 from carlaKC/205-suggestions
...
liquidity: add swap suggestions endpoint
4 years ago
carla
d54d7055fa
loop: add swap suggestions command
4 years ago
carla
6b93c70b8a
looprpc: add swap suggestions endpoint
4 years ago
carla
340766fbb5
liquidity: add swap suggestions endpoint to manager
4 years ago
carla
8db6b32d74
liquidity: add swap suggestions for threshold rule for loop out
4 years ago
carla
cd8a7704af
liquidity: add calculations for threshold rule
4 years ago
Carla Kirk-Cohen
7a3dcc3a89
Merge pull request #265 from carlaKC/205-autoloop
...
liquidity: add liquidity manager with updatable runtime parameters
4 years ago
carla
81e4005bd2
loop: add get and set parameters endpoints
...
Add the ability to get and set our liquidity paramters to the cli. A
separate rule command is added to keep the cli simple.
4 years ago
carla
6fcbf54c02
looprpc: add get and set liquidity parameters endpoints
4 years ago
carla
ce10cc7959
liquidity: add manager with updatable parameters
4 years ago
Alex Bosworth
2ac5d8defa
Merge pull request #282 from lightninglabs/remove-darwin-386
...
release: remove support for darwin 386
4 years ago
Joost Jager
d4d9aa1024
Merge pull request #284 from joostjager/bump-lndclient
...
build: update to tagged lndclient version
4 years ago
Joost Jager
1eb7d754f6
build: update to tagged lndclient version
4 years ago
Alex Bosworth
986bea3f96
release: remove support for darwin 386
...
Go 1.15 removes support for darwin 386, so it should be removed from the release build target
4 years ago
Alex Bosworth
10c7c34d59
Merge pull request #280 from lightninglabs/v0.8.1-beta
...
version: bump to 0.8.1-beta
4 years ago
Alex Bosworth
38cb4a7c55
version: bump to 0.8.1-beta
...
Increase patch version
4 years ago
András Bánki-Horváth
02a16d097e
Merge pull request #255 from bhandras/htlc_v2
...
preliminary work for integrating the v2 HTLC script
4 years ago
Andras Banki-Horvath
64991813ed
test: spend tests for the new v2 htlc
4 years ago
Andras Banki-Horvath
71a7dec649
sweeper: set sequence to be able to sweep htlc v2 utxo
4 years ago
Andras Banki-Horvath
cd0a5f9f06
swap: extend swap to be able to create the V2 htlc
4 years ago
Andras Banki-Horvath
9fdd531130
swap: add HTLC script version
4 years ago
Alex Bosworth
2cd2eb8996
Merge pull request #277 from lightninglabs/increase-payment-timeout
...
loopout: Increase payment timeout
4 years ago
Alex Bosworth
a47eacff62
loopout: Increase payment timeout
...
Allow for more time to search for low-routing fee pathways to the Loop service
4 years ago
Alex Bosworth
eb3e7a0661
Merge pull request #275 from lightninglabs/increase-sweep-conf-default
...
loopout: Increase default sweep confirmation target
4 years ago
Alex Bosworth
a29cb86b4a
Update loopout.go
4 years ago
Alex Bosworth
a9cbb34be0
loopout: Increase default sweep confirmation target
...
Now that the server supports a longer CLTV maximum, the default sweep target may be increased to allow for lower on-chain costs
4 years ago
Joost Jager
e9f71e90c2
Merge pull request #269 from krtk6160/master
...
Fix grpc and rest api docs links
4 years ago
Carla Kirk-Cohen
175941e46e
Merge pull request #272 from carlaKC/config-fixdefaultconfigpath
...
loopd: add network to default config file path
4 years ago
carla
ed04120a1a
loopd: set network in default config path
4 years ago