Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Configuring with joinmarket.cfg

CohibAA edited this page Aug 9, 2015 · 21 revisions

The joinmarket.cfg file looks like this. Lines starting with # are comments

[BLOCKCHAIN]
blockchain_source = blockr 
#options: blockr, json-rpc, regtest 
#before using json-rpc read https://github.com/chris-belcher/joinmarket/wiki/Running-JoinMarket-with-Bitcoin-Core-full-node 
network = mainnet
bitcoin_cli_cmd = bitcoin-cli

[MESSAGING]
host = irc.cyberguerrilla.org
channel = joinmarket-pit
port = 6697
usessl = true
socks5 = false
socks5_host = localhost
socks5_port = 9050
#for tor
#host = 6dvj6v5imhny3anf.onion
#port = 6697
#usessl = true
#socks5 = true

It has simple options for changing the bitcoin network, blockchain source and irc options.

Network can be mainnet or testnet

bitcoin_cli_cmd is the cli command to invoke bitcoin-cli. Can add other parameters here too e.g.

bitcoin_cli_cmd = /home/myuser/bitcoin/bitcoin-0.10.0/bin/bitcoin-cli -datadir=/my/path/to/.bitcoin

See also: https://github.com/chris-belcher/joinmarket/wiki/Running-JoinMarket-with-Bitcoin-Core-full-node

Connecting with Tor

You need Tor running locally. Change the host field to the cyberguerrilla onion, enable socks5 and disable ssl.