Skip to content

ChinmaySonar/Non-replicated-Blockchain

Repository files navigation

Non-replicated-Blockchain

"Non-replicated" simplistic blockchain model demonstrating 'mutually exclusive access' using Lamport's protocol.

Python 2.7.12 -- No external dependecies.

To run in terminal: (each instruction in new terminal window)

  1. python blockchain_server.py # will creat a centralized blockchain server in one window
  2. python network_server.py # will create a network server to keep track of clients in the system
  3. python handle_client_interactive # one per client; this will allow client to put transaction requests interactively

handle_client_interactive.py will creat a new process to do communications over the network, and execute transactions on the blockchain server which is done by obtaining mutualy exclusive access using Lamport's (distributed) protocol.

About

"Non-replicated" simplistic blockchain model demonstrating 'mutually exclusive access' using Lamport's protocol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages