I’m using Stake Pool School - Stake pool course
until Start your core node - Stake pool course
Producer node without metadata
I have 1 producer node and 1 relay node
producer: 192.168.0.61
relay: 192.168.0.62
I’m using configurations file from:
wget https://book.world.dev.cardano.org/environments/preview/config.json
wget https://book.world.dev.cardano.org/environments/preview/topology.json
wget https://book.world.dev.cardano.org/environments/preview/byron-genesis.json
wget https://book.world.dev.cardano.org/environments/preview/shelley-genesis.json
wget https://book.world.dev.cardano.org/environments/preview/alonzo-genesis.json
configure productive node communication only with relay node
and relay node with the blockchain
producer node:
topology.json
{
"LocalRoots": {
"groups": [
{
"localRoots": {
"accessPoints": [
{
"address": "192.168.0.62",
"port": 1340
}
],
"advertise": false
},
"valency": 1
}
]
},
"PublicRoots": [
{
"publicRoots": {
"accessPoints": [],
"advertise": false
}
}
],
"useLedgerAfterSlot": 322000
}
nodo relay:
topology.json
{
"LocalRoots": {
"groups": [
{
"localRoots": {
"accessPoints": [
{
"address": "192.168.0.61",
"port": 1330
}
],
"advertise": false
},
"valency": 2
}
]
},
"PublicRoots": [
{
"publicRoots": {
"accessPoints": [
{
"address": "preview-node.world.dev.cardano.org",
"port": 30002
}
],
"advertise": false
}
}
],
"useLedgerAfterSlot": 322000
}
I start only producer node, my script
productor.sh
#!/bin/bash
NODE_HOME=~/cnode
NODE_CFG=$NODE_HOME/pool.cfg
NODE_IP=0.0.0.0
NODE_PORT=1330
cardano-node run \
--database-path $NODE_HOME/db \
--socket-path $NODE_HOME/sockets/node.socket \
--host-addr $NODE_IP \
--port $NODE_PORT \
--config $NODE_CFG/testnet-config.json \
--topology $NODE_CFG/testnet-topology.json \
--shelley-kes-key $NODE_CFG/kes.skey \
--shelley-vrf-key $NODE_CFG/vrf.skey \
--shelley-operational-certificate $NODE_CFG/node.cert
exit;
I have sync progress 100%, is it ok? Relay node is off, I have some wrong configuration?
cardano-cli query tip --testnet-magic 2
{
“block”: 67869,
“epoch”: 17,
“era”: “Babbage”,
“hash”: “93ec78f32f77961b27dbde582b1c1050c8a86a1f325aed29ea78c4498fcc2add”,
“slot”: 1471614,
“syncProgress”: “100.00” <--- is it ok?
}