summaryrefslogtreecommitdiff
path: root/testnet
diff options
context:
space:
mode:
Diffstat (limited to 'testnet')
-rwxr-xr-xtestnet/clean-local-testnet.sh7
-rwxr-xr-xtestnet/run-local-testnet.sh58
-rw-r--r--testnet/supernodes/sn0000/identity.public1
-rw-r--r--testnet/supernodes/sn0000/identity.secret1
-rw-r--r--testnet/supernodes/sn0001/identity.public1
-rw-r--r--testnet/supernodes/sn0001/identity.secret1
-rw-r--r--testnet/supernodes/sn0002/identity.public1
-rw-r--r--testnet/supernodes/sn0002/identity.secret1
-rw-r--r--testnet/supernodes/sn0003/identity.public1
-rw-r--r--testnet/supernodes/sn0003/identity.secret1
10 files changed, 0 insertions, 73 deletions
diff --git a/testnet/clean-local-testnet.sh b/testnet/clean-local-testnet.sh
deleted file mode 100755
index 1d6b7f0d..00000000
--- a/testnet/clean-local-testnet.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-export PATH=/bin:/usr/bin:/usr/local/bin
-
-rm -rfv local-testnet/n????
-find local-testnet -type f ! -name 'identity.*' -print0 | xargs -0 rm -fv
-rm -rfv local-testnet/sn????/networks.d
diff --git a/testnet/run-local-testnet.sh b/testnet/run-local-testnet.sh
deleted file mode 100755
index eb0a7053..00000000
--- a/testnet/run-local-testnet.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/bash
-
-export PATH=/bin:/usr/bin:/usr/local/bin
-
-#if [ ! -x ../zerotier-one ]; then
-# echo "$0: ../zerotier-one not found; build first"
-# exit 1
-#fi
-
-if [ $# -lt 1 ]; then
- echo "Usage: $0 <number of regular nodes to create>"
- exit 1
-fi
-
-if [ ! -d ./local-testnet ]; then
- echo "$0: cannot find local-testnet/ base for nodes"
- exit 1
-fi
-
-cd local-testnet
-supernodes=`echo sn????`
-cd ..
-
-create_nodes=$1
-node_num=0
-
-echo "Starting supernodes: $supernodes"
-echo
-
-for sn in $supernodes; do
- node_path=local-testnet/$sn
- node_port=2`echo $sn | cut -d n -f 2`
-
- echo zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path
- ../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u "$node_path" &
-done
-
-echo
-echo "Starting $create_nodes regular nodes..."
-echo
-
-while [ $node_num -lt $create_nodes ]; do
- node_path=local-testnet/`printf n%.4d $node_num`
- node_port=`printf 3%.4d $node_num`
-
- mkdir -p $node_path
-
- echo zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u $node_path
- ../zerotier-one -T../root-topology/local-testnet/root-topology -p$node_port -u "$node_path" &
-
- node_num=`expr $node_num + 1`
-done
-
-echo
-echo "Nodes are now running. Waiting for all nodes to exit."
-echo
-
-wait
diff --git a/testnet/supernodes/sn0000/identity.public b/testnet/supernodes/sn0000/identity.public
deleted file mode 100644
index 041c7479..00000000
--- a/testnet/supernodes/sn0000/identity.public
+++ /dev/null
@@ -1 +0,0 @@
-ccc0fa2960:0:0ced335940e712c4df8e1603615ace446fbc3587b28ecde54b87bb1e51c305206f58cc8268579fc22f9f49ac3d0aee36351b9509bee339b97b84774823a57046 \ No newline at end of file
diff --git a/testnet/supernodes/sn0000/identity.secret b/testnet/supernodes/sn0000/identity.secret
deleted file mode 100644
index bc404424..00000000
--- a/testnet/supernodes/sn0000/identity.secret
+++ /dev/null
@@ -1 +0,0 @@
-ccc0fa2960:0:0ced335940e712c4df8e1603615ace446fbc3587b28ecde54b87bb1e51c305206f58cc8268579fc22f9f49ac3d0aee36351b9509bee339b97b84774823a57046:dcfb128a5563f26fc94cad1344d2a754853d035d29ca4cbf0e08a632a87a384b4e5dfb2747384b27c1e0260084de9f2f55d5d66c1fa5ab079350b39ffb4df634 \ No newline at end of file
diff --git a/testnet/supernodes/sn0001/identity.public b/testnet/supernodes/sn0001/identity.public
deleted file mode 100644
index e65fcb04..00000000
--- a/testnet/supernodes/sn0001/identity.public
+++ /dev/null
@@ -1 +0,0 @@
-8fd313ab35:0:4ba3a7cc2ac53b04a73bd211b0856910dc0a4349b4c575d251ec87edc98f2b76cb3dc4784bbf3e2655c83cc691a25b93c6b05afa4e97f70a9ec5d63ca55c7733 \ No newline at end of file
diff --git a/testnet/supernodes/sn0001/identity.secret b/testnet/supernodes/sn0001/identity.secret
deleted file mode 100644
index 5eb7b37d..00000000
--- a/testnet/supernodes/sn0001/identity.secret
+++ /dev/null
@@ -1 +0,0 @@
-8fd313ab35:0:4ba3a7cc2ac53b04a73bd211b0856910dc0a4349b4c575d251ec87edc98f2b76cb3dc4784bbf3e2655c83cc691a25b93c6b05afa4e97f70a9ec5d63ca55c7733:14ae15f13dd08e7e2b9862ce01d5816411b6906e3a57c60895498ece36da5c14550e5b389693dd7ec939cddf7ae322fb3e577bb73e296251f32e3ec27db2f015 \ No newline at end of file
diff --git a/testnet/supernodes/sn0002/identity.public b/testnet/supernodes/sn0002/identity.public
deleted file mode 100644
index 2cfe94c5..00000000
--- a/testnet/supernodes/sn0002/identity.public
+++ /dev/null
@@ -1 +0,0 @@
-0b461c6c90:0:f0695a1150937661bc5305c16e331c20e57654794ba1eb3d070449e40594e72d6febdb32b44ac6a366488143a6163486d8ce2494b83e9d0cb7c489c71ae7c2e7 \ No newline at end of file
diff --git a/testnet/supernodes/sn0002/identity.secret b/testnet/supernodes/sn0002/identity.secret
deleted file mode 100644
index 265b070a..00000000
--- a/testnet/supernodes/sn0002/identity.secret
+++ /dev/null
@@ -1 +0,0 @@
-0b461c6c90:0:f0695a1150937661bc5305c16e331c20e57654794ba1eb3d070449e40594e72d6febdb32b44ac6a366488143a6163486d8ce2494b83e9d0cb7c489c71ae7c2e7:bfaaa974483ff53b393b996e93cc7e76b1cb5050fa86c358eb710315965b1afc2d2e8dd62facf3f625c151ee63b1abf011aef75bd3a49d4f5b6f438f3ca77496 \ No newline at end of file
diff --git a/testnet/supernodes/sn0003/identity.public b/testnet/supernodes/sn0003/identity.public
deleted file mode 100644
index cf6df640..00000000
--- a/testnet/supernodes/sn0003/identity.public
+++ /dev/null
@@ -1 +0,0 @@
-36944299f2:0:e74012a40b803644d98bbdd15c87d8a8598d3bba70ecf33e9299614cb9e32801dfb4fc3713fd88660fd1085ed4df6a63c9f433fca3f74a1a672358201ea045b6 \ No newline at end of file
diff --git a/testnet/supernodes/sn0003/identity.secret b/testnet/supernodes/sn0003/identity.secret
deleted file mode 100644
index cadafae1..00000000
--- a/testnet/supernodes/sn0003/identity.secret
+++ /dev/null
@@ -1 +0,0 @@
-36944299f2:0:e74012a40b803644d98bbdd15c87d8a8598d3bba70ecf33e9299614cb9e32801dfb4fc3713fd88660fd1085ed4df6a63c9f433fca3f74a1a672358201ea045b6:c34960bc4f36694dcb629a27dca490cc0fda2776c88a50781cdb54ce9e84dbbe616051e6f04a8185ddf8ef1c8c74e62867ff4cdb029269160f723d400679a1c5 \ No newline at end of file