Coming in from the coincashew guide and have followed it fairly well IMO. I am running into an issue where the Processed TX is not moving on my relay node, but my BP does have moving TX.
I am not seeing my relay appear on the mainnet topology json
I have my relay setup for port forwarding through the router and am able to see the port when specifying my public ip and rleay port number when using port-checking sites. I have not setup my BP for port forwarding as I was of the understanding that the cardano network model suggested that a BP should only communicate to the relay and that the relay is what should be exposed out to the world.
I am unsure if i’ve missed something in terms of configuration steps… any help would be appreciated and I can provide any other snippets as needed.
You’re a saint @Alexd1985 - setting TraceMempool=true fixed the issue of the 0 TX processing.
Just for my own edification - is TraceMempool meant as a logging property which was omitting intranet transactions or something like that? Or was it actually not processing transactions when it was set to false?
Good to know, and yes @laplasz - that thread is definitely a better representation of the 0 TX issue I was experiencing.
@Alexd1985 With regards to the updater, i have been getting 204s but i am not sure if i’ve set it up correctly. i was a bit confused as to the CNODE_HOSTNAME arg given my network setup… was it supposed to be my relay’s public-facing IP placed there? Or was it supposed to be pointing to my BP’s internal IP? I’d also set the curl to “-4” since it is an IP address and not domain.
USERNAME=relay1main
CNODE_PORT=6000 # must match your relay node port as set in the startup command
CNODE_HOSTNAME=“100.100.10.10” # Should this be my RELAY public IP? or my BP private IP? (Relay public IP:100.100.10.10 vs. BP private IP:192.168.0.51)
CNODE_BIN=“/usr/local/bin”
CNODE_HOME=/home/relay1main/cardano-my-node
CNODE_LOG_DIR=“${CNODE_HOME}/logs”
GENESIS_JSON=“${CNODE_HOME}/mainnet-shelley-genesis.json”
NETWORKID=$(jq -r .networkId $GENESIS_JSON)
CNODE_VALENCY=1 # optional for multi-IP hostnames
NWMAGIC=$(jq -r .networkMagic < $GENESIS_JSON)
[[ “${NETWORKID}” = “Mainnet” ]] && HASH_IDENTIFIER=“–mainnet” || HASH_IDENTIFIER=“–testnet-magic ${NWMAGIC}”
[[ “${NWMAGIC}” = “1097911063” ]] && NETWORK_IDENTIFIER=“–mainnet” || NETWORK_IDENTIFIER=“–testnet-magic ${NWMAGIC}”
blockNo=$(/usr/local/bin/cardano-cli query tip ${NETWORK_IDENTIFIER} | jq -r .block )
if [ “${CNODE_HOSTNAME}” != “CHANGE ME” ]; then
T_HOSTNAME=“&hostname=${CNODE_HOSTNAME}”
else
T_HOSTNAME=‘’
fi
if [ ! -d ${CNODE_LOG_DIR} ]; then
mkdir -p ${CNODE_LOG_DIR};
fi
curl -4 -s “https://api.clio.one/htopology/v1/?>port=${CNODE_PORT}&blockNo=${blockNo}&valency=${CNODE_VALENCY}&magic=${NWMAGIC}${T_HOSTNAME}” | tee -a $CNODE_LOG_DIR/topologyUpdater_lastresult.json
Ok, so then CNODE_HOSTNAME would be set to 192.168.0.51 - does this mean it will take longer than the usual 4 hours for the mainnet topology to propogate with my public IP of 100.100.10.10?