Feb 7, 2021
Cool post and interesting idea! It's worth mentioning that in reality you wouldn't want to mine using Python. Since mining is a CPU-intensive task, you'd want to pick a faster, lower level language like C, C++, or Rust to write your implementation. (The official Bitcoin Core client is written in C++ https://github.com/bitcoin/bitcoin/tree/master/src)