SatSale

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

commit 522f519bc4d77e672cfdca1eefc3aa3bf4d86d49
parent 329c15763c902172fed2896d0309769f34c943e6
Author: nickfarrow <nicholas.w.farrow@gmail.com>
Date:   Fri, 13 Aug 2021 17:20:53 +1000

Update demo configs

Diffstat:
Mdocs/config_lightning.py | 19+++++++++++++++++--
Mdocs/config_remote_node.py | 15+++++++++++++--
2 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/docs/config_lightning.py b/docs/config_lightning.py @@ -17,11 +17,26 @@ password = "RPAPASSWORD" wallet = "" # File in which API key will be stored -api_key_path = "BTCPyment_API_key" +api_key_path = "SatSale_API_key" + # As we are running SatSale on our node # we do not require any remote tunnel -tunnel_host = None + +#### Connect To Remote Node #### +# Can use SSH or TOR +# to tunnel/relay ports required to talk to the node via RPC (gRPC for lightning) + +# SSH tunnel to node +# Make sure this command works `ssh HOST@IP -q -N -L 8332:localhost:8332` +# Use host = "127.0.0.1" and you will be able to see your node on 8332 +tunnel_host = None # "HOST@IP" + +# or tor hidden service for RPC (see docs for how to set up), need onion: +tor_bitcoinrpc_host = None # e.g. "http://if...dwr.onion" +# and a tor proxy, default 127.0.0.1:9050 (for Tor Browser use "127.0.0.1:9150") +tor_proxy = None +################################ # Check for payment every xx seconds pollrate = 15 diff --git a/docs/config_remote_node.py b/docs/config_remote_node.py @@ -20,12 +20,23 @@ password = "RPAPASSWORD" wallet = "" # File in which API key will be stored -api_key_path = "BTCPyment_API_key" +api_key_path = "SatSale_API_key" + +#### Connect To Remote Node #### +# Can use SSH or TOR +# to tunnel/relay ports required to talk to the node via RPC (gRPC for lightning) # Telling SatSale to use SSH to tunnel the required ports -# Make sure SSHing into your node via command line works +# Make sure this command works `ssh HOST@IP -q -N -L 8332:localhost:8332` tunnel_host = "pi@1.1.1.1" +# We don't need to connect over tor if we're using SSH. +# or tor hidden service for RPC (see docs for how to set up), need onion: +tor_bitcoinrpc_host = None # e.g. "http://if...dwr.onion" +# and a tor proxy, default 127.0.0.1:9050 (for Tor Browser use "127.0.0.1:9150") +tor_proxy = None +################################ + # Check for payment every xx seconds pollrate = 15