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:
Status 1️⃣ : output 2024-07-28T10:00:00.000000000Z
Indicates that your node did not make any updates between Aug 7 - 8.
Status 2️⃣ & 3️⃣ : output 2024-08-08T08:00:00.000000000Z
Indicates that your node made its first update between Aug 7 - 8 and did not invoke the update script again after August 8th.
Status 4️⃣: ouput 2024-08-08T12:00:00.000000000Z
Your node is still jailed after completing two updates
Getting the latest code and updating the node to unjail
First, clone the git repository of Titan chain again to ensure you have the latest code.
git clone https://github.com/Titannet-dao/titan-chain.git
Enter the cloned directory
cd titan-chain
Compile the latest version of Titan node using Go
go build ./cmd/titand
Stop running service of Titan validator node
systemctl stop titan
Delete the old version of executable of Titan node
rm $(which titand)
Move the new version of executable to the system directory
mv titand /usr/local/bin/
Restart the titan system service
systemctl start titan
titand tx slashing unjail
Note: If your node is not jailed, you don't need to execute this step.