/ contrib / localnet / taud-four-nodes / taud_full_node1.toml
taud_full_node1.toml
 1  ## This is the tau daemon configuration file.
 2  ## Review it carefully.
 3  
 4  ## Datastore Path
 5  datastore = "taud1"
 6  
 7  ## Sets DB logs replay datastore path
 8  #replay_datastore = "~/.local/share/darkfi/replayed_taud_db"
 9  
10  ## Run in replay mode to store Sled DB instructions
11  ## (for eventgraph debugging tool)
12  #replay_mode = false
13  
14  ## Named pipe path
15  #pipe_path = "/tmp/tau_pipe"
16  
17  ## Whether to pipe notifications or not
18  #piped = false
19  
20  ## Current display name
21  nickname = "node1"
22  
23  ## ====================
24  ## Workspace settings
25  ## ====================
26  ##
27  ## You can create a shared secret (read_key) with `taud --generate`.
28  ## Never share this secret over unencrypted channels or with someone
29  ## who you do not want to be able to read all the workspace's tasks.
30  ## The write_public_key is used to verify task's authenticity the admin 
31  ## of workspace should generate and share it, while write_key is the 
32  ## private part and responsible for signing tasks and gaining write 
33  ## access, this, too, should not be shared with someone you don't 
34  ## want to add/edit tasks.
35  ## Use it like this example:
36  #[workspace."foo"]
37  #read_key = "2bCqQTd8BJgeUzH7JQELZxjQuWS8aCmXZ9C6w7ktNS1v"
38  #write_public_key = "Fgsc8tep4KX3Rb2drq8RxMyrHFWQ7wZaZPpF9F3GQYFG"
39  #write_key = ""
40  
41  [workspace."darkfi-dev"]
42  read_key = "AXApLyi8id3T1MwKkrgdYZtkpUag5qMmambDHGkdFiY2"
43  write_key = "7jvrj4Rxnm1UcAjz5Y1CNFEfZiGMg9F1ekfbbEakkicA"
44  write_public_key = "2LW4qXxR5QSybtMeRtX69GdqNWxgAbDVyMT6aWe37MT7"
45  
46  ## JSON-RPC settings
47  [rpc]
48  ## JSON-RPC listen URL
49  rpc_listen = "tcp://127.0.0.1:23341"
50  
51  ## Disabled RPC methods
52  #rpc_disabled_methods = ["p2p.get_info"]
53  
54  # P2P network settings
55  [net]
56  # Path to a configured hostlist for saving known peers
57  hostlist = "taud1/hostlist.tsv"
58  
59  ## P2P accept addresses
60  inbound = ["tcp://127.0.0.1:23332"]
61  
62  ## Outbound connection slots
63  outbound_connections = 8
64  
65  ## Inbound connection slots
66  inbound_connections = 8
67  
68  ## White connection percent
69  #gold_connect_count = 2
70  
71  ## White connection percent
72  #white_connect_percent = 70
73  
74  ## Addresses we want to advertise to peers (optional)
75  ## These should be reachable externally
76  external_addrs = ["tcp://127.0.0.1:23332"]
77  
78  ## Seed nodes to connect to
79  seeds = ["tcp://127.0.0.1:23331"]
80  
81  ## Manual peers to connect to
82  #peers = []
83  
84  # Whitelisted transports for outbound connections
85  allowed_transports = ["tcp"]
86  #allowed_transports = ["tor"]
87  
88  # Transports you want to be mixed (e.g. Tor would be allowed to connect to `tcp://`
89  # if tcp is added to mixed_transports and tor is added to allowed_transports)
90  mixed_transports = []
91  
92  localnet = true
93  
94  # Nodes to avoid interacting with for the duration of the program, in the
95  # format ["host", ["scheme", "scheme"], [port, port]].
96  # If scheme is left empty it will default to "tcp+tls". 
97  # If ports are left empty all ports from this peer will be blocked.
98  #blacklist = [["example.com", ["tcp"], [8551, 23331]]]