Mining plays a crucial role in the foundation of Bitcoin, guaranteeing its decentralized nature. It involves the intensive process of verifying and transactions on the blockchain, which is essentially a distributed ledger recording all Bitcoin movements. Miners employ sophisticated computers to solve complex mathematicalpuzzles, competing against e