| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- ## darkfid configuration file
- ##
- ## Please make sure you go through all the settings so you can configure
- ## your daemon properly.
- ##
- ## The default values are left commented. They can be overridden either by
- ## uncommenting, or by using the command-line.
- # JSON-RPC listen URL
- rpc_listen = "tcp://127.0.0.1:8340"
- # Blockchain network to use
- network = "testnet"
- # Localnet blockchain network configuration
- [network_config."localnet"]
- # Path to the blockchain database directory
- database = "~/.local/darkfi/darkfid_blockchain_localnet"
- # Finalization threshold, denominated by number of blocks
- threshold = 3
- # minerd JSON-RPC endpoint
- minerd_endpoint = "tcp://127.0.0.1:28467"
- # PoW block production target, in seconds
- pow_target = 10
- # Optional fixed PoW difficulty, used for testing
- pow_fixed_difficulty = 1
- # Participate in block production
- miner = true
- # Wallet address to receive mining rewards.
- # This is a dummy one so the miner can start,
- # replace with your own one.
- recipient = "5ZHfYpt4mpJcwBNxfEyxLzeFJUEeoePs5NQ5jVEgHrMf"
- # Skip syncing process and start node right away
- skip_sync = true
- # Disable transaction's fee verification, used for testing
- skip_fees = false
- # Optional sync checkpoint height
- #checkpoint_height = 0
- # Optional sync checkpoint hash
- #checkpoint = ""
- ## Localnet P2P network settings
- [network_config."localnet".net]
- # P2P accept addresses the instance listens on for inbound connections
- inbound = ["tcp+tls://0.0.0.0:8242"]
- # P2P external addresses the instance advertises so other peers can
- # reach us and connect to us, as long as inbound addrs are configured.
- #external_addrs = []
- # Peer nodes to manually connect to
- #peers = []
- # Seed nodes to connect to for peer discovery and/or adversising our
- # own external addresses
- #seeds = []
- # Whitelisted network transports for outbound connections
- #allowed_transports = ["tcp+tls"]
- # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
- #transport_mixing = true
- # Outbound connection slots number, this many connections will be
- # attempted. (This does not include manual connections)
- #outbound_connections = 8
- # Inbound connections slots number, this many active inbound connections
- # will be allowed. (This does not include manual or outbound connections)
- #inbound_connections = 8
- ## White connection percent
- # gold_connect_count = 2
- ## White connection percent
- # white_connect_percent = 70
- # Manual connections retry limit, 0 for forever looping
- #manual_attempt_limit = 0
- # Outbound connection timeout (in seconds)
- #outbound_connect_timeout = 10
- # Exchange versions (handshake) timeout (in seconds)
- #channel_handshake_timeout = 4
- # Ping-pong exchange execution interval (in seconds)
- #channel_heartbeat_interval = 10
- # Allow localnet hosts
- localnet = true
- # Cooling off time for peer discovery when unsuccessful
- #outbound_peer_discovery_cooloff_time = 30
- # Time between peer discovery attempts
- #outbound_peer_discovery_attempt_time = 5
- # Testnet blockchain network configuration
- [network_config."testnet"]
- # Path to the blockchain database directory
- database = "~/.local/darkfi/darkfid_blockchain_testnet"
- # Finalization threshold, denominated by number of blocks
- threshold = 6
- # minerd JSON-RPC endpoint
- minerd_endpoint = "tcp://127.0.0.1:28467"
- # PoW block production target, in seconds
- pow_target = 90
- # Participate in block production
- miner = false
- # Wallet address to receive mining rewards.
- #recipient = "YOUR_WALLET_ADDRESS_HERE"
- # Skip syncing process and start node right away
- skip_sync = false
- # Disable transaction's fee verification, used for testing
- skip_fees = false
- # Optional sync checkpoint height
- #checkpoint_height = 0
- # Optional sync checkpoint hash
- #checkpoint = ""
- ## Testnet P2P network settings
- [network_config."testnet".net]
- # P2P accept addresses the instance listens on for inbound connections
- # You can also use an IPv6 address
- inbound = ["tcp+tls://0.0.0.0:8342"]
- # IPv6 version:
- #inbound = ["tcp+tls://[::]:8342"]
- # Combined:
- #inbound = ["tcp+tls://0.0.0.0:8342", "tcp+tls://[::]:8342"]
- # P2P external addresses the instance advertises so other peers can
- # reach us and connect to us, as long as inbound addrs are configured.
- # You can also use an IPv6 address
- #external_addrs = ["tcp+tls://XXX.XXX.XXX.XXX:8342"]
- # IPv6 version:
- #external_addrs = ["tcp+tls://[ipv6 address here]:8342"]
- # Combined:
- #external_addrs = ["tcp+tls://XXX.XXX.XXX.XXX:8342", "tcp+tls://[ipv6 address here]:8342"]
- # Peer nodes to manually connect to
- #peers = []
- # Seed nodes to connect to for peer discovery and/or adversising our
- # own external addresses
- seeds = ["tcp+tls://lilith0.dark.fi:8342", "tcp+tls://lilith1.dark.fi:8342"]
- # Whitelisted network transports for outbound connections
- allowed_transports = ["tcp+tls"]
- # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
- #transport_mixing = true
- # Outbound connection slots number, this many connections will be
- # attempted. (This does not include manual connections)
- outbound_connections = 8
- # Inbound connections slots number, this many active inbound connections
- # will be allowed. (This does not include manual or outbound connections)
- #inbound_connections = 0
- # Manual connections retry limit, 0 for forever looping
- #manual_attempt_limit = 0
- # Outbound connection timeout (in seconds)
- #outbound_connect_timeout = 10
- # Exchange versions (handshake) timeout (in seconds)
- #channel_handshake_timeout = 4
- # Ping-pong exchange execution interval (in seconds)
- #channel_heartbeat_interval = 10
- # Allow localnet hosts
- localnet = false
- # Cooling off time for peer discovery when unsuccessful
- #outbound_peer_discovery_cooloff_time = 30
- # Time between peer discovery attempts
- #outbound_peer_discovery_attempt_time = 5
- # Mainnet blockchain network configuration
- [network_config."mainnet"]
- # Path to the blockchain database directory
- database = "~/.local/darkfi/darkfid_blockchain_mainnet"
- # Finalization threshold, denominated by number of blocks
- threshold = 11
- # minerd JSON-RPC endpoint
- minerd_endpoint = "tcp://127.0.0.1:28467"
- # PoW block production target, in seconds
- pow_target = 90
- # Participate in block production
- miner = false
- # Wallet address to receive mining rewards.
- #recipient = "YOUR_WALLET_ADDRESS_HERE"
- # Skip syncing process and start node right away
- skip_sync = false
- # Disable transaction's fee verification, used for testing
- skip_fees = false
- # Optional sync checkpoint height
- #checkpoint_height = 0
- # Optional sync checkpoint hash
- #checkpoint = ""
- ## Mainnet P2P network settings
- [network_config."mainnet".net]
- # P2P accept addresses the instance listens on for inbound connections
- # You can also use an IPv6 address
- inbound = ["tcp+tls://0.0.0.0:8442"]
- # IPv6 version:
- #inbound = ["tcp+tls://[::]:8442"]
- # Combined:
- #inbound = ["tcp+tls://0.0.0.0:8442", "tcp+tls://[::]:8442"]
- # P2P external addresses the instance advertises so other peers can
- # reach us and connect to us, as long as inbound addrs are configured.
- # You can also use an IPv6 address
- #external_addrs = ["tcp+tls://XXX.XXX.XXX.XXX:8442"]
- # IPv6 version:
- #external_addrs = ["tcp+tls://[ipv6 address here]:8442"]
- # Combined:
- #external_addrs = ["tcp+tls://XXX.XXX.XXX.XXX:8442", "tcp+tls://[ipv6 address here]:8442"]
- # Peer nodes to manually connect to
- #peers = []
- # Seed nodes to connect to for peer discovery and/or adversising our
- # own external addresses
- seeds = ["tcp+tls://lilith0.dark.fi:8442", "tcp+tls://lilith1.dark.fi:8442"]
- # Whitelisted network transports for outbound connections
- allowed_transports = ["tcp+tls"]
- # Allow transport mixing (e.g. Tor would be allowed to connect to `tcp://`)
- #transport_mixing = true
- # Outbound connection slots number, this many connections will be
- # attempted. (This does not include manual connections)
- outbound_connections = 8
- # Inbound connections slots number, this many active inbound connections
- # will be allowed. (This does not include manual or outbound connections)
- #inbound_connections = 0
- # Manual connections retry limit, 0 for forever looping
- #manual_attempt_limit = 0
- # Outbound connection timeout (in seconds)
- #outbound_connect_timeout = 10
- # Exchange versions (handshake) timeout (in seconds)
- #channel_handshake_timeout = 4
- # Ping-pong exchange execution interval (in seconds)
- #channel_heartbeat_interval = 10
- # Allow localnet hosts
- localnet = false
- # Cooling off time for peer discovery when unsuccessful
- #outbound_peer_discovery_cooloff_time = 30
- # Time between peer discovery attempts
- #outbound_peer_discovery_attempt_time = 5
|