Bitcoin Forum

Bitcoin => Electrum => Topic started by: curious droid on July 04, 2021, 10:31:57 AM



Title: Can`t edit config file in Electrum, it gets overridden after starting Electrum
Post by: curious droid on July 04, 2021, 10:31:57 AM
Hi
Im on Linux Mint 20.1 Cinnamon, i want to setup Electrum to run over EPS, now i have to edit config file to add following as it was described here https://curiosityoverflow.xyz/posts/bitcoin-electrum-wallet/#tor-configuration (https://curiosityoverflow.xyz/posts/bitcoin-electrum-wallet/#tor-configuration)
Code:
{ "auto_connect": false, 
"oneserver": true,
"confirmed_only": true,
"server": localhost:50002:s
"skipmerklecheck": true, <-- this is important if your node is pruned
"use_rbf": false }
I also added this in command line of my desktop icon --oneserver --server localhost:50002:s
Now when i edit config file, i save it then close, i start Electrum and all my changes in config file get lost.
How can edit it and save permanently?


Title: Re: Can`t edit config file in Electrum, it gets overridden after starting Electrum
Post by: nc50lc on July 04, 2021, 11:45:54 AM
You should just edit your config file's existing values into those list's values.
Example: find "auto_connect" and set the value to "false", do the same to the rest.

If it's not available, your can add it to the next line.
Example: if "oneserver" isn't yet configured, add a line containing "oneserver": true,
https://i.imgur.com/1ST6eaD.png

Note: Do not forget to add "," if it's not the last line or it will result with the same behavior.



BTW, that happens when there's an error in the config file or if Electrum can't parse it.