Bitcoin mining is the process of producing new bitcoins by solving exceedingly difficult math problems that verify financial transactions. When…