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

1521 Commits

Author SHA1 Message Date
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
Carla Kirk-Cohen
a240c69b75
Merge pull request #258 from carlaKC/65-confirmationparam
loopout: allow per-swap confirmation targets for server HTLC
2020-08-05 10:56:55 +02:00
carla
13449fb7ea
loop: add htlc confirmations flag to loop out command 2020-08-04 20:29:56 +02:00
carla
852f459391
multi: add htlc confirmations parameter to client loop out request 2020-08-04 20:29:09 +02:00
carla
1877b7f08b
multi: store loop out htlc confirmations on disk
To allow users to specify differing confirmation targets, we store the
swap conf target per-swap. This makes us restart safe, so we do not
forget confirmation values for swaps that are in flight when we restart.
2020-08-04 20:28:06 +02:00
Carla Kirk-Cohen
e15549e9af
Merge pull request #263 from carlaKC/205-addlabelling
multi: add labelling to swaps
2020-08-04 17:18:52 +02:00
carla
f62d09528d
loop: allow creation of loops with labels on cli 2020-08-04 12:31:02 +02:00
carla
8da0ea6048
looprpc: add label to swap creation and display in list swaps 2020-08-03 11:00:56 +02:00
carla
9678c7817d
multi: add swap label to SwapContract and store under separate key
This commits adds an optional label to our swaps, and writes it to
disk under a separate key in our swap bucket. This approach is chosen
rather than an on-the-fly addition to our existing swap contract field
so that we do not need to deal with EOF checking in the future. To allow
creation of unique internal labels, we add a reserved prefix which can
be used by the daemon to set labels that are distinct from client set
ones.
2020-08-03 10:55:58 +02:00
Carla Kirk-Cohen
e2c54bd052
Merge pull request #259 from carlaKC/252-loopstates
looprpc: surface all failure reasons for failed swaps
2020-07-30 16:58:35 +02:00
carla
a9849bb317
multi: add failure reason to swap client server
To provide more information about swaps, we add a failure reason field
to our swaps. We do not extend our existing state enum to remain
backwards compatible.
2020-07-30 09:15:42 +02:00
Alex Bosworth
d046a68673
Merge pull request #256 from lightninglabs/v0.7.0-beta
version: bump to v0.7.0-beta
2020-07-21 10:38:22 -07:00
Alex Bosworth
9b0db0ebcd
version: bump to v0.7.0-beta
Increment version for 0.7.0
2020-07-21 09:18:31 -07:00
Oliver Gugger
9efca9da11
Merge pull request #254 from gcomte/master
looprpc/docs: fix typo
2020-07-17 16:21:28 +02:00
Gabriel Comte
6e916f2e40 looprpc/docs: fix typo 2020-07-17 16:10:29 +02:00
Joost Jager
2f40064639
Merge pull request #248 from joostjager/user-expiry
loopout: user-specified expiry
2020-07-17 11:11:57 +02:00
Joost Jager
43323ffbe2
loopout: extend htlc expiry based on conf target 2020-07-16 21:30:16 +02:00
Joost Jager
e72d998e78
loopout: show expiry range in terms 2020-07-16 21:30:15 +02:00
Joost Jager
05fd1da496
looprpc: update server proto 2020-07-16 21:30:13 +02:00
Joost Jager
85eb3d0fee
loopout/test: prevent modification of global test request 2020-07-16 21:30:11 +02:00
Carla Kirk-Cohen
f5f2d4261b
Merge pull request #226 from carlaKC/138-consumeswapsubscription
multi: consume and log sever state updates
2020-07-16 21:28:28 +02:00
carla
cd2b08aec6
multi: consume and log sever state updates 2020-07-16 21:02:06 +02:00
Joost Jager
a6539b6adb
Merge pull request #249 from joostjager/split-client-messages
looprpc: split client messages
2020-07-15 09:12:29 +02:00
Joost Jager
8d1ec50fa7
looprpc: split quote message 2020-07-14 19:26:30 +02:00
Joost Jager
24099aa4f9
looprpc: split terms message 2020-07-14 15:26:23 +02:00