Commit Graph

451 Commits (4da4738a2d3a271e2b9ba6be066f1c38a82de5f7)
 

Author SHA1 Message Date
Oliver Gugger 774a44fac1
loopd: add StartAsSubserver method and started flag 4 years ago
Oliver Gugger 506d0c2257
loopd: refactor into Start/Stop methods 4 years ago
Oliver Gugger 215e5b99d6
loopd: extract daemon into struct 4 years ago
Oliver Gugger e696a38ec8
loopd: export Config struct 4 years ago
Oliver Gugger 5f70a05463
loopd: export DefaultConfig 4 years ago
Joost Jager bdfd382dec
Merge pull request #209 from joostjager/fix-loop-cli-parse
cmd/loop: fix channel parsing
4 years ago
Joost Jager a3924cfbc4
cmd/loop: fix channel parsing 4 years ago
András Bánki-Horváth bd2d39bd10
Merge pull request #203 from bhandras/lndclient_extension
lndclient: extend LightningClient with ListChannels and RouterClient with keysend
4 years ago
Andras Banki-Horvath cf9c3748c3 lndclient: add keysend ability to RouterClient 4 years ago
Andras Banki-Horvath 4d3771430a lndclient: add ListChannels to LightningClient 4 years ago
Joost Jager 3316c4beed
Merge pull request #205 from joostjager/channel-set
loop out: allow outbound channel set for multi-loops
4 years ago
Joost Jager 23a1e33dfc
lndclient: document SendPaymentRequest fields 4 years ago
Joost Jager ccec719423
looprpc: add outgoing channel set restriction
Expose the new channel set restriction on the loopd client rpc.
4 years ago
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.
4 years ago
Joost Jager 044c1c12dd
loopdb/test: add database dump and restore tools 4 years ago
Joost Jager bd6e3f405a
loopdb/test: parameterize loop out test 4 years ago
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.
4 years ago
Joost Jager 503c83c29f
loopdb: unroll shared fetch logic
Split the fetch logic so that it is easier to add loop type-specific
serialization.
4 years ago
Joost Jager 9927139dd3
loopdb: extract update deserialization
Preparation to prevent code duplication in future refactoring.
4 years ago
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.
4 years ago
Joost Jager c6697da90b
loopout/test: test payment parameters 4 years ago
Carla Kirk-Cohen 3f10407e9c
Merge pull request #208 from carlaKC/lndclient-lookupinvoice
lndclient: add lookup invoice
4 years ago
carla a57e34c71f
lndclient: add lookup invoice function to client interface 4 years ago
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.
4 years ago
carla 87a0a0c588
lndclient: add lookup invoice function to client implementation 4 years ago
Joost Jager dae3165b9b
Merge pull request #206 from joostjager/doc-api-support
readme: document api support level
4 years ago
Joost Jager d28492fa53
readme: document api support level 4 years ago
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.
4 years ago
Joost Jager 2ec580c92b
Merge pull request #201 from joostjager/improve-release-script
release: add tag and version verification to release script
4 years ago
Joost Jager 6ac3d39d19
release: add tag and version verification to release script 4 years ago
Joost Jager 2ddbe23418
build: mark build as default target 4 years ago
Joost Jager 9fba8eb8d8
Merge pull request #200 from joostjager/bump-version-0.6.2-beta
version: bump to v0.6.2-beta
4 years ago
Joost Jager f6750d67bc
version: bump to v0.6.2-beta
We can't remove the previous tag, so need to bump again unfortunately.
4 years ago
Joost Jager 06267b7442
Merge pull request #199 from joostjager/bump-version-0.6.1-beta
version: bump version to 0.6.1-beta
4 years ago
Joost Jager 2d47514306
version: bump version to 0.6.1-beta 4 years ago
Joost Jager d01c33cbb6
Merge pull request #198 from bhandras/segwit_fix
loopin: fix htlc address in LoopIn SwapResponse
4 years ago
Andras Banki-Horvath 936bb851f2 loopin: fix htlc address in LoopIn SwapResponse 4 years ago
Joost Jager f36d5a79f7
Merge pull request #196 from joostjager/fix-multi-loop-out
loopd: fix setting of max parts
4 years ago
Joost Jager 27a2b1a775
loopd: fix setting of max parts 4 years ago
Joost Jager 33a049f8e9
Merge pull request #184 from bhandras/native-segwit
support for native segwit loop-in
4 years ago
Andras Banki-Horvath c6e3829acd looprpc: bump protocol version 4 years ago
Andras Banki-Horvath 5215222ced cmd: print both htlc addresses when monitoring a loop-in 4 years ago
Andras Banki-Horvath 0aa978bd09 loopin: modify internally published htlc to use p2wsh 4 years ago
Andras Banki-Horvath f0aff9b7bd looprpc+loopin: support for native segwit htlcs
This commit extends SwapResponse and SwapStatus with np2wsh and p2wsh
htlc output addresses to support both nested and native segwit htlcs
in loop-in.

Furthermore the commit adds support for native segwith loop-in htlcs.
When the htlc is paid internally, as of this commit we'll use NP2WSH,
otherwise users are free to select whether to pay the NP2WSH or the
P2WSH htlc.
4 years ago
Andras Banki-Horvath 62f654eef1 client: make ListSwaps thread safe 4 years ago
Andras Banki-Horvath 60661504a5 htlc: add string representation for HtlcOutputType enum 4 years ago
Andras Banki-Horvath 87cc5571ef general: add ExternalHtlc to SwapInfo and add comments 4 years ago
Andras Banki-Horvath b2b0bad951 loopin+loopout: move htlc out of swapKit
This commit moves htlc out of swapkit in preparation of adding separate
p2wsh and np2wsh htlcs to loop-in swaps.
4 years ago
Andras Banki-Horvath 7a44eec36f loopin: refactor LoopIn to return struct instead of tuple 4 years ago
Carla Kirk-Cohen b070a4fb07
Merge pull request #192 from carlaKC/travis-depth
traivs: set depth to false to clone whole repo
4 years ago