Ivan Folgueira Bande 2859cae961
Connecting nodes with bootstrap node and adding go-waku store clients
One "go-waku" relay node is responsible for generating
traffic, which in turns creates "insert" events. And another
go-waku node that acts as a store client to generate "store"
requests to both "sqlite" and "postgres" nwaku store nodes.
2023-10-16 08:16:15 +02:00

21 lines
611 B
Bash
Executable File

#!/bin/sh
IP=$(ip a | grep "inet " | grep -Fv 127.0.0.1 | sed 's/.*inet \([^/]*\).*/\1/')
echo "I am a bootstrap node. Listening to: ${IP}"
exec /usr/bin/wakunode\
--relay=true\
--rpc-admin=true\
--keep-alive=true\
--max-connections=300\
--dns-discovery=true\
--discv5-discovery=true\
--discv5-enr-auto-update=True\
--log-level=INFO\
--rpc-port=8544\
--rpc-address=0.0.0.0\
--metrics-server=True\
--metrics-server-address=0.0.0.0\
--nodekey=30348dd51465150e04a5d9d932c72864c8967f806cce60b5d26afeca1e77eb68\
--nat=extip:${IP}