1. Current version of go-photon #
The current supported version is go-photon 1.0.2-rc5 for both mainnet and testnet
Go-photon older than 1.0.2-rc5 #
You should download and use 1.0.2-rc.5
Trouble shooting: Syncing error
- Stop the node
- Remove the current (broken) datadir (the default datadir is located at ~/.photon)
- Download and build the latest version go-photon 1.0.2-rc5
- Run your node again in read mode
1. Pruning node state #
If your node is about to run out of space, you may consider to extend the machine’s storage OR to prune the current node’s datadir. To prune the datadir, please use the following steps:
Stop the node
Run at the terminal:
./photon snapshot prune-state
If your node is about to run out of space, you may consider to extend the machine’s storage OR to prune the current node’s datadir. To prune the datadir, please use the following steps:
- Stop the node
- Run at the terminal:
./photon snapshot prune-state
The state pruning process may take a couple of hours for every hundreds of GBs of data and the amount of time required will depend on the machine’s speed.
3. Offline node #
If your validator node is down for more than 3 days, then it will become offline (i.e., pruned from the network). For offline node, you can undelegate and wait for 7 days to withdraw (bonding time). After that, you can transfer fund to a new wallet and make a new validator. Note that, if undelegating a locked stake or locked delegation before the locked period is expired, it will incur a penalty.