Merge branch 'master' into patch-1

This commit is contained in:
Ivan FB 2024-09-11 11:09:16 +02:00 committed by GitHub
commit 2f40dfb138
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 20 additions and 8 deletions

24
FAQ.md
View File

@ -1,18 +1,21 @@
⚠️⚠️ There are no incentives or rewards for running a Waku node. ⚠️⚠️
🛑🛑 DO NOT RUN A NODE IF YOU ARE EXPECTING REWARDS 🛑🛑
# Waku FAQ # Waku FAQ
- [Does my node work properly?](#Does-my-node-work-properly?) - [Does my node work properly?](#does-my-node-work-properly)
- [My node is not able to start properly](#My-node-is-not-able-to-start-properly) - [My node is not able to start properly](#My-node-is-not-able-to-start-properly)
- [Does the running node have any incentives?](#Does-the-running-node-have-any-incentives?) - [Does the running node have any incentives?](#does-running-a-node-have-any-incentives)
- [Error when running .register_rln.sh](#Error-when-running-.register_rln.sh) - [Error when running .register_rln.sh](#error-when-running-register_rlnsh)
- [Problem with Grafana](#Problem-with-Grafana) - [Problem with Grafana](#does-my-grafana-looks-right)
- [Migrate my setup to another server?](#how-to-migrate-my-setup-to-another-server)
---- ----
### Does my node work properly? ### Does my node work properly?
Your node should have at least 40 connected peers and you should see some traffic in and out, in the Grafana board. Your node should have at least 40 connected peers, and you should see some traffic in and out, in the Grafana board.
1. Run `docker ps` and check that the “[harbor.status.im/wakuorg/nwaku](http://harbor.status.im/wakuorg/nwaku)” container is not continuously restarting 1. Run `docker ps` and check that the `wakuorg/nwaku` container is not continuously restarting
2. Use the following commands to check the node better: 2. Use the following commands to check the node better:
1. `curl -X GET http://localhost:8645/health` 1. `curl -X GET http://localhost:8645/health`
2. `curl -X GET http://localhost:8645/debug/v1/info` 2. `curl -X GET http://localhost:8645/debug/v1/info`
@ -45,4 +48,13 @@ It should look like:
http://5.196.26.230:3000/d/yns_4vFVk/nwaku-monitoring?orgId=1&refresh=1m http://5.196.26.230:3000/d/yns_4vFVk/nwaku-monitoring?orgId=1&refresh=1m
### How to migrate my setup to another server?
1. Clone [nwaku-compose](https://github.com/waku-org/nwaku-compose) in the new server.
2. Move your `keystore` folder (`nwaku-compose/keystore/`) from your current setup to the new server.
That folder was created when you executed `./register_rln.sh`,
and then, there is no need to run `./register_rln.sh` again.

View File

@ -31,7 +31,7 @@ x-pg-exporter-env: &pg_exp_env
# Services definitions # Services definitions
services: services:
nwaku: nwaku:
image: ${NWAKU_IMAGE:-harbor.status.im/wakuorg/nwaku:v0.32.0} image: ${NWAKU_IMAGE:-wakuorg/nwaku:v0.32.0}
restart: on-failure restart: on-failure
ports: ports:
- 30304:30304/tcp - 30304:30304/tcp

View File

@ -20,7 +20,7 @@ if test -n "${ETH_CLIENT_ADDRESS}"; then
exit 1 exit 1
fi fi
docker run -v "$(pwd)/keystore":/keystore/:Z harbor.status.im/wakuorg/nwaku:v0.32.0 generateRlnKeystore \ docker run -v "$(pwd)/keystore":/keystore/:Z wakuorg/nwaku:v0.32.0 generateRlnKeystore \
--rln-relay-eth-client-address=${RLN_RELAY_ETH_CLIENT_ADDRESS} \ --rln-relay-eth-client-address=${RLN_RELAY_ETH_CLIENT_ADDRESS} \
--rln-relay-eth-private-key=${ETH_TESTNET_KEY} \ --rln-relay-eth-private-key=${ETH_TESTNET_KEY} \
--rln-relay-eth-contract-address=0xCB33Aa5B38d79E3D9Fa8B10afF38AA201399a7e3 \ --rln-relay-eth-contract-address=0xCB33Aa5B38d79E3D9Fa8B10afF38AA201399a7e3 \