5151 -t, --telemetry Flag indicating whether or not to send data to the telemetry server
5252 -r, --rpc Whether to activate rpc
5353 -v, --validator Whether the node should be a validator. Needs NODE_SEED and NODE_KEY environment variables.
54- -p, --purge-userdata Purges all chain-dependend user data in auxiliary services (ctypes, contacts, messages, ...).
55- Needs SERVICES_SECRET environment variable.
5654 --devnet Use the KILT devnet instead of the testnet
5755
5856 Examples:
@@ -75,7 +73,6 @@ bootnodes=
7573node_name=
7674account_name=
7775telemetry=0
78- purge_userdata=0
7976dry_run=0
8077rpc=0
8178validator=0
@@ -93,8 +90,6 @@ while [[ "$1" != "" ]]; do
9390 ;;
9491 -v | --validator ) validator=1
9592 ;;
96- -p | --purge-userdata ) purge_userdata=1
97- ;;
9893 -d | --dry-run ) dry_run=1
9994 ;;
10095 -r | --rpc ) rpc=1
@@ -166,14 +161,6 @@ if [[ "$telemetry" = "1" ]]; then
166161 arg_telemetry=" --telemetry-url ${TELEMETRY_URL} "
167162fi
168163
169- if [[ " $purge_userdata " = " 1" ]]; then
170- echo " Purging user data in services (SERVICES_SECRET=${SERVICES_SECRET} )..."
171-
172- curl -X DELETE -H " Authorization: ${SERVICES_SECRET} " https://services.kilt.io/ctype
173- curl -X DELETE -H " Authorization: ${SERVICES_SECRET} " https://services.kilt.io/messaging
174- curl -X DELETE -H " Authorization: ${SERVICES_SECRET} " https://services.kilt.io/contacts
175- fi
176-
177164if [[ " $rpc " = " 1" ]]; then
178165 arg_rpc=" --ws-port 9944 --ws-external --rpc-external"
179166fi
0 commit comments