Life of a bitcoin Miner