Bitcoin node was having a hard time finding friends when onlynet was onion

This commit is contained in:
kexkey
2019-11-08 18:40:33 -05:00
committed by kexkey
parent 96f6301282
commit bc183583a6
2 changed files with 5 additions and 1 deletions

View File

@@ -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
<% } %>

View File

@@ -26,6 +26,10 @@ services:
networks:
- cyphernodenet
restart: always
<% if ( features.indexOf('tor') !== -1 ) { %>
depends_on:
- tor
<% } %>
# deploy:
# placement:
# constraints: [node.hostname==dev]