decrediton icon indicating copy to clipboard operation
decrediton copied to clipboard

cannot remove SPV Connect setting

Open chappjc opened this issue 1 year ago • 4 comments

I had a host in the SPV Connect box, but wanted to remove it, so I changed it like this, hit enter and it saved the setting:

image

Unfortunately, it left this in config.json:

   "spv_connect": [
        ""
    ],

And even after restarting Decrediton, it tries connecting like this:

[ERR] SYNC: Peering attempt failed: localpeer.ConnectOutbound(:19108): dial tcp :19108: connect: connection refused

After manually removing those three lines from config.json, it was able to connect freely to whichever peers.

chappjc avatar Jun 19 '23 19:06 chappjc

shouldn't you change Adv. Deamon Startup to Disabled in this case ?

amass01 avatar Jun 21 '23 06:06 amass01

Tried that too.

chappjc avatar Jun 21 '23 13:06 chappjc

i see, will look into it!

amass01 avatar Jun 21 '23 13:06 amass01

Come to think of it, I believe I had trouble changing Adv. Daemon Startup to Disabled. I'm running like this:

image

Does that setting apply to SPV as well as when you're actually running a daemon? I had it enabled from when I has SPV Disabled so that I could use a local node.

chappjc avatar Jun 21 '23 14:06 chappjc