Manual Bitcoin Block Mining Process

* This is an example of manual Bitcoin RPC mining, no real mining reward is obtained.

This page is an interactive demonstration of manual Bitcoin RPC mining. Press the button to load real mining block data from our server's RPC node and observe how each component contributes to the final hash. To operate, modify the extranonce and nonce fields and you will see how the final hash is formed. If the obtained hash is less than the target hash, the block would be valid and the mining reward would be obtained. This is an example for study and information purposes of manual Bitcoin RPC mining, no real mining reward is obtained.
Step 1: The Coinbase Transaction (Your Reward)

Every block starts with a special transaction that pays you the reward. It is built with this data:

  • Block Height: ...
  • Reward (sats): ...
+

This data is packed and double-SHA256 hashed to get the Coinbase Hash:

...

Step 2: The Merkle Tree (Transaction Verification)

To efficiently verify all transactions, their hashes are combined into a "tree" until a single root remains (Merkle Root).


The final Merkle Root (which will go in the block header) is:

...

Step 3: The Block Header (The 80-byte Puzzle)

This is the part that miners repeatedly hash. It consists of 6 pieces of information:

1. Version...
2. Previous Block Hash...
3. Merkle Root...
4. Timestamp...
5. Bits (Difficulty)...
6. Nonce (Change it!)
Step 4: The Final Hash and Check

The 80-byte header is double-SHA256 hashed to get the block hash. This result must be less than the network target.

Calculated Block Hash:

...

Network Target:

...