Lightning Talk: Bitcoin mining on Python
summary
Shows a concrete Python implementation using hashlib (md5 for demo, double SHA-256 for Bitcoin) that iterates a numeric nonce and recomputes the header hash until the value is below a target. Demonstrates brute force runs: 55 million iterations for a toy header (three solutions in 1m10s on one seed, none on another), starting nonce ≈850 million finds a real target in ~25s. Notes performance: Python ≈hundreds of thousands of hashes/sec versus ASICs at gigahashes/sec, and builds Merkle roots by pairwise SHA-256 hashing.
AI-written summary · about
chapters (5)
related talks
13mBitcoin Behind The Scenes
01h 48mMining Illustrated feat. Mujina Open-Source Firmware
27mDecentralizing Bitcoin's Hashrate
23mProof of Work - An interview – Felix
39mBitcoin Mining Benefits: Why It Matters
37mAn interview with – Nawaz Sulemanji
50mBitcoin's Incentive Structure
33mLIVE w/ Max Keiser, Kristy Leigh Minehan, a "fluffy" appearance & more
