SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d1aee7bc461159939950dc2d55c8362578374ebe
parent a02fb7d721b99fb31e87c0314266ded8bdd66a71
Author: Nick <nicholas.w.farrow@gmail.com>
Date:   Sat, 16 Jan 2021 00:54:58 +1100

add lightning to config
Diffstat:
Mconfig.py | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/config.py b/config.py @@ -1,11 +1,14 @@ # Bitcoin node connection settings +# Connecting through local host, or via forwarded ssh port host = "127.0.0.1" rpcport = "8332" +# From ~/.bitcoin/bitcoin.conf username = "bitcoinrpc" 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" # Check for payment every xx seconds @@ -19,3 +22,9 @@ required_confirmations = 2 # Global connection attempts connection_attempts = 3 + +# Payment method +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/"