From bc183583a6921ec110ccab63106b52fec9030de2 Mon Sep 17 00:00:00 2001 From: kexkey Date: Fri, 8 Nov 2019 18:40:33 -0500 Subject: [PATCH] Bitcoin node was having a hard time finding friends when onlynet was onion --- cyphernodeconf_docker/templates/bitcoin/bitcoin.conf | 2 +- .../templates/installer/docker/docker-compose.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cyphernodeconf_docker/templates/bitcoin/bitcoin.conf b/cyphernodeconf_docker/templates/bitcoin/bitcoin.conf index 72dbb2c..db3710e 100644 --- a/cyphernodeconf_docker/templates/bitcoin/bitcoin.conf +++ b/cyphernodeconf_docker/templates/bitcoin/bitcoin.conf @@ -18,7 +18,7 @@ zmqpubrawtx=tcp://0.0.0.0:18502 <% if ( features.indexOf('tor') !== -1 ) { %> #tor proxy=tor:9050 -onlynet=onion +#onlynet=onion listen=1 <% } %> diff --git a/cyphernodeconf_docker/templates/installer/docker/docker-compose.yaml b/cyphernodeconf_docker/templates/installer/docker/docker-compose.yaml index ddb77b3..d516077 100644 --- a/cyphernodeconf_docker/templates/installer/docker/docker-compose.yaml +++ b/cyphernodeconf_docker/templates/installer/docker/docker-compose.yaml @@ -26,6 +26,10 @@ services: networks: - cyphernodenet restart: always + <% if ( features.indexOf('tor') !== -1 ) { %> + depends_on: + - tor + <% } %> # deploy: # placement: # constraints: [node.hostname==dev]