File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
scripts/genesis-benchmarks Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff 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
92117The following command collects the eventlog.
Original file line number Diff line number Diff line change 8888else
8989 truncate_chaindb
9090fi
91- generate_topology_json_p2p $TOPOLOGY_JSON
91+ if [ -v TOPOLOGY ]
92+ then
93+ cp $TOPOLOGY $TOPOLOGY_JSON
94+ else
95+ generate_topology_json_p2p $TOPOLOGY_JSON
96+ fi
9297
9398CABAL_FLAGS=${CABAL_FLAGS:- }
9499
You can’t perform that action at this time.
0 commit comments