2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-19 15:25:33 +00:00
Commit Graph

960 Commits

Author SHA1 Message Date
Johan T. Halseth
0023d1a0da
looprpc: update to new server protos
We update to new set of server protos where new Terms calls are added.
Here static information will be returned from the server.

We no longer have a feebase+feerate, but get a final fee directly
returned by the server.
2019-10-08 22:28:20 +02:00
Johan T. Halseth
0cff92d265
looprpc+cmd: deprecate dynamic terms
We move destination and cltv to QuoteResponse, and deprecate the
non-static fields.

Terms will now only show max/min swap sizes.
2019-10-08 22:28:20 +02:00
Johan T. Halseth
5fd51c0a3f
looprpc: remove go_package option
Not needed.
2019-10-08 22:28:20 +02:00
Alex Bosworth
556845e79c
Merge pull request #92 from lightninglabs/alexbosworth-patch-8
Bump version patch
2019-10-03 12:01:46 -07:00
Alex Bosworth
a45e2c80c0
Bump version patch 2019-10-03 11:34:31 -07:00
Alex Bosworth
b61807b310
Merge pull request #89 from wpaulino/loop-out-conf-target
loopout: compare delta from htlc expiry correctly
2019-10-03 11:33:26 -07:00
Alex Bosworth
0e0967716c
Merge pull request #86 from guggero/external-loop-in-fee-est
loopd: don't fail external loop in on fee estimation failure
2019-10-03 11:33:02 -07:00
Wilmer Paulino
e0d23cb180
loopout: compare delta from htlc expiry correctly
This addresses an issue where using a sweep confirmation target greater
than the default would result in most cases not revealing the preimage
due to the default confirmation target yielding a higher fee than the
max miner fee backed by the confirmation target provided.
2019-10-02 11:07:07 -04:00
Wilmer Paulino
09029bfdec
test: allow custom fee estimates 2019-10-01 11:21:17 -04:00
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