How do I check if my coin forked?

algorithm

Scrypt (PoS)

source branch

2.13

updated December 13, 2022, 3:57 pm

Your coin forked when you have two different block hashes for the same block height.

This means that you have two different copies of your blockchain.

Check with two wallets if the block hash matches for the same block height, with the following steps.

Open your wallet.

Click on "Help" -> "Debug Window".
Click on the tab Console.
This is the console where you execute RPC commands.

Show the current block height with the following RPC command:

getblockcount

Show the block hash with the following RPC command:

getblockhash height

Replace the text “height” with the number in the output of the command “getblockcount”.

Example:

getblockhash 1337