~/lightning

Lightning Talk: Bitcoin mining on Python

Lightningat PyCon Singapore 2016 · on Thursday, 2016-06-23· [bitcoin]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 1:13Hashes
  3. 9:30The Bitcoin Block
  4. 9:57Translation into Python Code
  5. 11:30The Hash Algorithm
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.