Commit Graph

370 Commits (9fba8eb8d823a104b7ee577e53996043301d189a)
 

Author SHA1 Message Date
Carla Kirk-Cohen a90971a697
Merge pull request #175 from bhandras/mock_update
test: followup update chainnotifier mock to fwd notifications for matching txs
4 years ago
carla 5a5ac94661
README: add conf_target to loop in readme section 4 years ago
carla fc99c8b320
multi: add confirmation target to loop in 4 years ago
carla f726fc2bc8
loopd: add missing zero case to validateConfTarget
Update validate function to return default target for zero value
confirmation targets, as indicated by the comment. This change
introduces a behaviour change for direct rpc calls to loopd (ie,
those not made by the loop cli tool). Previously, these calls
would fail and indicate that the conf target must be > 2, now
they will succeed with the default conf target. The loop cli
tool is unaffected because we already set the default value.

When clients upgrade from a previous version of loopd which did
not have this check, preexisting loops will be unaffected, because
loop ins had the default of 6 confirmations set, and loop outs with
<2 conf target would not have been created.
4 years ago
carla 1f5aeff45f
multi: unify default sweep/htlc conf targets
Create a HtlcConfTarget which is used as a default for quote
and loop in. Update loop out quote to use the existing var
rather than just 6 inline.
4 years ago
Joost Jager 6acd76e237
loopout: allow multi-loop 4 years ago
Joost Jager 710ae77750
loopout: log in-flight htlc status 4 years ago
Joost Jager 4039ba9b69
loopout: use routerrpc to send payments 4 years ago
Andras Banki-Horvath 235e1bb9b8 test: followup update chainnotifier mock to fwd notifications for matching txs
This is the remainder of the previous commit which was left out from the
original PR.
4 years ago
carla e36c5a45d3
loop: fix loop in quote conf target flag usage field 4 years ago
carla 41550a9c4b
makefile+travis: add install and build commands
Build executables are suffixed with 'debug' because we cannot
create a loopd executable in the root repo dir, since there is an
already existing loopd executable. Add build to travis.
4 years ago
Joost Jager 32d0cd90e3
lndclient: update to new routerrpc 4 years ago
Olaoluwa Osuntokun 8301abdb4c
Merge pull request #174 from bhandras/mock_update
test: update chainnotifier mock to fwd notifications for matching txs
4 years ago
Andras Banki-Horvath 95273c1cf8 test: update chainnotifier mock to fwd notifications for matching txs 4 years ago
Olaoluwa Osuntokun 605d3ac60b
Merge pull request #173 from bhandras/hotfix
loopd: add missing mutex unlock and fix subtle reace condition
4 years ago
Andras Banki-Horvath f4be20cc5e loopd: add missing mutex unlock and fix subtle reace condition 4 years ago
Olaoluwa Osuntokun bb38cf5c79
Merge pull request #165 from wpaulino/swap-server-over-tor
loopd: add SOCKS proxy config option to dial swap server over Tor
4 years ago
Olaoluwa Osuntokun 52730973e9
Merge pull request #169 from lightninglabs/v0.5.1-beta
version: bump version to 0.5.1-beta
4 years ago
Alex Bosworth ffb77c465a
version: bump version to 0.5.1-beta 4 years ago
Alex Bosworth 3e8b6aad09
Merge pull request #168 from lightninglabs/increase-fee-maximum
cmd/loop: bump rate maximum
4 years ago
Alex Bosworth 933f1b81d1
cmd/loop: bump rate maximum
Increase rate maximum multiplier to increase maximum fees when there is a large fee rate change
4 years ago
Oliver Gugger e5c5d49a30
Merge pull request #158 from guggero/max-quote-fix
Don't fail loop in quote if balance is insufficient for the miner fee estimation
4 years ago
Wilmer Paulino 5b732d9012
loopd: add SOCKS proxy config option to dial swap server over Tor
This allows Loop users to further improve their privacy by not revealing
their source IP address. Note that the identity of the lnd node behind
Loop can still be revealed when performing a Loop In due to the swap
server extending an off-chain HTLC to the user.

Onion addresses don't yet exist for the swap servers, but they will be
added at a later time.
4 years ago
Oliver Gugger acdd2a22b2
cmd/loop: warn user if fee estimation fails 4 years ago
Oliver Gugger 3dd10f14dc
client: return miner fee of -1 if fee estimation fails 4 years ago
Oliver Gugger f5fbf6655d
looprpc: clarify loop quote response 4 years ago
Alex Bosworth a473ab5d79
Merge pull request #161 from lightninglabs/v0.5.0-beta
version: bump version to 0.5.0-beta
4 years ago
Alex Bosworth bca4ea8ee2
version: bump version to 0.5.0-beta 4 years ago
Oliver Gugger a57a2947b5
cmd/loop: add loop in quote command 4 years ago
Olaoluwa Osuntokun 8a4d630c93
Merge pull request #156 from guggero/rest-api-fixes
looprpc: remove streaming REST endpoint, fix comment
4 years ago
Oliver Gugger 1811aa49a3
looprpc: remove streaming REST endpoint, fix comment 4 years ago
Olaoluwa Osuntokun ba6b4e782e
Merge pull request #145 from guggero/stream-interceptor
lsat: add stream interceptor
4 years ago
Joost Jager b785254f0e
Merge pull request #152 from joostjager/loop-in-last-hop
multi: allow loop in last hop restriction
4 years ago
Joost Jager b69e8cb275
multi: allow loop in last hop restriction 4 years ago
Joost Jager 535e964ec9
loopdb: migrate loop in channel to last hop
A database field was already in place to allow channel selection for
loop in. Unfortunately this field, which contains a short channel id,
isn't easily usable for controlling the loop server payment. Because of
non-strict forwarding, it is only possible to constrain a route to a
specific last hop pubkey.

This commit converts the existing field into a pubkey field.
4 years ago
Oliver Gugger 8771d06aad
Merge pull request #155 from wpaulino/signer-compute-input-script
lndclient: expose ComputeInputScript in SignerClient
4 years ago
Wilmer Paulino 0b053e6868
lndclient: expose ComputeInputScript in SignerClient 4 years ago
Alex Bosworth 4d2018e852
Merge pull request #150 from lightninglabs/v0.4.1-beta
version: bump version to 0.4.1-beta
4 years ago
Joost Jager 1ebba410ea
Merge pull request #151 from joostjager/last-hop-restriction
lndclient: add last hop restriction
4 years ago
Joost Jager f3887ebb97
lndclient: add last hop restriction 4 years ago
Oliver Gugger 736daafb5a
Merge pull request #143 from wpaulino/lightning-client-channel-backups
lndclient: expose retrieval of channel backups through LightningClient
4 years ago
Wilmer Paulino a5f56342df
lndclient: expose retrieval of channel backups through LightningClient 4 years ago
Alex Bosworth 29fa117c75
version: bump version to 0.4.1-beta 4 years ago
Oliver Gugger 79c54b9334
lsat: add stream interceptor 4 years ago
Alex Bosworth e8dce9e67f
Merge pull request #149 from guggero/quote-fix
cmd/loop: remove number of flags restriction
4 years ago
Alex Bosworth ba7a018a5c
Merge pull request #148 from guggero/cors-header
loopd: add option to configure CORS origin
4 years ago
Oliver Gugger 60e1fd2481
cmd/loop: remove number of flags restriction
With the restriction in place, it is not possible to use the
--conf_target and --fast flag at the same time. To avoid similar
problems in the future, the check for the number of amounts is
removed completely.
4 years ago
Oliver Gugger ae376a49ba
loopd: fix linter issue 4 years ago
Oliver Gugger 8c7eee2ba9
loopd: add option to configure CORS origin 4 years ago
Oliver Gugger bcd92cead4
lsat: extract runtime info into interceptContext
To make the code easier to be reused for the upcoming stream
interceptor, all generic information about the interceptor's context
is extracted into a struct and the helper methods are adapted to
work with that struct.
4 years ago