net/alfis/patches/patch-alfis_toml (view raw)
1More sane defaults.
2Index: alfis.toml
3--- alfis.toml.orig
4+++ alfis.toml
5@@ -1,7 +1,11 @@
6 # The hash of first block in a chain to know with which nodes to work
7 origin = "0000001D2A77D63477172678502E51DE7F346061FF7EB188A2445ECA3FC0780E"
8 # Paths to your key files to load automatically
9-key_files = ["key1.toml", "key2.toml", "key3.toml", "key4.toml", "key5.toml"]
10+key_files = ["${SYSCONFDIR}/alfis/key1.toml",
11+ "${SYSCONFDIR}/alfis/key2.toml",
12+ "${SYSCONFDIR}/alfis/key3.toml",
13+ "${SYSCONFDIR}/alfis/key4.toml",
14+ "${SYSCONFDIR}/alfis/key5.toml"]
15 # How many last blocks to check on start
16 check_blocks = 8
17
18@@ -12,14 +16,14 @@ peers = ["peer-v4.alfis.name:4244", "peer-v6.alfis.nam
19 # Your node will listen on that address for other nodes to connect
20 listen = "[::]:4244"
21 # Set true if you want your IP to participate in peer-exchange, or false otherwise
22-public = true
23+public = false
24 # Allow connections to/from Yggdrasil only (https://yggdrasil-network.github.io)
25 yggdrasil_only = false
26
27 # DNS resolver options
28 [dns]
29 # Your DNS resolver will be listening on this address and port (Usual port is 53)
30-listen = "127.0.0.1:53"
31+listen = "127.0.0.1:5353"
32 # How many threads to spawn by DNS server
33 threads = 10
34 # AdGuard DNS servers to filter ads and trackers
35@@ -40,4 +44,4 @@ bootstraps = ["9.9.9.9:53", "94.140.14.14:53"]
36 # How many CPU threads to spawn for mining, zero = number of CPU cores
37 threads = 0
38 # Set lower priority for mining threads
39-lower = true
40\ No newline at end of file
41+lower = true
42