Commit Graph

171 Commits (b574e344ea3bafe94314d586131d2e1296d7c67d)
 

Author SHA1 Message Date
Oliver Gugger b574e344ea
multi: add persistent logger 5 years ago
Oliver Gugger 0d76d6e162
mod: use newest lnd version 5 years ago
Alex Bosworth 43cff31297
Merge pull request #95 from lightninglabs/alexbosworth-patch-9
version: bump version to 0.2.4
5 years ago
Alex Bosworth 52d0d04ea7
version: bump version to 0.2.4
Bump the version number to a new patch release version
5 years ago
Johan T. Halseth ce724d7a7c
Merge pull request #93 from guggero/extract-types
loop+cmd: extract types into common module
5 years ago
Oliver Gugger 69f2af9fdc
loop+cmd: extract types into swap module 5 years ago
Johan T. Halseth 7a1680d7d6
Merge pull request #94 from guggero/lint
Add linter to makefile, lint on Travis build
5 years ago
Oliver Gugger a0a03b4972
only lint new issues, add linting to travis run 5 years ago
Oliver Gugger 36838cf7f4
multi: fix most obvious linter errors 5 years ago
Oliver Gugger 1cdb233a00
add lint command to Makefile 5 years ago
Johan T. Halseth 9039e5f97a
Merge pull request #88 from halseth/proto-quote-amount
server proto: add amt to ServerLoopOutQuoteRequest
5 years ago
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.
5 years ago
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.
5 years ago
Johan T. Halseth 5fd51c0a3f
looprpc: remove go_package option
Not needed.
5 years ago
Alex Bosworth 556845e79c
Merge pull request #92 from lightninglabs/alexbosworth-patch-8
Bump version patch
5 years ago
Alex Bosworth a45e2c80c0
Bump version patch 5 years ago
Alex Bosworth b61807b310
Merge pull request #89 from wpaulino/loop-out-conf-target
loopout: compare delta from htlc expiry correctly
5 years ago
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
5 years ago
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.
5 years ago
Wilmer Paulino 09029bfdec
test: allow custom fee estimates 5 years ago
Wilmer Paulino 9f25fdd0bb
store: use correct vars for loop in assertions 5 years ago
Johan T. Halseth fa1b86c691
Merge pull request #77 from saguywalker/fix-readme
README: Fix typo
5 years ago
Oliver Gugger c00f831675
cmd/loop: handle external loop in flag 5 years ago
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