node config update - remove dns and other unnecessary flags

This commit is contained in:
stubbsta 2024-06-03 12:05:31 +02:00
parent 5ca0147ac3
commit 65452db283
No known key found for this signature in database
2 changed files with 3 additions and 9 deletions

View File

@ -5,24 +5,19 @@ IP=$(ip a | grep "inet " | grep -Fv 127.0.0.1 | sed 's/.*inet \([^/]*\).*/\1/')
echo "I am a bootstrap node"
exec /usr/bin/wakunode\
--relay=true\
--relay=false\
--rest=true\
--rest-admin=true\
--rest-private=true\
--rest-address=0.0.0.0\
--keep-alive=true\
--max-connections=300\
--dns-discovery=true\
--discv5-discovery=true\
--discv5-enr-auto-update=True\
--log-level=INFO\
--log-level=TRACE\
--metrics-server=True\
--metrics-server-address=0.0.0.0\
--nodekey=30348dd51465150e04a5d9d932c72864c8967f806cce60b5d26afeca1e77eb68\
--nat=extip:${IP}\
--rest=true\
--rest-admin=true\
--rest-private=true\
--rest-address=0.0.0.0\
--pubsub-topic=/waku/2/rs/66/0\
--cluster-id=66

View File

@ -82,7 +82,7 @@ else
--rln-relay-eth-contract-address=$RLN_CONTRACT_ADDRESS \
--rln-relay-cred-path=$RLN_CREDENTIAL_PATH \
--rln-relay-cred-password=$RLN_CREDENTIAL_PASSWORD \
--log-level=INFO \
--log-level=TRACE \
--execute
fi
@ -116,7 +116,6 @@ exec /usr/bin/wakunode\
--rln-relay-eth-contract-address=$RLN_CONTRACT_ADDRESS\
--rln-relay-cred-path=$RLN_CREDENTIAL_PATH\
--rln-relay-cred-password=$RLN_CREDENTIAL_PASSWORD\
--dns-discovery=true\
--discv5-discovery=true\
--discv5-enr-auto-update=True\
--log-level=DEBUG\