Andras Banki-Horvath
98bdbcddfb
tests: extend tests to also test resuming with HTLC v2
2020-09-09 19:54:01 +02:00
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.
2020-09-09 19:54:01 +02:00
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.
2020-09-09 19:54:01 +02:00
Carla Kirk-Cohen
a41b7c8ddd
Merge pull request #287 from tdickman/docker-go-1-13
...
Upgrade docker image to golang 1.13
2020-09-07 09:31:58 +02:00
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.
2020-09-04 11:06:24 -04:00
Oliver Gugger
fb5d374a1d
Merge pull request #286 from guggero/add-tls
...
[1/3] loopd: add TLS
2020-09-03 14:42:28 +02:00
Oliver Gugger
458ba7dc9e
README: mention TLS
2020-09-03 14:33:40 +02:00
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.
2020-09-03 14:20:18 +02:00
Oliver Gugger
39d1121c4b
cmd/loop: add TLS params to CLI
2020-09-03 14:19:55 +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 Kirk-Cohen
d3ede8d9e9
Merge pull request #278 from carlaKC/205-suggestions
...
liquidity: add swap suggestions endpoint
2020-09-03 10:50:28 +02:00
carla
d54d7055fa
loop: add swap suggestions command
2020-09-03 10:36:45 +02:00
carla
6b93c70b8a
looprpc: add swap suggestions endpoint
2020-09-03 10:36:44 +02:00
carla
340766fbb5
liquidity: add swap suggestions endpoint to manager
2020-09-03 10:36:43 +02:00
carla
8db6b32d74
liquidity: add swap suggestions for threshold rule for loop out
2020-09-03 10:36:42 +02:00
carla
cd8a7704af
liquidity: add calculations for threshold rule
2020-09-03 10:36:41 +02:00
Carla Kirk-Cohen
7a3dcc3a89
Merge pull request #265 from carlaKC/205-autoloop
...
liquidity: add liquidity manager with updatable runtime parameters
2020-09-03 10:35:59 +02:00
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.
2020-09-02 11:59:57 +02:00
carla
6fcbf54c02
looprpc: add get and set liquidity parameters endpoints
2020-09-02 11:50:15 +02:00
carla
ce10cc7959
liquidity: add manager with updatable parameters
2020-09-02 11:48:27 +02:00
Alex Bosworth
2ac5d8defa
Merge pull request #282 from lightninglabs/remove-darwin-386
...
release: remove support for darwin 386
2020-08-31 09:33:42 -07:00
Joost Jager
d4d9aa1024
Merge pull request #284 from joostjager/bump-lndclient
...
build: update to tagged lndclient version
2020-08-31 13:32:39 +02:00
Joost Jager
1eb7d754f6
build: update to tagged lndclient version
2020-08-31 13:20:38 +02:00
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
2020-08-30 14:24:09 -07:00
Alex Bosworth
10c7c34d59
Merge pull request #280 from lightninglabs/v0.8.1-beta
...
version: bump to 0.8.1-beta
2020-08-28 08:51:12 -07:00
Alex Bosworth
38cb4a7c55
version: bump to 0.8.1-beta
...
Increase patch version
2020-08-27 11:03:53 -07:00
András Bánki-Horváth
02a16d097e
Merge pull request #255 from bhandras/htlc_v2
...
preliminary work for integrating the v2 HTLC script
2020-08-27 16:50:05 +02:00
Andras Banki-Horvath
64991813ed
test: spend tests for the new v2 htlc
2020-08-27 16:21:52 +02:00
Andras Banki-Horvath
71a7dec649
sweeper: set sequence to be able to sweep htlc v2 utxo
2020-08-27 16:21:51 +02:00
Andras Banki-Horvath
cd0a5f9f06
swap: extend swap to be able to create the V2 htlc
2020-08-27 16:21:51 +02:00
Andras Banki-Horvath
9fdd531130
swap: add HTLC script version
2020-08-27 16:21:47 +02:00
Alex Bosworth
2cd2eb8996
Merge pull request #277 from lightninglabs/increase-payment-timeout
...
loopout: Increase payment timeout
2020-08-25 12:03:32 -07:00
Alex Bosworth
a47eacff62
loopout: Increase payment timeout
...
Allow for more time to search for low-routing fee pathways to the Loop service
2020-08-25 11:46:03 -07:00
Alex Bosworth
eb3e7a0661
Merge pull request #275 from lightninglabs/increase-sweep-conf-default
...
loopout: Increase default sweep confirmation target
2020-08-25 09:38:31 -07:00
Alex Bosworth
a29cb86b4a
Update loopout.go
2020-08-24 13:40:28 -07:00
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
2020-08-20 11:56:28 -07:00
Joost Jager
e9f71e90c2
Merge pull request #269 from krtk6160/master
...
Fix grpc and rest api docs links
2020-08-19 11:47:24 +02:00
Carla Kirk-Cohen
175941e46e
Merge pull request #272 from carlaKC/config-fixdefaultconfigpath
...
loopd: add network to default config file path
2020-08-19 11:04:07 +02:00
carla
ed04120a1a
loopd: set network in default config path
2020-08-18 21:42:13 +02:00
carla
d229a1a607
config: add default network value
2020-08-18 21:35:46 +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
Kartik Shah
b75c2cb344
Fix rest api docs link
2020-08-18 00:56:18 +05:30
Kartik Shah
5cde3df968
Fix grpc and rest api docs links
2020-08-15 03:12:05 +05:30
carla
b4e4d5c73d
loopd: block until lnd is synced to chain
2020-08-14 09:25:52 +02:00
carla
435238ac03
mutli: bump lndclient version
...
We need the newer version of lndclient to get our synced to chain
state. This requires changes to our test mock, so it is separated
into a different commit. Since lndclient is expanding to be used in
projects other than loop, the client interface is embedded in our
mock rather than implementing functions we do not need. Functions that
we already use in tests are updated accordingly.
Note that while this commit bumps us to a version of lndclient that
defaults to requiring lnd 0.11, we do not bump our required version
yet because we are not using any new endpoints.
2020-08-14 09:25:39 +02:00
Carla Kirk-Cohen
5d61fd508a
Merge pull request #266 from carlaKC/config-dbpath
...
loopd: allow custom database path
2020-08-13 14:25:33 +02:00
carla
d7150d5556
loopd: add data, loop and config options
2020-08-13 14:11:04 +02:00
Alex Bosworth
261eb81c39
Merge pull request #264 from lightninglabs/v0.8.0-beta
...
version: bump to 0.8.0-beta
2020-08-11 10:41:56 -07:00
Alex Bosworth
86be27b704
version: bump to 0.8.0-beta
2020-08-10 12:58:02 -07:00