From 65452db28340f6886ecf0e50f9f7ba2ce0ae5e79 Mon Sep 17 00:00:00 2001 From: stubbsta Date: Mon, 3 Jun 2024 12:05:31 +0200 Subject: [PATCH] node config update - remove dns and other unnecessary flags --- run_bootstrap.sh | 9 ++------- run_nwaku.sh | 3 +-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/run_bootstrap.sh b/run_bootstrap.sh index 0b1b0e7..efa30f5 100755 --- a/run_bootstrap.sh +++ b/run_bootstrap.sh @@ -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 \ No newline at end of file diff --git a/run_nwaku.sh b/run_nwaku.sh index e4a6c4c..b11e34e 100755 --- a/run_nwaku.sh +++ b/run_nwaku.sh @@ -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\