Integrate static rln

This commit is contained in:
alrevuelta 2023-10-25 13:09:12 +02:00
parent 67ebeef4d7
commit c57a280830
No known key found for this signature in database
GPG Key ID: F345C9F3CCDB886E
3 changed files with 76 additions and 19 deletions

View File

@ -62,15 +62,19 @@ services:
depends_on:
- bootstrap
waku-publisher:
image: alrevuelta/waku-publisher:9fb206c
entrypoint: sh
- 'opt/run_wakupublisher.sh'
volumes:
- ./run_wakupublisher.sh:/opt/run_wakupublisher.sh:Z
environment:
MSG_PER_SECOND: 10
MSG_SIZE_KBYTES: 10
rpc-traffic:
image: #todo
command:
# TODO:
- --multiple-nodes=http://waku-simulator_nwaku_[1..20]:8545
- --pubsub-topic=/waku/2/default-waku/proto
- --content-topic=/toy-chat/3/mingde/proto
- --msg-size-kbytes=1
- --delay-seconds=15
#environment: # TODO
# MSG_PER_SECOND: 10
# MSG_SIZE_KBYTES: 10
networks:
- simulation

View File

@ -23,11 +23,17 @@ exec /usr/bin/wakunode\
--relay=true\
--rpc-admin=true\
--max-connections=250\
--rpc-address=0.0.0.0\
--rest=true \
--rest-admin=true \
--rest-private=true \
--rest-address=0.0.0.0 \
--rln-relay=true \
--rln-relay-dynamic=false \
--rln-relay-membership-index=0 \
--dns-discovery=true\
--discv5-discovery=true\
--discv5-enr-auto-update=True\
--log-level=INFO\
--rpc-address=0.0.0.0\
--metrics-server=True\
--metrics-server-address=0.0.0.0\
--discv5-bootstrap-node=${BOOTSTRAP_ENR}\

File diff suppressed because one or more lines are too long