2014-06-10 11:43:27 +02:00
|
|
|
##
|
2018-03-07 22:13:10 +01:00
|
|
|
## flowee.conf configuration file. Lines beginning with # are comments.
|
2014-06-10 11:43:27 +02:00
|
|
|
##
|
2016-12-13 20:50:52 +01:00
|
|
|
|
2018-03-08 23:03:08 +01:00
|
|
|
# Specify data directory for the block files.
|
|
|
|
|
# This is used to create new files in and must be writable
|
2020-01-20 16:05:41 +01:00
|
|
|
#datadir=/var/lib/flowee
|
2018-03-08 23:03:08 +01:00
|
|
|
|
|
|
|
|
# Additional data-dirs can be given which act as a fallback to find
|
|
|
|
|
# block files if they have not been found yet.
|
|
|
|
|
# Notice that the files in those dirs can be read-only.
|
|
|
|
|
# Can be passed multiple times for multiple fallback locations.
|
|
|
|
|
# blockdatadir=<dir>
|
|
|
|
|
|
|
|
|
|
|
2016-12-13 20:50:52 +01:00
|
|
|
# Keep the transaction memory pool below <n> megabytes
|
|
|
|
|
#maxmempool=300
|
|
|
|
|
|
|
|
|
|
# Do not keep transactions in the mempool longer than <n> hours
|
2020-12-06 13:19:21 +01:00
|
|
|
#mempoolexpiry=6
|
2016-12-13 20:50:52 +01:00
|
|
|
|
2011-10-25 16:48:36 -04:00
|
|
|
# Network-related settings:
|
2016-12-13 20:50:52 +01:00
|
|
|
##########################
|
2011-10-25 16:48:36 -04:00
|
|
|
|
2014-07-24 15:55:49 +02:00
|
|
|
# Connect via a SOCKS5 proxy
|
2011-10-25 16:48:36 -04:00
|
|
|
#proxy=127.0.0.1:9050
|
|
|
|
|
|
2015-03-21 20:05:17 -06:00
|
|
|
# Bind to given address and always listen on it. Use [host]:port notation for IPv6
|
|
|
|
|
#bind=<addr>
|
|
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
##############################################################
|
|
|
|
|
## Quick Primer on addnode vs connect ##
|
|
|
|
|
## Let's say for instance you use addnode=4.2.2.4 ##
|
|
|
|
|
## addnode will connect you to and tell you about the ##
|
|
|
|
|
## nodes connected to 4.2.2.4. In addition it will tell ##
|
|
|
|
|
## the other nodes connected to it that you exist so ##
|
|
|
|
|
## they can connect to you. ##
|
|
|
|
|
## connect will not do the above when you 'connect' to it. ##
|
|
|
|
|
## It will *only* connect you to 4.2.2.4 and no one else.##
|
|
|
|
|
## ##
|
|
|
|
|
## So if you're behind a firewall, or have other problems ##
|
|
|
|
|
## finding nodes, add some using 'addnode'. ##
|
|
|
|
|
## ##
|
|
|
|
|
## If you want to stay private, use 'connect' to only ##
|
|
|
|
|
## connect to "trusted" nodes. ##
|
|
|
|
|
## ##
|
|
|
|
|
## If you run multiple nodes on a LAN, there's no need for ##
|
|
|
|
|
## all of them to open lots of connections. Instead ##
|
|
|
|
|
## 'connect' them all to one node that is port forwarded ##
|
|
|
|
|
## and has lots of connections. ##
|
|
|
|
|
##############################################################
|
|
|
|
|
|
2011-10-25 16:48:36 -04:00
|
|
|
# Use as many addnode= settings as you like to connect to specific peers
|
2020-01-20 16:05:41 +01:00
|
|
|
#addnode=164.68.126.254
|
2011-10-25 16:48:36 -04:00
|
|
|
#addnode=10.0.0.2:8333
|
|
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
# Alternatively use as many connect= settings as you like to connect ONLY to specific peers
|
2020-01-20 16:05:41 +01:00
|
|
|
#connect=164.68.126.254
|
2011-10-25 16:48:36 -04:00
|
|
|
#connect=10.0.0.1:8333
|
|
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
# Listening mode, enabled by default except when 'connect' is being used
|
2020-01-20 16:05:41 +01:00
|
|
|
# When enabled (true) this node listens on the default port for incoming p2p connections.
|
|
|
|
|
listen=0
|
2014-06-10 11:43:27 +02:00
|
|
|
|
2011-10-25 16:48:36 -04:00
|
|
|
# Maximum number of inbound+outbound connections.
|
2016-12-13 20:50:52 +01:00
|
|
|
#maxconnections=125
|
2011-10-25 16:48:36 -04:00
|
|
|
|
2020-09-26 14:30:05 -04:00
|
|
|
# Run on the test network (v3) instead of the real bitcoin network.
|
2020-01-20 16:05:41 +01:00
|
|
|
#testnet=false
|
2018-03-08 23:03:08 +01:00
|
|
|
|
2020-09-26 14:30:05 -04:00
|
|
|
# Run on the test network (v4) instead of the real bitcoin network.
|
|
|
|
|
#testnet4=false
|
|
|
|
|
|
2020-09-26 14:32:12 -04:00
|
|
|
# Run on the scaling network instead of the real bitcoin network.
|
|
|
|
|
#scalenet=false
|
|
|
|
|
|
2018-03-08 23:03:08 +01:00
|
|
|
# Run a regression test network
|
2020-01-20 16:05:41 +01:00
|
|
|
#regtest=false
|
2018-03-08 23:03:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# API options, used by other Flowee products to connect to the hub
|
|
|
|
|
# #####################################################################
|
|
|
|
|
|
|
|
|
|
# Bind to given interface to listen for API connections. Use [host]:port notation for IPv6.
|
|
|
|
|
# This option can be specified multiple times (default: bind to loopback)
|
2020-12-16 22:10:36 +01:00
|
|
|
# The default only listens to loopback
|
2018-03-08 23:03:08 +01:00
|
|
|
#apilisten=127.0.0.1
|
2020-12-16 22:10:36 +01:00
|
|
|
#
|
|
|
|
|
# For providing services to the LAN, the following listens to all
|
|
|
|
|
# interfaces (at least those known at time of hub-start).
|
|
|
|
|
#apilisten=0.0.0.0
|
2018-03-08 23:03:08 +01:00
|
|
|
|
|
|
|
|
# (Legacy) JSON-RPC options (for controlling a running hub/hub-qt process)
|
2016-12-13 20:50:52 +01:00
|
|
|
# #####################################################################
|
2011-10-25 16:48:36 -04:00
|
|
|
|
2018-03-07 22:13:10 +01:00
|
|
|
# server=1 tells hub-qt and hub to accept JSON-RPC commands
|
2014-06-10 11:43:27 +02:00
|
|
|
#server=0
|
2011-10-25 16:48:36 -04:00
|
|
|
|
2015-03-21 20:05:17 -06:00
|
|
|
# Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6.
|
|
|
|
|
# This option can be specified multiple times (default: bind to all interfaces)
|
|
|
|
|
#rpcbind=<addr>
|
|
|
|
|
|
2018-03-08 23:03:08 +01:00
|
|
|
# Location of the RPC auth cookie (defaults to datadir)
|
|
|
|
|
#rpccookiefile=<filepath>
|
2011-10-25 16:48:36 -04:00
|
|
|
|
2016-12-13 20:50:52 +01:00
|
|
|
# if you don't want to use the cookie file, you can use the rpcauth option.
|
|
|
|
|
# This is a Username and hashed password for JSON-RPC connections. The field
|
|
|
|
|
# <userpw> comes in the format: <USERNAME>:<SALT>$<HASH>. A canonical
|
|
|
|
|
# python script is included in share/rpcuser. This option can be specified
|
|
|
|
|
# multiple times
|
|
|
|
|
#rpcauth=<userpw>
|
|
|
|
|
|
2018-03-07 22:13:10 +01:00
|
|
|
# How many seconds hub-cli will wait for a complete RPC HTTP request.
|
2016-12-13 20:50:52 +01:00
|
|
|
# after the HTTP connection is established.
|
|
|
|
|
#rpcclienttimeout=900
|
2014-06-10 11:43:27 +02:00
|
|
|
|
|
|
|
|
# By default, only RPC connections from localhost are allowed.
|
|
|
|
|
# Specify as many rpcallowip= settings as you like to allow connections from other hosts,
|
|
|
|
|
# either as a single IPv4/IPv6 or with a subnet specification.
|
|
|
|
|
|
|
|
|
|
# NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED,
|
|
|
|
|
# because the rpcpassword is transmitted over the network unencrypted.
|
|
|
|
|
|
2018-03-07 22:13:10 +01:00
|
|
|
# server=1 tells hub-qt to accept JSON-RPC commands.
|
|
|
|
|
# it is also read by hub to determine if RPC should be enabled
|
2014-06-10 11:43:27 +02:00
|
|
|
#rpcallowip=10.1.1.34/255.255.255.0
|
|
|
|
|
#rpcallowip=1.2.3.4/24
|
|
|
|
|
#rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96
|
2011-10-25 16:48:36 -04:00
|
|
|
|
2016-12-13 20:50:52 +01:00
|
|
|
# Set the number of threads to service RPC calls
|
|
|
|
|
#rpcthreads=4
|
|
|
|
|
|
2011-10-25 16:48:36 -04:00
|
|
|
# Listen for RPC connections on this TCP port:
|
2014-06-10 11:43:27 +02:00
|
|
|
#rpcport=8332
|
2011-10-25 16:48:36 -04:00
|
|
|
|
2018-03-07 22:13:10 +01:00
|
|
|
# You can use hub-qt to send commands to hub-qt/hub
|
2016-12-13 20:50:52 +01:00
|
|
|
# running on another host by changing the default from 'localhost'
|
2014-06-10 11:43:27 +02:00
|
|
|
#rpcconnect=127.0.0.1
|
2011-10-25 16:48:36 -04:00
|
|
|
|