Can someone explain to me what the relays are doing?

please add the addresses of the relay nodes as the example suggests

Is it like this:

the example isnt really helpful:

in the example you can see 3 relay nodes defined as a custom peer, so are you asking how to define 2 instead of 3?

Well I am getting a error with just 1 block producer:

tee: /opt/cardano/cnode/logs/topologyUpdater_lastresult.json: No such file or directory
{ “resultcode”: “504”, “datetime”:“2021-02-24 20:03:44”, “clientIp”: “x.x.x.x”, “iptype”: 4, “msg”: “one request per hour please” }


ok - good, you defined your block producer node which is fine.
So topologyUpdater script relies on env file - have you created that?

yes I have a ENV file but it might be not good since ive had issues with it, i made it from the coin cashew guide.

in the env file:
LOG_DIR="${CNODE_HOME}/logs" # Folder where your logs will be sent to (must pre-exist)
please check that this folder exists on your machine:

the folder exist

then please create a new topic with this issue

so to answer to your question, please check this documentation about relay and block producer nodes:

1 Like