This repository is for learning purposes only. This repository gives the basic components of networking, databases, consensus, PoW, and transactions handling.
There are separate node python files that has all of the same code as the main python file "ryanCoin.py" to simulate multiple nodes running on the network and connected. You can test this with the GET and POST variables and connecting to Postman.
- import datetime
- import hashlib
- import json
- from flask import Flask, jsonify, request
- import requests
- from uuid import uuid4
- from urllib.parse import urlparse