A Python implementation of Bitcoin