please add the addresses of the relay nodes as the example suggests
Is it like this:
x.x.x.x:xxxx:1
or
x.x.x.x:xxxx[:1]
the example isnt really helpful:
“10.0.0.1:3001|10.0.0.2:3002|relays.mydomain.com:3003:3”
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:
./topologyUpdater.sh
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” }
CUSTOM_PEERS=“x.x.x.x:xxxx:1”
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:
/opt/cardano/cnode/logs/
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: