Skip to content

Commit 928a6f7

Browse files
Document how to connect to other nodes than toxproxy
1 parent a75a7ab commit 928a6f7

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
@@ -85,6 +85,31 @@ it. But one can start syncing from slot 0 with,
8585
$ SYNC_FROM_0=1 NUM_SLOTS=155000 ./run-syncing-node.sh 1
8686
```
8787

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

90115
The following command collects the eventlog.

0 commit comments

Comments
 (0)