From 928a6f72222024e671254f6d9f522be384ac52f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Facundo=20Dom=C3=ADnguez?= Date: Mon, 26 Aug 2024 18:35:22 -0300 Subject: [PATCH] Document how to connect to other nodes than toxproxy --- scripts/genesis-benchmarks/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/scripts/genesis-benchmarks/README.md b/scripts/genesis-benchmarks/README.md index e62b8634b3..a1a4ad6208 100644 --- a/scripts/genesis-benchmarks/README.md +++ b/scripts/genesis-benchmarks/README.md @@ -85,6 +85,31 @@ it. But one can start syncing from slot 0 with, $ SYNC_FROM_0=1 NUM_SLOTS=155000 ./run-syncing-node.sh 1 ``` +### How to connect to other nodes than toxiproxy + +The following uses a custom topology file, instead of generating one that +connects to toxiproxy. + +``` +$ TOPOLOGY=toplogy.json ./run-syncing-node.sh 1 +``` + +For instance, +``` +$ cat topology.json +{"publicRoots": [] +, "localRoots": + [{ "accessPoints": + [ {"address": "34.216.201.242", "port": 3001} + , {"address": "3.77.115.8", "port": 3001} + ] + , "advertise": false + , "hotValency": 2 + , "trustable": true + }] +} +``` + ### How to collect the eventlog of the syncing node The following command collects the eventlog.