You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loop/loopd
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
..
config.go loopd: add SOCKS proxy config option to dial swap server over Tor 4 years ago
daemon.go loopd: add SOCKS proxy config option to dial swap server over Tor 4 years ago
log.go cmd+loopd: move loopd to new folder loopd 4 years ago
start.go multi: unify default sweep/htlc conf targets 4 years ago
swapclient_server.go loopd: add missing zero case to validateConfTarget 4 years ago
swapclient_server_test.go loopd: add missing zero case to validateConfTarget 4 years ago
utils.go loopd: add SOCKS proxy config option to dial swap server over Tor 4 years ago
view.go multi: thread new config values through client 4 years ago