File tree 2 files changed +31
-1
lines changed
scripts/genesis-benchmarks
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,
87
87
$ SYNC_FROM_0=1 NUM_SLOTS=155000 ./run-syncing-node.sh 1
88
88
```
89
89
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
+
90
115
### How to collect the eventlog of the syncing node
91
116
92
117
The following command collects the eventlog.
Original file line number Diff line number Diff line change 88
88
else
89
89
truncate_chaindb
90
90
fi
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
92
97
93
98
CABAL_FLAGS=${CABAL_FLAGS:- }
94
99
You can’t perform that action at this time.
0 commit comments