commit 50049370b747237504db030aff10fb511f3869e3
parent d3ed8d5eacd7655370471ff8e5ba62ddf7f1b7cb
Author: Nick <nicholas.w.farrow@gmail.com>
Date: Sat, 23 Jan 2021 04:37:52 +1100
better explanations for config
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/config.py b/config.py
@@ -1,7 +1,10 @@
# Bitcoin node connection settings
-# Connecting through local host, or via forwarded ssh port
+# This should point to your bitcoin/lnd node,
+# with the correct RPC port as set in your config.
+# Connecting through local host as i'm running BTCPyment on the node
host = "127.0.0.1"
rpcport = "8332"
+
# From ~/.bitcoin/bitcoin.conf
username = "bitcoinrpc"
password = "RPAPASSWORD"
@@ -9,7 +12,8 @@ password = "RPAPASSWORD"
# SSH tunnel to node (raspberry pi!)
# Make sure this command works `ssh HOST@IP -q -N -L 8332:localhost:8332`
# This forwards the ports required to talk to the node via RPC (or gRPC in the case of lightning)
-tunnel_host = "HOST@IP"
+# Use host = "127.0.0.1" and you will be able to see your node on 8332
+#tunnel_host = "HOST@IP"
# Check for payment every xx seconds
pollrate = 15