commit d5028113a99da366e1ff21b0c3cd63d0382d03ee
parent 1fe3835bb43a848337bcfa41c80fcce6f8546101
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Mon, 25 Jan 2021 17:39:18 +1100
Merge branch 'master' of github.com:nickfarrow/BTCPyment
Diffstat:
1 file changed, 10 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
@@ -28,3 +32,7 @@ pay_method = "bitcoind"
# Switch payment_method to lnd if you want to use lightning payments instead. And uncomment lnd_dir.
#pay_method = "lnd"
#lnd_dir = "~/.lnd/"
+
+# DO NOT CHANGE THIS TO TRUE UNLESS YOU WANT ALL PAYMENTS TO AUTOMATICALLY
+# BE CONSIDERED AS PAID.
+config.free_mode = False