Joost Jager
59efe375e0
Merge pull request #230 from joostjager/doc-insecure
...
loopd: group and clarify swap server parameters
2020-06-15 19:53:56 +02:00
Joost Jager
b61b886c16
loopd: group and clarify swap server parameters
2020-06-15 16:18:34 +02:00
Joost Jager
de41c93334
Merge pull request #231 from joostjager/doc-fix-routing-fee
...
looprpc: fix doc on routing fee units
2020-06-15 15:20:39 +02:00
Joost Jager
8a4ce0ed89
looprpc: fix doc on routing fee units
2020-06-15 14:58:21 +02:00
Joost Jager
0ef659a486
looprpc: generate with latest lnd versions of the proto generators
...
3ef41dd198
2020-06-15 14:58:19 +02:00
Joost Jager
36b160cde6
Merge pull request #232 from joostjager/doc-compat
...
readme: update compatibility table
2020-06-15 14:43:26 +02:00
Joost Jager
e10cd7ca3a
lndclient: log version of connected lnd instance
2020-06-15 11:57:09 +02:00
Joost Jager
83f1a052d9
readme: update compatibility table
2020-06-15 11:51:22 +02:00
Alex Bosworth
efcf5eee8f
Merge pull request #227 from lightninglabs/v0.6.4-beta
...
version: bump to v0.6.4-beta
2020-06-12 11:00:28 -07:00
Alex Bosworth
0a99de31f1
version: bump to v0.6.4-beta
2020-06-12 10:50:10 -07:00
Oliver Gugger
b247e738e5
Merge pull request #224 from guggero/exit-code
...
cmd/loop: set exit code 1 on error
2020-06-11 22:18:26 +02:00
Oliver Gugger
7538e3cd84
cmd/loop: set exit code 1 on error
2020-06-11 21:00:24 +02:00
Carla Kirk-Cohen
5b684e295e
Merge pull request #193 from carlaKC/40-clientpreimagepush
...
loopout: push preimage to server to speed up off chain claim
2020-06-08 13:10:47 +02:00
carla
65c847674d
multi: add preimage push to loop out after sweep attempt
...
Once we have revealed our preimage to the world with a sweep attempt,
we can safely push our preimage to the server to speed up on chain
claim.
Rather than rely on the server, we use the state of our invoice in lnd
to determine whether we should continue trying to push the preimage to
the server.
2020-06-08 12:54:08 +02:00
carla
488df785e0
lndclient: close trackpayment channels once final state is reached
...
When the server is finsihed sending updates in trackPayment, we get an
EOF error. To allow clients to listen on these channels after the
payment has succeeded, we close them to signal that we have finsihed
sending updates.
2020-06-08 12:53:07 +02:00
carla
2ebbc78131
swap: add constructor for swap config
2020-06-08 12:53:07 +02:00
Alex Bosworth
9571371153
Merge pull request #219 from lightninglabs/v0.6.3-beta
...
version: bump to v0.6.3-beta
2020-06-04 13:05:38 -07:00
Alex Bosworth
32fc92c4a9
version: bump to v0.6.3-beta
...
Increment version number for a new release
2020-06-04 11:09:00 -07:00
András Bánki-Horváth
9302c630d9
Merge pull request #217 from bhandras/lnd_bump
...
build: bump lnd version to master head
2020-06-03 16:31:50 +02:00
Andras Banki-Horvath
543091747a
build: bump lnd version to master head
2020-06-03 15:51:09 +02:00
András Bánki-Horváth
2775ea5c22
Merge pull request #216 from bhandras/custom_records
...
lndclient: add optional custom records to SendPayment
2020-06-03 12:04:44 +02:00
Andras Banki-Horvath
0e048cbe54
lndclient: add optional custom records to SendPayment
2020-06-03 11:24:39 +02:00
Carla Kirk-Cohen
ce39d76c61
Merge pull request #211 from carlaKC/gomod-tidyandcheck
...
gomod: add makefile commands and check in travis
2020-06-02 12:37:49 +02:00
carla
d5d64fb97a
makefile+travis: add mod check and tidy and check modules in travis
2020-06-01 12:41:36 +02:00
carla
f7593dfc15
gosum: tidy dependencies
2020-06-01 12:40:52 +02:00
Joost Jager
4871abfc80
Merge pull request #204 from Roasbeef/lndclient-resp
...
lndclient: also set gRPC max resp size for sub-servers
2020-05-28 14:37:49 +02:00
Oliver Gugger
c281cab8a0
Merge pull request #202 from guggero/grub
...
loopd+config: prepare to be used as a library
2020-05-28 12:41:50 +02:00
Oliver Gugger
c2e513ecd0
loopd: remove short flags to avoid collision
2020-05-28 12:34:42 +02:00
Oliver Gugger
3a38f8faa4
cmd/loopd: add tlsCertPath and macaroonPath flags
2020-05-28 12:34:41 +02:00
Oliver Gugger
74b3580e01
loopd+cmd/loopd: rename main Start function to Run
2020-05-28 12:34:41 +02:00
Oliver Gugger
774a44fac1
loopd: add StartAsSubserver method and started flag
2020-05-28 12:34:38 +02:00
Oliver Gugger
506d0c2257
loopd: refactor into Start/Stop methods
2020-05-28 12:34:04 +02:00
Oliver Gugger
215e5b99d6
loopd: extract daemon into struct
2020-05-25 13:16:34 +02:00
Oliver Gugger
e696a38ec8
loopd: export Config struct
2020-05-25 13:16:33 +02:00
Oliver Gugger
5f70a05463
loopd: export DefaultConfig
2020-05-25 13:16:33 +02:00
Joost Jager
bdfd382dec
Merge pull request #209 from joostjager/fix-loop-cli-parse
...
cmd/loop: fix channel parsing
2020-05-25 08:56:25 +02:00
Joost Jager
a3924cfbc4
cmd/loop: fix channel parsing
2020-05-25 08:43:38 +02:00
András Bánki-Horváth
bd2d39bd10
Merge pull request #203 from bhandras/lndclient_extension
...
lndclient: extend LightningClient with ListChannels and RouterClient with keysend
2020-05-21 20:09:02 +02:00
Andras Banki-Horvath
cf9c3748c3
lndclient: add keysend ability to RouterClient
2020-05-21 20:04:46 +02:00
Andras Banki-Horvath
4d3771430a
lndclient: add ListChannels to LightningClient
2020-05-21 20:04:46 +02:00
Joost Jager
3316c4beed
Merge pull request #205 from joostjager/channel-set
...
loop out: allow outbound channel set for multi-loops
2020-05-21 13:06:52 +02:00
Joost Jager
23a1e33dfc
lndclient: document SendPaymentRequest fields
2020-05-21 11:22:08 +02:00
Joost Jager
ccec719423
looprpc: add outgoing channel set restriction
...
Expose the new channel set restriction on the loopd client rpc.
2020-05-21 11:22:06 +02:00
Joost Jager
8c544bf2ba
loopdb: store outgoing channel set
...
Upgrade the database schema to allow for multiple outgoing channels.
This is implemented as an on-the-fly migration leaving the old key in
place.
2020-05-21 11:22:04 +02:00
Joost Jager
044c1c12dd
loopdb/test: add database dump and restore tools
2020-05-21 11:22:02 +02:00
Joost Jager
bd6e3f405a
loopdb/test: parameterize loop out test
2020-05-21 11:22:00 +02:00
Joost Jager
c62acd5b85
lndclient: add outgoing channel set restriction
...
Expose the channel set restriction that was introduced in LND 0.10.1 on
the proxy object.
2020-05-21 11:21:58 +02:00
Joost Jager
503c83c29f
loopdb: unroll shared fetch logic
...
Split the fetch logic so that it is easier to add loop type-specific
serialization.
2020-05-21 11:21:56 +02:00
Joost Jager
9927139dd3
loopdb: extract update deserialization
...
Preparation to prevent code duplication in future refactoring.
2020-05-21 11:13:52 +02:00
Joost Jager
ba5577748b
loopdb: unroll shared creation logic
...
Another step in the separation of loop in and loop out. This prepares
for a new loop out-specific key to be added.
2020-05-21 11:13:50 +02:00