How do I check if my coin forked?

algorithm

X11

source branch

20.0

updated December 6, 2023, 1:27 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