Wilmer Paulino
9f25fdd0bb
store: use correct vars for loop in assertions
2019-10-01 10:38:48 -04:00
Johan T. Halseth
fa1b86c691
Merge pull request #77 from saguywalker/fix-readme
...
README: Fix typo
2019-09-25 14:06:10 +02:00
Oliver Gugger
c00f831675
cmd/loop: handle external loop in flag
2019-09-23 10:30:01 +02:00
Oliver Gugger
489ab5620e
loopd: receive external HTLC flag in loop in quote request
2019-09-23 10:08:34 +02:00
Oliver Gugger
be9a2b9a47
looprpc: add external HTLC flag to quote request
2019-09-23 09:58:52 +02:00
Oliver Gugger
036db6646f
looprpc: regenerate with correct version
2019-09-23 09:54:33 +02:00
Olaoluwa Osuntokun
08f07946f7
Merge pull request #83 from Roasbeef/go1.13
...
build: update to go1.13
2019-09-14 15:44:32 +03:00
Olaoluwa Osuntokun
31ee5d8784
build: update to go1.13
2019-09-14 05:38:00 -07:00
Olaoluwa Osuntokun
32672cbdb0
build: tidy go modules, update to lnd v0.7.1
2019-09-04 21:02:56 -07:00
William O'Beirne
647095b5d3
README: add RPC docs & ports
2019-09-04 20:51:55 -07:00
Nigel Christian
861808530a
loop: add REST endpoints for Loop In
2019-09-04 20:48:48 -07:00
saguywalker
4e91e68278
Update README.md
2019-08-14 13:35:15 +03:00
Olaoluwa Osuntokun
8539cc520f
Merge pull request #72 from lightninglabs/alexbosworth-patch-7
...
version: bump version to 0.2.2
2019-07-31 15:35:31 -07:00
Alex Bosworth
921ff57603
version: bump version to 0.2.2
...
Bump the version number to the next release number
2019-07-31 14:01:23 -07:00
Alex Bosworth
6608337bb4
Merge pull request #71 from joostjager/address-estimate
...
multi: base sweep fee estimate on actually used address type
2019-07-31 09:30:18 -07:00
Joost Jager
9924583b54
Merge pull request #70 from bjornoj/master
...
loop+loopout: validate hash of swap invoice
2019-07-31 11:08:49 +02:00
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.
2019-07-31 11:01:42 +02:00
Joost Jager
ecd36b921c
multi: base sweep fee estimate on actually used address type
2019-07-30 13:59:34 +02:00
Joost Jager
b3b20fc66f
loopout: remove redundant type declaration
2019-07-30 13:59:33 +02:00
Olaoluwa Osuntokun
6da8494a0f
Merge pull request #68 from lightninglabs/alexbosworth-patch-7
...
version: bump version to 2.0.1
2019-07-24 17:35:22 -07:00
Alex Bosworth
bf3c5797f6
version: bump version to 2.0.1
...
Bump the version number to the next release number
2019-07-23 11:54:22 -07:00
Olaoluwa Osuntokun
e8d696e119
Merge pull request #65 from wpaulino/sweep-conf-target
...
multi: expose confirmation target for loop out HTLC sweeps
2019-07-12 17:20:21 -07:00
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.
2019-07-10 18:00:48 -07:00
Wilmer Paulino
c16e170338
multi: expose confirmation target for loop out HTLC sweep
2019-07-10 18:00:47 -07:00
Wilmer Paulino
a138790822
multi: expose confirmation target for loop out quotes
2019-07-10 18:00:46 -07:00
Olaoluwa Osuntokun
9df227d9d0
Merge pull request #63 from wpaulino/gen-protos-v1.3.1
...
looprpc: update generated protos to use protobuf v1.3.1
2019-07-03 19:21:28 -07:00
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.
2019-06-26 14:55:16 -04:00
Olaoluwa Osuntokun
7bcd7f0572
README: update to mention Loop In availability
2019-06-26 09:49:27 -07:00
Olaoluwa Osuntokun
a10015fce2
README: update readme with loop in+out instructions
2019-06-26 09:46:05 -07:00
Olaoluwa Osuntokun
ca26413891
loop: bump version to v0.2.0-alpha
2019-06-26 01:17:42 -07:00
Olaoluwa Osuntokun
88ee52093a
Merge pull request #64 from joostjager/remove-mainnet-block
...
loopd: remove mainnet loop in block
2019-06-26 01:05:18 -07:00
Joost Jager
13ab5a219f
loopd: remove mainnet loop in block
2019-06-25 11:43:23 +02:00
Olaoluwa Osuntokun
1dd924c392
Merge pull request #61 from joostjager/update-readme
...
README: Add routerrpc sub-server tag
2019-06-12 21:47:07 +02:00
Joost Jager
46708cadbb
README: Add routerrpc sub-server tag
2019-06-12 13:36:37 +02:00
Olaoluwa Osuntokun
9de7b949dd
Merge pull request #59 from valentinewallace/basic-client-mac-path
...
lndclient/basic_client: pass full macaroon path, not just directory.
2019-06-07 12:51:36 +02:00
Valentine Wallace
8311d70cbf
lndclient/basic_client: add functional optional args to NewBasicClient.
2019-06-06 15:57:25 -07:00
Olaoluwa Osuntokun
31451f62f8
Merge pull request #60 from joostjager/reliable-payment
...
lndclient: add routerrpc
2019-06-06 17:16:05 +02:00
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.
2019-06-06 13:57:49 +02:00
Joost Jager
dc2baf582f
lndclient: use SubscribeSingleInvoiceRequest message
2019-06-06 13:57:47 +02:00
Alex Bosworth
fd5020b53a
Merge pull request #58 from alexbosworth/v0.1.3
...
version: bump version to 0.1.3
2019-05-31 09:57:41 -07:00
Alex Bosworth
389e7c6bf0
bump version
2019-05-23 13:09:27 -07:00
Olaoluwa Osuntokun
86264db1a3
Merge pull request #56 from valentinewallace/increase-lightning-grpc-block-size
...
lndclient: increase lightning gRPC block size to 50MB
2019-05-21 17:13:58 -07:00
Valentine Wallace
ee5f1852d6
lndclient: increase lightning gRPC block size to 50MB
2019-05-21 17:04:49 -07:00
Olaoluwa Osuntokun
7fd2f1176e
Merge pull request #55 from joostjager/report-cost
...
multi: persist swap cost and report over rpc
2019-05-21 16:35:58 -07:00
Joost Jager
6aa9071c4d
looprpc+loop: report swap cost over rpc
2019-05-20 13:57:20 +02:00
Joost Jager
6efa62347b
multi: store swap cost in database
2019-05-20 13:57:18 +02:00
Joost Jager
24a1b8d642
loopdb: initialize new database with current version
2019-05-20 13:57:15 +02:00
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.
2019-05-20 13:57:12 +02:00
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.
2019-05-20 13:57:09 +02:00
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.
2019-05-17 18:40:43 -07:00