Skip to content

Arthurgamer1/Prickly-Port-Pirates-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WELCOME!

If you enter this file it may be for curiosity or finding out who we are. We are the Prickly Port Pirates! (PPP) A starting team which is surfacing to the networks to complete tasks and be one step closer of gettig the "One Piece". Through their computer network advetures they will gain strenght and reach the "Wired Blue".

It is said that the One Piece can be found through exploring networks and between all only the most experiences can enter the Wired Blue network. Would this team be able to get the an A-pass through their computer networks class to chace the One Piece? Stay tuned to find out!

Running the Main code:

  1. run:
pip install scikit-learn
pip install matplotlib
  1. Open up the "BlockChain Code" folder
  2. run the "generate_genesis.py" file to create the blockchain. (this will add the genesis block to the blockchain.json file.)
  3. run the "RunEnterprises.bat" file to get both Enterprises running on two terminals.
  4. Start chatting between terminals!

Running the trials for spam messaging & graphing:

  1. Make sure both peers are ready to message each other
  2. choose one terminal and type in the following
   spam [number_of_messages] [duration_of_time]
  1. After running these the csv files will be fille with information to be able to use TimeGraph.py
  2. Open TimeGraph.py (made for graphing and data collection therefore the code has to be hardcoded)
  3. Modify P2PGraph so that the parameter matches the number of entries in the csv file. (at the bottom of the code)
   graph = P2PGraph(number_of_data_collected)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published