I’ve been using the coincashew guide: Guide: How to Set Up a Cardano Stake Pool - CoinCashew
When writing the start up scrips for the relay and cores I expected them to be different.
The guide says that the relay and a core with the following:
#!/bin/bash
DIRECTORY=$NODE_HOME
PORT=xxxx
HOSTADDR=0.0.0.0
TOPOLOGY=${DIRECTORY}/${NODE_CONFIG}-topology.json
DB_PATH=${DIRECTORY}/db
SOCKET_PATH=${DIRECTORY}/db/socket
CONFIG=${DIRECTORY}/${NODE_CONFIG}-config.json
/usr/local/bin/cardano-node run --topology ${TOPOLOGY} --database-path ${DB_PATH} --socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}
EOF
I guess I was expecting the core to have to start differently. (Including the KES, and pool.cert,…). I came across the below somewhere in the forum. I quoted the main difference below.
DIRECTORY=$NODE_HOME
PORT=XXXX
HOSTADDR=0.0.0.0
TOPOLOGY=${DIRECTORY}/{NODE_CONFIG}-topology.json DB_PATH=${DIRECTORY}/db SOCKET_PATH=${DIRECTORY}/db/socket CONFIG=${DIRECTORY}/{NODE_CONFIG}-config.json
KES=${DIRECTORY}/kes.skey
VRF=${DIRECTORY}/vrf.skey
CERT=${DIRECTORY}/node.cert
cardano-node run --topology ${TOPOLOGY} --database-path ${DB_PATH} --socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}
–shelley-kes-key ${KES} --shelley-vrf-key ${VRF} --shelley-operational-certificate ${CERT}
EOF
Is this a possible error in the coincashew guide? Should I be using a cardano-node run command similar to the one that uses the cert and keys?