プレビューノードのトポロジー変更¶
リレーノードの場合¶
ファイアーウォールを開放¶
トポロジーファイル変更¶
BPのIPとポート番号を設定します
cat > $NODE_HOME/topology.json << EOF
{
"bootstrapPeers": [
{
"address": "preview-node.play.dev.cardano.org",
"port": 3001
}
],
"localRoots": [
{
"accessPoints": [
{
"address": "$BP_IP",
"port": $BP_PORT
}
],
"advertise": false,
"trustable": true,
"valency": 1
}
],
"peerSnapshotFile": "peer-snapshot.json",
"publicRoots": [
{
"accessPoints": [],
"advertise": false
}
],
"useLedgerAfterSlot": 83116868
}
EOF
cardano-nodeを再起動する¶
BPの場合¶
トポロジーファイル変更¶
リレーのIPとポート番号を設定します
cat > $NODE_HOME/topology.json << EOF
{
"bootstrapPeers": null,
"localRoots": [
{
"accessPoints": [
{
"address": "$R1_IP",
"port": $R1_PORT
}
],
"advertise": false,
"trustable": true,
"valency": 1
}
],
"publicRoots": [],
"useLedgerAfterSlot": -1
}
EOF