Bitcoin mining plays a vital role in the functioning of the blockchain. It embodies the method of confirming transactions and incorporating them to the unchangeable ledger. Miners, leveraging specialized devices, tackle complex algorithmic problems. The first miner to resolve the solution gets to append a block of transactions to the blockchain, re