cosme12 / SimpleCoin

Just a really simple, insecure and incomplete implementation of a blockchain for a cryptocurrency made in Python as educational material. In other words, a simple Bitcoin clone.
http://copitosystem.com
MIT License
1.78k stars 397 forks source link

Update miner.py and use YAML #29

Closed Aareon closed 6 years ago

Aareon commented 6 years ago

Originally, miner.py used a Python script to store user config data. I propose that YAML is to be used in production. Rather than importing from a Python script, open the config just like any other JSON file.

Aareon commented 6 years ago

Sorry about the huge commit list, feel free to squash when merging. I'm not entirely sure how that came to be to be honest.

cosme12 commented 6 years ago

There are tons of changes, so you will have to fix conflicts by hand. I will close this issue and you can start another pull request.