How to make core node talk only to relay node

I’m still in testnet phase.

When i do “nano testnet-topology.json” it shows my add, port and valency as “2”. (I have difficulty in understanding) valency.
In the course it is mentioned as

  1. Make the core node “talk” only to YOUR relay node.
  2. Make your relay node talk to your block-producing node and other relays in the network by editing the testnet-topology.json file:.

see the below link
(Configure topology files for block-producing and relay nodes. - Stake pool course)

How to do above steps 1 and 2.

Hi,

each node (your Relay and Block Producer) has its own topology file (testnet-topology.json in your case) that should be configured differently:

1. Relay is connected to Block Producer and other relays from the network.

{
 "Producers": [
  {
   "addr": "Block Producer IP Address",
   "port": 6000,
   "valency": 1
  },
  {
   "addr": "relays-new.cardano-testnet.iohkdev.io",
   "port": 3001,
   "valency": 2
  }
 ]
}

2. Block Producer is connected to your Relay only.

{
    "Producers": [
      {
        "addr": "Relay IP Address",
        "port": 6000,
        "valency": 1
      }
    ]
  }

A bit of offtopic, but you are using old documentation, what references to old legacy testnet, what should not be used anymore…

Please spin up your pool on pre-prod or preview environments

2 Likes

Thanks a lot…