1

Is there any way to change wallet gap limit in Electrum from command line? If yes, how? If not, could it be bypassed using some kind of external script? I really need to avoid GUI. Thank you in advance.

2
  • Does this no longer work? Commented Apr 17, 2018 at 11:40
  • @RaghavSood console there means the python console in the QT gui.
    – Abdussamad
    Commented Apr 17, 2018 at 12:51

1 Answer 1

0

The only way is to edit the json code in the wallet file and add the gap limit into it. You can do that using the command line tool jq:

jq ". + {gap_limit:100}" wallet_file

2
  • Is necessary to run the daemon to refresh addresses? Commented Apr 17, 2018 at 13:31
  • @MichalVales yes you'll likely have to restart electrum to get it to generate the new addresses and sync.
    – Abdussamad
    Commented Apr 17, 2018 at 20:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.