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:
parent
36cc1da8ea
commit
32c4201edd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user