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 400 forks source link

Fixes issue #54 #56

Closed elijose55 closed 4 years ago

elijose55 commented 4 years ago

Fixed the error that happened when there were reserved characters in the MINER_ADDRESS variable of the miner_config.py file. Changed the way the params are passed to the requests made to the MINER_NODE_URL. Before they were concatenated to the request string, now I used the request.get "params" field to pass the update parameter to the request. I also fixed any other request made to use the url and params field of response.get.