f=$dir/bitcoin.conf
s dd of=$f <<EOF
- server=1
- # necessary for joinmarket, not bad in general
- rpcpassword=$(openssl rand -base64 32)
- rpcuser=$(openssl rand -base64 32)
- EOF
+server=1
+# necessary for joinmarket, not bad in general
+rpcpassword=$(openssl rand -base64 32)
+rpcuser=$(openssl rand -base64 32)
+EOF
# dunno about sharing a wallet between multiple instances
# manually did, wallet.dat symlinked in /nocow/.bitcoin
f2=$dir/bitcoinjm.conf
s cp $f $f2
s tee -a $f2 >/dev/null <<EOF
- # Joinmarket
- walletnotify=curl -sI --connect-timeout 1 http://localhost:62602/walletnotify?%s
- alertnotify=curl -sI --connect-timeout 1 http://localhost:62602/alertnotify?%s
- wallet=joinmarket.dat
- EOF
+# Joinmarket
+walletnotify=curl -sI --connect-timeout 1 http://localhost:62602/walletnotify?%s
+alertnotify=curl -sI --connect-timeout 1 http://localhost:62602/alertnotify?%s
+wallet=joinmarket.dat
+EOF
;;
# other distros unknown