mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
37 lines
915 B
TOML
37 lines
915 B
TOML
## damd 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 settings
|
|
[rpc]
|
|
# JSON-RPC listen URL
|
|
rpc_listen = "tcp://127.0.0.1:44880"
|
|
|
|
# Disabled RPC methods
|
|
#rpc_disabled_methods = ["p2p.get_info"]
|
|
|
|
# P2P network settings
|
|
[net]
|
|
# Path to the P2P datastore
|
|
p2p_datastore = "damd1"
|
|
|
|
# Path to a configured hostlist for saving known peers
|
|
hostlist = "damd1/p2p_hostlist.tsv"
|
|
|
|
# Allow localnet hosts
|
|
localnet = true
|
|
|
|
# Whitelisted network transports for outbound connections
|
|
active_profiles = ["tcp+tls"]
|
|
|
|
[net.profiles."tcp+tls"]
|
|
# P2P accept addresses the instance listens on for inbound connections
|
|
inbound = ["tcp+tls://0.0.0.0:44881"]
|
|
|
|
# Peer nodes to manually connect to
|
|
peers = ["tcp+tls://0.0.0.0:44781"]
|