How do I check if my coin forked?

algorithm

SHA-256

source branch

0.21

updated December 13, 2022, 3:46 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.

Go to Window -> 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