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.

  • Does this no longer work? – Raghav Sood Apr 17 '18 at 11:40
  • @RaghavSood console there means the python console in the QT gui. – Abdussamad Apr 17 '18 at 12:51

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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