aboutsummaryrefslogtreecommitdiff
path: root/tests/data/node
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2024-11-07 00:34:59 -0600
committerjeffro256 <jeffro256@tutanota.com>2024-12-13 13:37:39 -0600
commita1b545a2f7b2ac48d66e7fd846ca5093286525c7 (patch)
treec56fc42a90c9d0df1b8f57769f14306e3fc27117 /tests/data/node
parent58a1d54a4f90a235616ede3f8ebae2b8dca41589 (diff)
downloadmonzero-core-a1b545a2f7b2ac48d66e7fd846ca5093286525c7.tar.gz
monzero-core-a1b545a2f7b2ac48d66e7fd846ca5093286525c7.tar.xz
monzero-core-a1b545a2f7b2ac48d66e7fd846ca5093286525c7.zip
p2p: allow comments in banlist files
In-line comments explicitly explaining banned hosts/subnets might help assuage fears of some good banlists' arbitaryiness.
Diffstat (limited to 'tests/data/node')
-rw-r--r--tests/data/node/banlist_1.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/data/node/banlist_1.txt b/tests/data/node/banlist_1.txt
new file mode 100644
index 000000000..7cc94ca62
--- /dev/null
+++ b/tests/data/node/banlist_1.txt
@@ -0,0 +1,17 @@
+# magicfolk
+255.255.255.0 # Saruman the White
+128.128.128.0 # Gandalf the Gray
+150.75.0.0 # Radagast the Brown
+99.98.0.0/16 # All of Misty Mountain
+
+# personal enemies
+1.2.3.4 # this woman used to give me swirlies
+6.7.8.9 # I just don't like the cut of his jib
+1.0.0.7#Literally James Bond, he wrecked my aston martin
+100.98.1.13 # Earl from HOA
+100.98.1.0/24 #The rest of the HOA for good measure
+#
+
+#7.7.7.7
+#^^^We're chill now, she's truly an angel
+