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
Joost Jager
c6697da90b
loopout/test: test payment parameters
2020-05-21 11:13:48 +02:00
Carla Kirk-Cohen
3f10407e9c
Merge pull request #208 from carlaKC/lndclient-lookupinvoice
...
lndclient: add lookup invoice
2020-05-21 09:06:35 +02:00
carla
a57e34c71f
lndclient: add lookup invoice function to client interface
2020-05-21 08:59:54 +02:00
carla
8b1cdd414c
test/test: add lookup invoice to mock lightning client
...
Track the invoices we create with AddInvoice so that we can
realistically lookup and settle with the mock.
2020-05-21 08:59:52 +02:00
carla
87a0a0c588
lndclient: add lookup invoice function to client implementation
2020-05-21 08:59:21 +02:00
Joost Jager
dae3165b9b
Merge pull request #206 from joostjager/doc-api-support
...
readme: document api support level
2020-05-20 14:12:46 +02:00
Joost Jager
d28492fa53
readme: document api support level
2020-05-19 12:37:11 +02:00
Olaoluwa Osuntokun
e97ec65444
lndclient: also set gRPC max resp size for sub-servers
...
In this commit, we now ensure that we set the max resp size for the
sub-server connection we create. Without this, it's possible that
several calls fail if the responses aren't yet paginated, or are very
large.
2020-05-18 14:38:42 -07:00
Joost Jager
2ec580c92b
Merge pull request #201 from joostjager/improve-release-script
...
release: add tag and version verification to release script
2020-05-14 12:08:39 +02:00
Joost Jager
6ac3d39d19
release: add tag and version verification to release script
2020-05-14 11:33:39 +02:00
Joost Jager
2ddbe23418
build: mark build as default target
2020-05-14 11:33:37 +02:00
Joost Jager
9fba8eb8d8
Merge pull request #200 from joostjager/bump-version-0.6.2-beta
...
version: bump to v0.6.2-beta
2020-05-12 21:24:24 +02:00