From 129160c48ad499d738d399a2c77891ff6992a324 Mon Sep 17 00:00:00 2001 From: Jakub Matys Date: Wed, 23 May 2018 13:01:21 +0200 Subject: [PATCH] Changed ports and added nolisten=1 option --- build/deb/debian/blockbook-zec-testnet.service | 2 +- configs/zec-testnet.json | 4 ++-- contrib/backends/zcash/zec-testnet.conf | 11 ++++++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/build/deb/debian/blockbook-zec-testnet.service b/build/deb/debian/blockbook-zec-testnet.service index 1521b6dd..ec7449fa 100644 --- a/build/deb/debian/blockbook-zec-testnet.service +++ b/build/deb/debian/blockbook-zec-testnet.service @@ -10,7 +10,7 @@ After=network.target Wants=zcash-zec-testnet.service [Service] -ExecStart=/opt/coins/blockbook/zec-testnet/bin/blockbook -coin=zec-testnet -blockchaincfg=/opt/coins/blockbook/zec-testnet/config/blockchaincfg.json -datadir=/opt/coins/data/zec-testnet/blockbook/db -sync -httpserver=:18235 -socketio=:18236 -certfile=/opt/coins/blockbook/zec-testnet/cert/blockbook -explorer=https://zec-testnet-bitcore1.trezor.io/ -log_dir=/opt/coins/blockbook/zec-testnet/logs +ExecStart=/opt/coins/blockbook/zec-testnet/bin/blockbook -coin=zec-testnet -blockchaincfg=/opt/coins/blockbook/zec-testnet/config/blockchaincfg.json -datadir=/opt/coins/data/zec-testnet/blockbook/db -sync -httpserver=:19032 -socketio=:19132 -certfile=/opt/coins/blockbook/zec-testnet/cert/blockbook -explorer=https://zec-testnet-bitcore1.trezor.io/ -log_dir=/opt/coins/blockbook/zec-testnet/logs User=blockbook-zec Type=simple Restart=on-failure diff --git a/configs/zec-testnet.json b/configs/zec-testnet.json index 747de52b..663b08c5 100644 --- a/configs/zec-testnet.json +++ b/configs/zec-testnet.json @@ -1,8 +1,8 @@ { - "rpcURL": "http://127.0.0.1:18232", + "rpcURL": "http://127.0.0.1:18032", "rpcUser": "rpc", "rpcPass": "rpc", "rpcTimeout": 25, "parse": true, - "zeroMQBinding": "tcp://127.0.0.1:18234" + "zeroMQBinding": "tcp://127.0.0.1:48332" } diff --git a/contrib/backends/zcash/zec-testnet.conf b/contrib/backends/zcash/zec-testnet.conf index 114a3dc4..100bd5b1 100644 --- a/contrib/backends/zcash/zec-testnet.conf +++ b/contrib/backends/zcash/zec-testnet.conf @@ -1,13 +1,14 @@ daemon=1 server=1 +nolisten=1 rpcuser=rpc rpcpassword=rpc -rpcport=18232 +rpcport=18032 txindex=1 testnet=1 addnode=testnet.z.cash rpcworkqueue=32 -zmqpubhashtx=tcp://127.0.0.1:18234 -zmqpubhashblock=tcp://127.0.0.1:18234 -zmqpubrawblock=tcp://127.0.0.1:18234 -zmqpubrawtx=tcp://127.0.0.1:18234 +zmqpubhashtx=tcp://127.0.0.1:48332 +zmqpubhashblock=tcp://127.0.0.1:48332 +zmqpubrawblock=tcp://127.0.0.1:48332 +zmqpubrawtx=tcp://127.0.0.1:48332