-
Notifications
You must be signed in to change notification settings - Fork 6
0_core_relay
cardano-node-wiki edited this page Aug 4, 2023
·
1 revision
Before you start your nodes, you need to prepare the topology files.
Make the block-producing node to "talk" only to YOUR relay node. Do not forget to configure your firewall also:
nano topology.json
{
"Producers": [
{
"addr": "<RELAY IP ADDRESS>",
"port": <PORT>,
"valency": 1
}
]
}
Make your relay node talk
to your block-producing node and other relays in the network by editing the topology.json
file:
nano topology.json
{
"Producers": [
{
"addr": "<BLOCK-PRODUCING IP ADDRESS>",
"port": <PORT>,
"valency": 1
},
{
"addr": "<IP ADDRESS>",
"port": <PORT>,
"valency": 1
},
{
"addr": "<IP ADDRESS>",
"port": <PORT>,
"valency": 1
}
]
}
Note: If you want to connect to IPv4 and IPv6 relays, you must either not specify host addresses when starting cardano-node
or make sure to specify
both an IPv4 and IPv6 host address.
Please see Understanding configuration files to learn about P2P topology.
The cardano-node
wiki has moved. Please go to (https://github.com/input-output-hk/cardano-node-wiki/wiki) and look for the page there.