aboutsummaryrefslogtreecommitdiffstats
path: root/net/alfis/patches/patch-alfis_toml
diff options
context:
space:
mode:
Diffstat (limited to 'net/alfis/patches/patch-alfis_toml')
-rw-r--r--net/alfis/patches/patch-alfis_toml42
1 files changed, 42 insertions, 0 deletions
diff --git a/net/alfis/patches/patch-alfis_toml b/net/alfis/patches/patch-alfis_toml
new file mode 100644
index 0000000..48c6a94
--- /dev/null
+++ b/net/alfis/patches/patch-alfis_toml
@@ -0,0 +1,42 @@
+More sane defaults.
+Index: alfis.toml
+--- alfis.toml.orig
++++ alfis.toml
+@@ -1,7 +1,11 @@
+ # The hash of first block in a chain to know with which nodes to work
+ origin = "0000001D2A77D63477172678502E51DE7F346061FF7EB188A2445ECA3FC0780E"
+ # Paths to your key files to load automatically
+-key_files = ["key1.toml", "key2.toml", "key3.toml", "key4.toml", "key5.toml"]
++key_files = ["${SYSCONFDIR}/alfis/key1.toml",
++ "${SYSCONFDIR}/alfis/key2.toml",
++ "${SYSCONFDIR}/alfis/key3.toml",
++ "${SYSCONFDIR}/alfis/key4.toml",
++ "${SYSCONFDIR}/alfis/key5.toml"]
+ # How many last blocks to check on start
+ check_blocks = 8
+
+@@ -12,14 +16,14 @@ peers = ["peer-v4.alfis.name:4244", "peer-v6.alfis.nam
+ # Your node will listen on that address for other nodes to connect
+ listen = "[::]:4244"
+ # Set true if you want your IP to participate in peer-exchange, or false otherwise
+-public = true
++public = false
+ # Allow connections to/from Yggdrasil only (https://yggdrasil-network.github.io)
+ yggdrasil_only = false
+
+ # DNS resolver options
+ [dns]
+ # Your DNS resolver will be listening on this address and port (Usual port is 53)
+-listen = "127.0.0.1:53"
++listen = "127.0.0.1:5353"
+ # How many threads to spawn by DNS server
+ threads = 10
+ # AdGuard DNS servers to filter ads and trackers
+@@ -40,4 +44,4 @@ bootstraps = ["9.9.9.9:53", "94.140.14.14:53"]
+ # How many CPU threads to spawn for mining, zero = number of CPU cores
+ threads = 0
+ # Set lower priority for mining threads
+-lower = true
+\ No newline at end of file
++lower = true
+