From 7cdd7e4fad93bc0a21befc45106568e4e88192f2 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Fri, 25 Aug 2023 10:27:41 +0200 Subject: [PATCH] Setting storenode counter parts With this parameter, each node is configured as "store client" and the "store server" is the one indicated in the "storenode" parameter. --- docker/run_node_postgres.sh | 1 + docker/run_node_sqlite.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/run_node_postgres.sh b/docker/run_node_postgres.sh index b04c4d3..21ee5b3 100644 --- a/docker/run_node_postgres.sh +++ b/docker/run_node_postgres.sh @@ -8,6 +8,7 @@ peer_IP=$(dig +short nwaku_sqlite) exec /usr/bin/wakunode\ --nodekey=1d714a1fada214dead6dc9c7274585eca0ff292451866e7d6d677dc818e8ccd2\ --staticnode=/ip4/${peer_IP}/tcp/30304/p2p/16Uiu2HAkxj3WzLiqBximSaHc8wV9Co87GyRGRYLVGsHZrzi3TL5W\ + --storenode=/ip4/${peer_IP}/tcp/30304/p2p/16Uiu2HAkxj3WzLiqBximSaHc8wV9Co87GyRGRYLVGsHZrzi3TL5W\ --relay=true\ --topic=/waku/2/default-waku/proto\ --topic=/waku/2/dev-waku/proto\ diff --git a/docker/run_node_sqlite.sh b/docker/run_node_sqlite.sh index 2222ffa..2d77f9b 100644 --- a/docker/run_node_sqlite.sh +++ b/docker/run_node_sqlite.sh @@ -8,6 +8,7 @@ peer_IP=$(dig +short nwaku_postgres) exec /usr/bin/wakunode\ --nodekey=2d714a1fada214dead6dc9c7274585eca0ff292451866e7d6d677dc818e8ccd2\ --staticnode=/ip4/${peer_IP}/tcp/30303/p2p/16Uiu2HAmJyLCRhiErTRFcW5GKPrpoMjGbbWdFMx4GCUnnhmxeYhd\ + --storenode=/ip4/${peer_IP}/tcp/30303/p2p/16Uiu2HAmJyLCRhiErTRFcW5GKPrpoMjGbbWdFMx4GCUnnhmxeYhd\ --relay=true\ --topic=/waku/2/default-waku/proto\ --topic=/waku/2/dev-waku/proto\