Commit Graph

248 Commits (a05e46697d54e5bb62b314cbd7b5dd57a7e3323f)
 

Author SHA1 Message Date
Oliver Gugger 489ab5620e
loopd: receive external HTLC flag in loop in quote request 5 years ago
Oliver Gugger be9a2b9a47
looprpc: add external HTLC flag to quote request 5 years ago
Oliver Gugger 036db6646f
looprpc: regenerate with correct version 5 years ago
Olaoluwa Osuntokun 08f07946f7
Merge pull request #83 from Roasbeef/go1.13
build: update to go1.13
5 years ago
Olaoluwa Osuntokun 31ee5d8784 build: update to go1.13 5 years ago
Olaoluwa Osuntokun 32672cbdb0
build: tidy go modules, update to lnd v0.7.1 5 years ago
William O'Beirne 647095b5d3 README: add RPC docs & ports 5 years ago
Nigel Christian 861808530a loop: add REST endpoints for Loop In 5 years ago
saguywalker 4e91e68278
Update README.md 5 years ago
Olaoluwa Osuntokun 8539cc520f
Merge pull request #72 from lightninglabs/alexbosworth-patch-7
version: bump version to 0.2.2
5 years ago
Alex Bosworth 921ff57603
version: bump version to 0.2.2
Bump the version number to the next release number
5 years ago
Alex Bosworth 6608337bb4
Merge pull request #71 from joostjager/address-estimate
multi: base sweep fee estimate on actually used address type
5 years ago
Joost Jager 9924583b54
Merge pull request #70 from bjornoj/master
loop+loopout: validate hash of swap invoice
5 years ago
Bjorn Olav Jalborg 8d7a272fdd loop+loopout: validate hash of swap invoice
This commit fixes a possible exploit by the loop server, where
- in a loop out - the server could claim money off-chain, without
publishing an on-chain swap htlc.

The server could do this by responding with a regular invoice, whose hash
is different than the hash in the NewLoopOutSwap request. To prevent
the exploit, we validate that the hash of the swap invoice is equal to the
hash the client generated.
5 years ago
Joost Jager ecd36b921c
multi: base sweep fee estimate on actually used address type 5 years ago
Joost Jager b3b20fc66f
loopout: remove redundant type declaration 5 years ago
Olaoluwa Osuntokun 6da8494a0f
Merge pull request #68 from lightninglabs/alexbosworth-patch-7
version: bump version to 2.0.1
5 years ago
Alex Bosworth bf3c5797f6
version: bump version to 2.0.1
Bump the version number to the next release number
5 years ago
Olaoluwa Osuntokun e8d696e119
Merge pull request #65 from wpaulino/sweep-conf-target
multi: expose confirmation target for loop out HTLC sweeps
5 years ago
Wilmer Paulino 47321ba4a4
loop: use default confirmation target for htlc sweep after expiry delta
In this commit, we introduce a delta from the on-chain HTLC's
expiration. Since clients are now able to specify a confirmation target
for the HTLC sweep, it's possible that the sweep doesn't confirm within
the intended target in the event of an increasing demand for block
space. Once the delta from the HTLC's expiration is reached, we'll begin
to use the default sweep confirmation target when sweeping the HTLC,
which should provide a timely confirmation. This is needed because if
the preimage has already been revealed, then we need to make sure we
sweep the HTLC before the server does.
5 years ago
Wilmer Paulino c16e170338
multi: expose confirmation target for loop out HTLC sweep 5 years ago
Wilmer Paulino a138790822
multi: expose confirmation target for loop out quotes 5 years ago
Olaoluwa Osuntokun 9df227d9d0
Merge pull request #63 from wpaulino/gen-protos-v1.3.1
looprpc: update generated protos to use protobuf v1.3.1
5 years ago
Wilmer Paulino 5d2aaeb7ef
looprpc: update generated protos to use protobuf v1.3.1
Although loop already depends on protobuf v1.3.1, the generated protos
were not updated to use this version.
5 years ago
Olaoluwa Osuntokun 7bcd7f0572
README: update to mention Loop In availability 5 years ago
Olaoluwa Osuntokun a10015fce2
README: update readme with loop in+out instructions 5 years ago
Olaoluwa Osuntokun ca26413891
loop: bump version to v0.2.0-alpha 5 years ago
Olaoluwa Osuntokun 88ee52093a
Merge pull request #64 from joostjager/remove-mainnet-block
loopd: remove mainnet loop in block
5 years ago
Joost Jager 13ab5a219f loopd: remove mainnet loop in block 5 years ago
Olaoluwa Osuntokun 1dd924c392
Merge pull request #61 from joostjager/update-readme
README: Add routerrpc sub-server tag
5 years ago
Joost Jager 46708cadbb README: Add routerrpc sub-server tag 5 years ago
Olaoluwa Osuntokun 9de7b949dd
Merge pull request #59 from valentinewallace/basic-client-mac-path
lndclient/basic_client: pass full macaroon path, not just directory.
5 years ago
Valentine Wallace 8311d70cbf lndclient/basic_client: add functional optional args to NewBasicClient. 5 years ago
Olaoluwa Osuntokun 31451f62f8
Merge pull request #60 from joostjager/reliable-payment
lndclient: add routerrpc
5 years ago
Joost Jager f559120565
lndclient: add router sub server
This commit exposes router sub server functionality to loop. This is a
preparation for using reliable payments in loop out.
5 years ago
Joost Jager dc2baf582f
lndclient: use SubscribeSingleInvoiceRequest message 5 years ago
Alex Bosworth fd5020b53a
Merge pull request #58 from alexbosworth/v0.1.3
version: bump version to 0.1.3
5 years ago
Alex Bosworth 389e7c6bf0
bump version 5 years ago
Olaoluwa Osuntokun 86264db1a3
Merge pull request #56 from valentinewallace/increase-lightning-grpc-block-size
lndclient: increase lightning gRPC block size to 50MB
5 years ago
Valentine Wallace ee5f1852d6
lndclient: increase lightning gRPC block size to 50MB 5 years ago
Olaoluwa Osuntokun 7fd2f1176e
Merge pull request #55 from joostjager/report-cost
multi: persist swap cost and report over rpc
5 years ago
Joost Jager 6aa9071c4d
looprpc+loop: report swap cost over rpc 5 years ago
Joost Jager 6efa62347b
multi: store swap cost in database 5 years ago
Joost Jager 24a1b8d642
loopdb: initialize new database with current version 5 years ago
Joost Jager 7d6ed06d5c
loopdb: enable logging
Previous code in log.go assumed there would by sub system level
enable/disable for loop. This is not yet in place, so converting to same
style as used in the lndclient package.
5 years ago
Joost Jager 1b306ad425
loopdb: replace swap state enum by state data object
This commits lays down the foundation in the database for adding more
persistent state data to swaps.
5 years ago
Geoff Taylor 793fb4d90e loop: introduce docker integration (#46)
* Introduced docker integration
* Added Dockerfile to build loopd and loop with no dependencies.
* Added instructions to build and run docker image.

* Fixed documentation on mapping of ~/.lnd
* Would have caused problems because ~/.loop wasn't mapped
* Now map entire home directory

* Updated DOCKER.md example to just map ~/.lnd and ~/.loop.
* Removed mapping of home directory - one of the benefits of docker is being explicit about the resources the container uses so I felt bad mapping the entire home directory when only two known folders were used.
5 years ago
Olaoluwa Osuntokun eece3adad1
Merge pull request #52 from alexbosworth/master
version: bump for patch release
5 years ago
Olaoluwa Osuntokun 7318698917
Merge pull request #51 from joostjager/swapserver-address
loopd: use proper default swap server address
5 years ago
Alex Bosworth 7687a2794c
version: bump for patch release 5 years ago