Skip to content

Commit c5dd811

Browse files
Document how to connect to other nodes than toxproxy
1 parent d550cfc commit c5dd811

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

scripts/genesis-benchmarks/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,31 @@ from slot 0 with,
8787
$ SYNC_FROM_0=1 NUM_SLOTS=155000 ./run-syncing-node.sh 1
8888
```
8989

90+
### How to connect to other nodes than toxiproxy
91+
92+
The following uses a custom topology file, instead of generating one that
93+
connects to toxiproxy.
94+
95+
```
96+
$ TOPOLOGY=toplogy.json ./run-syncing-node.sh 1
97+
```
98+
99+
For instance,
100+
```
101+
$ cat topology.json
102+
{"publicRoots": []
103+
, "localRoots":
104+
[{ "accessPoints":
105+
[ {"address": "34.216.201.242", "port": 3001}
106+
, {"address": "3.77.115.8", "port": 3001}
107+
]
108+
, "advertise": false
109+
, "hotValency": 2
110+
, "trustable": true
111+
}]
112+
}
113+
```
114+
90115
### How to collect the eventlog of the syncing node
91116

92117
The following command collects the eventlog.

0 commit comments

Comments
 (0)