Electrum Gap Limit from CLI

0

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.

MichalVales

Posted 2018-04-17T07:59:08.173

Reputation: 5

Does this no longer work?

Raghav Sood 2018-04-17T11:40:33.927

@RaghavSood console there means the python console in the QT gui.Abdussamad 2018-04-17T12:51:11.613

Answers

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

Abdussamad

Posted 2018-04-17T07:59:08.173

Reputation: 1 850

Is necessary to run the daemon to refresh addresses?MichalVales 2018-04-17T13:31:08.157

@MichalVales yes you'll likely have to restart electrum to get it to generate the new addresses and sync.Abdussamad 2018-04-17T20:21:15.197