🍄Node Unjail
Last updated
Due to a problem with the chain during this update, the nodes may be in the following four states. You can check the status of your node with the following commands and take appropriate action:
Enter the following command in the command line to check the status of your node:
cat ~/.titan/config/genesis.json | jq ".genesis_time"Determine the status of your node based on the output:
2024-07-28T10:00:00.000000000ZIndicates that your node did not make any updates between Aug 7 - 8.
2024-08-08T08:00:00.000000000ZIndicates that your node made its first update between Aug 7 - 8 and did not invoke the update script again after August 8th.
2024-08-08T12:00:00.000000000ZYour node is still jailed after completing two updates
Time range: Aug 7 - 8
Description: Nodes did not perform an update during this period; or nodes performed their first update during this period and did not call the update script again.
Solution:
Follow the update guidelines and check if the current node height matches the height on the blockchain browser (https://testnet.titan.explorers.guru).
If it does, you can perform the Exit Imprisonment operation.
titand tx slashing unjailIf the error (unsupported sign mode SIGN_MODE_TEXTUAL): unauthorized occurs when unjailing, you need to get the latest Titan-chain code to compile and replace it. See "Getting the latest code and updating the node to unjail" below for details on how to do this.
If you complete the both updates but your node is still jailed, can unjail the node by execute the following command
If the error (unsupported sign mode SIGN_MODE_TEXTUAL): unauthorized occurs when unjailing, you need to get the latest Titan-chain code to compile and replace it. See "Getting the latest code and updating the node to unjail" below for details on how to do this.
*If you encounter any other issue during the unjailing process, please contact us for support.
First, clone the git repository of Titan chain again to ensure you have the latest code.
Enter the cloned directory
Compile the latest version of Titan node using Go
Stop running service of Titan validator node
Delete the old version of executable of Titan node
Move the new version of executable to the system directory
Restart the titan system service
Note: If your node is not jailed, you don't need to execute this step.
Last updated
titand tx slashing unjailgit clone https://github.com/Titannet-dao/titan-chain.gitcd titan-chaingo build ./cmd/titandsystemctl stop titanrm $(which titand)mv titand /usr/local/bin/systemctl start titantitand tx slashing unjail