| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- ## This is the tau daemon configuration file.
- ## Review it carefully.
- ## Datastore Path
- datastore = "taud2"
- ## Sets DB logs replay datastore path
- #replay_datastore = "~/.local/share/darkfi/replayed_taud_db"
- ## Run in replay mode to store Sled DB instructions
- ## (for eventgraph debugging tool)
- #replay_mode = false
- ## Named pipe path
- #pipe_path = "/tmp/tau_pipe"
- ## Whether to pipe notifications or not
- #piped = false
- ## Current display name
- nickname = "node2"
- ## ====================
- ## Workspace settings
- ## ====================
- ##
- ## You can create a shared secret (read_key) with `taud --generate`.
- ## Never share this secret over unencrypted channels or with someone
- ## who you do not want to be able to read all the workspace's tasks.
- ## The write_public_key is used to verify task's authenticity the admin
- ## of workspace should generate and share it, while write_key is the
- ## private part and responsible for signing tasks and gaining write
- ## access, this, too, should not be shared with someone you don't
- ## want to add/edit tasks.
- ## Use it like this example:
- #[workspace."foo"]
- #read_key = "2bCqQTd8BJgeUzH7JQELZxjQuWS8aCmXZ9C6w7ktNS1v"
- #write_public_key = "Fgsc8tep4KX3Rb2drq8RxMyrHFWQ7wZaZPpF9F3GQYFG"
- #write_key = ""
- [workspace."test"]
- read_key = "AXApLyi8id3T1MwKkrgdYZtkpUag5qMmambDHGkdFiY2"
- write_key = "7jvrj4Rxnm1UcAjz5Y1CNFEfZiGMg9F1ekfbbEakkicA"
- write_public_key = "2LW4qXxR5QSybtMeRtX69GdqNWxgAbDVyMT6aWe37MT7"
- ## JSON-RPC settings
- [rpc]
- ## JSON-RPC listen URL
- rpc_listen = "tcp://127.0.0.1:23342"
- ## Disabled RPC methods
- #rpc_disabled_methods = ["p2p.get_info"]
- # P2P network settings
- [net]
- # Path to a configured hostlist for saving known peers
- hostlist = "taud2/hostlist.tsv"
- ## P2P accept addresses
- inbound = ["tcp://127.0.0.1:23333"]
- ## Outbound connection slots
- outbound_connections = 8
- ## Inbound connection slots
- # inbound_connections = 8
- ## White connection percent
- #gold_connect_count = 2
- ## White connection percent
- #white_connect_percent = 70
- ## Addresses we want to advertise to peers (optional)
- ## These should be reachable externally
- external_addrs = ["tcp://127.0.0.1:23333"]
- ## Seed nodes to connect to
- seeds = ["tcp://127.0.0.1:23331"]
- ## Manual peers to connect to
- #peers = []
- # Whitelisted transports for outbound connections
- allowed_transports = ["tcp"]
- #allowed_transports = ["tor"]
- # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
- # if tcp is added to mixed_transports and tor is added to allowed_transports)
- mixed_transports = []
- localnet = true
- # Nodes to avoid interacting with for the duration of the program, in the
- # format ["host", ["scheme", "scheme"], [port, port]].
- # If scheme is left empty it will default to "tcp+tls".
- # If ports are left empty all ports from this peer will be blocked.
- #blacklist = [["example.com", ["tcp"], [8551, 23331]]]
|