kristapsk/raspibolt-extras

How to recreate the default joinmarket.cfg?

Closed this issue · 6 comments

Hi,

I am running the newest Joinmarket release (0.9.3). Noticed that my joinmarket.cfg file hasn't been updating for a while, f.ex I can't find the yieldgenerator fee settings which I used to adjust by opening nano yg-privacyenhanced.py but those have since then moved to the config file, according to 0.8.1 release notes. My config file seems to be from the time before that release.

The link above also suggests to back up and recreate the config file. What is the way to go about that? Alternatively, could someone please post the up-to-date default config? I think I found it here (from line 91) but not entirely sure if that's the right one. If it is, I guess I can simply copy paste it into my joinmarket.cfg file (and adjust the necessary lines)?

Thanks :)

Currently fastest way will be to backup and then delete existing ~/.joinmarket/joinmarket.cfg. On the next run any JM tools will create new config file with default values which user then needs to edit.

I think I found it here (from line 91)

Yes, that's the code used to create default config file if it's missing and to have defaults for values that are not specified in your config file. Alternative to method above is to manually look at what new settings you may be interested in are added.

Currently fastest way will be to backup and then delete existing ~/.joinmarket/joinmarket.cfg. On the next run any JM tools will create new config file with default values which user then needs to edit.

Ah thx, done that, all works.

In the new config file there are configs for '[MESSAGING:server3]', which in my old config file were commented out with the note '#Agora sometimes seems to be unreliable. Not active by default for that reason.'. The Raspibolt guide doesn't mention what to do with it. Since I run on Tor, I didn't want to risk any clearnet connections and simply uncommented that whole area (as I had before in the old config). Any disadvantages with that, or should I configure it to connect over Tor as well?

Thanks once again :)

Agora was re-enabled by default about month ago, see JoinMarket-Org/joinmarket-clientserver#1026.

Definitely use only Tor connection (vxecvd6lc4giwtasjhgbrr3eop6pzq6i5rveracktioneunalgqlwfad.onion) or keep it disabled.

Would those setting be correct then (not sure if usessl and port should be uncommented or not)?

[MESSAGING:server3]
#host = agora.anarplex.net
channel = joinmarket-pit
port = 14716
usessl = true
#socks5 = false
socks5_host = localhost
socks5_port = 9050

#for tor
host = vxecvd6lc4giwtasjhgbrr3eop6pzq6i5rveracktioneunalgqlwfad.onion
port = 6667
usessl = false
socks5 = true

You should also comment out port = 14716 and usessl = true. But I also updated the doc a moment ago, look at the current master.

Yep, many thanks, all updated :)

closing now