Add option to run nodes without RLN

This commit is contained in:
NagyZoltanPeter 2025-03-22 14:51:16 +01:00
parent 7d48c87458
commit 608029a4cc
No known key found for this signature in database
GPG Key ID: 16EADB9673B65368
3 changed files with 5 additions and 2 deletions

View File

@ -17,6 +17,7 @@ x-edgenode-environment: &edgenode_env
EDGENODE_ENR: "enr:-KC4QAsSQM0tP9Zs8UxbHl3pe7HKE_0xLNA2P5LLVCbzCArsATKeH6EK43hhQJznAKjaMcpzqbMcd3UEjYJSkahMyg4BgmlkgnY0gmlwhAoCAGaKbXVsdGlhZGRyc4CCcnOFAEIBAACJc2VjcDI1NmsxoQKbiE_1i7pL24P02qgEFs0jHaso1XPo8HmcXAfqJPjGeIN0Y3CC6mKFd2FrdTIA"
x-rln-environment: &rln_env
RLN_ENABLED: ${RLN_ENABLED:-true}
RPC_URL: ${RPC_URL:-http://foundry:8545}
RLN_CONTRACT_ADDRESS: 0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9
RLN_CREDENTIAL_PATH: /keystore.json

View File

@ -125,13 +125,14 @@ fi
echo "Using bootstrap node: ${BOOTSTRAP_ENR}"
echo "My IP is: ${IP}"
echo "Run with RLN ${RLN_ENABLED}"
exec /usr/bin/wakunode\
--relay=true\
--lightpush=true\
--max-connections=250\
--rest=false\
--rln-relay=true\
--rln-relay=${RLN_ENABLED}\
--rln-relay-dynamic=true\
--rln-relay-eth-client-address="$RPC_URL"\
--rln-relay-eth-contract-address=$RLN_CONTRACT_ADDRESS\

View File

@ -131,6 +131,7 @@ fi
echo "Using bootstrap node: ${BOOTSTRAP_ENR}"
echo "My IP is: ${IP}"
echo "Run with RLN ${RLN_ENABLED}"
exec /usr/bin/wakunode\
--relay=true\
@ -145,7 +146,7 @@ exec /usr/bin/wakunode\
--rest-allow-origin="waku-org.github.io"\
--rest-allow-origin="localhost:*"\
--websocket-support=true\
--rln-relay=true\
--rln-relay=${RLN_ENABLED}\
--rln-relay-dynamic=true\
--rln-relay-eth-client-address="$RPC_URL"\
--rln-relay-eth-contract-address=$RLN_CONTRACT_ADDRESS\