Hi all,
The Test team have made good progress getting more nodes over onto the correct fork on Testnet, as you will be able to see here: https://symbolnodes.org/nodes_testnet, the incorrect fork has also stalled at block 261647 at the time of writing so anything above that is the correct fork.
The NGL nodes are now all one one fork and other nodes have joined ours on that fork with a resync, so there should be sufficient weight there to allow just a normal resync to fix the node.
So if you have a node that is showing a block height of 261647, it is more likely than not on the wrong fork and should be resynchronised.
Normal Method
If using Bootstrap the commands below should fix it for you via a normal resync:
-
Stop the node
-
Run:
npm install -g symbol-bootstrap@alpha
this should replace your current version with an Alpha build that is version 0.3.2-alpha (if you run it and it doesnt say that, stop because you will be on an old version of bootstrap), the output is likely to look something similar to the below:
- Run:
symbol-bootstrap start -p testnet -a dual --resetData
(the -resetData will reset target etc but not touch the keys) and let the sync run, it should get you onto the correct fork, if the number is the same as the NGL nodes at https://symbolnodes.org/nodes_testnet then you are on the right one (our nodes end with symboldev.network) Opening Line also have 12 nodes on the same fork at present, props @DaokaTrade
Force Method
If after trying a normal resync, it doesn’t work and you are still on the incorrect fork, then the below should force a node to sync of one of our known good nodes, it would be helpful if people can try the normal sync first to avoid the nodes getting overloaded and also to let the Testnet recover as it should do via normal running, it is a good process to see work as well as part of testing:
-
Stop the node
-
Run:
npm install -g symbol-bootstrap@alpha
this should replace your current version with an Alpha build that is version 0.3.2-alpha (if you run it and it doesnt say that, stop because you will be on an old version of bootstrap), the output is likely to look something similar to the below:
-
Run:
symbol-bootstrap config -p testnet -a dual -r
(the -r will reset and delete target etc) -
Change the settings below in the
config-extensions-server.properties
file
extension.nodediscovery = false
This will set the server to use a list of known nodes -
Run:
symbol-bootstrap start -p testnet -a dual
and let the sync run, it should get you onto the correct fork, if the number is the same as the NGL nodes at https://symbolnodes.org/nodes_testnet then you are on the right one (our nodes end with symboldev.network) Opening Line also have 12 nodes on the same fork at present, props @DaokaTrade -
Stop the node, change the setting back to
extension.nodediscovery = true
-
Start the node again