cmd/lncli: increase default recovery window to 2.5k

Increases the default window from 250 to 2.5k. Many
users have reported attempting recovery with the
default value only to find an empty wallet. This
change should help ensure that the first recovery
attempt succeeds for the majority of nodes that
have modest load. It might prudent to consider
increasing this value further in the future if
the issue persists or average node age increases.
This commit is contained in:
Conner Fromknecht 2019-02-22 18:08:01 -08:00
parent 36cc1da8ea
commit 32c4201edd
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -33,7 +33,7 @@ import (
// TODO(roasbeef): expose all fee conf targets // TODO(roasbeef): expose all fee conf targets
const defaultRecoveryWindow int32 = 250 const defaultRecoveryWindow int32 = 2500
func printJSON(resp interface{}) { func printJSON(resp interface{}) {
b, err := json.Marshal(resp) b, err := json.Marshal(resp)