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.
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
127.0.0.1 - - [07/Feb/2018 20:42:11] "GET /txion?update=q3nf394hjg-random-miner-address-34nf3i4nflkn3oi HTTP/1.1" 200 -
Process Process-1:
Traceback (most recent call last):
File "C:\Users\spork\AppData\Local\Programs\Python\Python35\lib\multiprocessing\process.py", line 252, in _bootstrap
self.run()
File "C:\Users\spork\AppData\Local\Programs\Python\Python35\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\spork\Desktop\SimpleCoin\simpleCoin\miner.py", line 114, in mine
NODE_PENDING_TRANSACTIONS = json.loads(NODE_PENDING_TRANSACTIONS)
File "C:\Users\spork\AppData\Local\Programs\Python\Python35\lib\json\__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'