SeroviICAI / Blockchain_Python

Blockchain peer-to-peer app with mutual exclusion and threads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain_Python

Description

Blockchain peer-to-peer app with mutual exclusion and threads created with Flask (Python).

Getting started

First install all packages inside requirements.txt using the "pip install" command. After that execute the app on three different ports: 5000, 5001 and 5002. This can be done with the simple command "python Blockchain_app.py -p 5000" (repeat it for each port). Eventually, run Blockchain_requests.py (this is a test file, to try the different functions implemented on the app) and you will see the following output in you shell/bash terminal.

localhost:5000 localhost:5000

localhost:5001 localhost:5001

localhost:5002 localhost:5002

You may use Postman to try this application too. New files will be created on the app's directory which will be backup copies of the blockchain.

More information

More information relating the project can be found in memoria_blockchain.pdf in spanish.

About

Blockchain peer-to-peer app with mutual exclusion and threads


Languages

Language:Python 100.0%