Skip to content

SinghGursimran/Blockchain-Consensus-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Run the following commands on all systems:
Step 1:
kill -9 $(lsof -t -i tcp:5990)
kill -9 $(lsof -t -i tcp:5991)
kill -9 $(lsof -t -i tcp:5992)
kill -9 $(lsof -t -i tcp:5993)
kill -9 $(lsof -t -i tcp:5994)
kill -9 $(lsof -t -i tcp:5995)
kill -9 $(lsof -t -i tcp:5996)
kill -9 $(lsof -t -i tcp:5997)
kill -9 $(lsof -t -i tcp:5998)
kill -9 $(lsof -t -i tcp:5999)
clear
python3

Step 2:
from main import *
n = 5
nodes = create_local_nodes(n)

Step 3:
for node in nodes: connect_with_all(node, n)

Step 4:
On Schedular: exec(open('script.py').read()) #Starting script

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages