PROJECT TITLE: Simple Network Simulation of Bitmessage
AUTHOR: MayurM
VERSION or DATE: 0.3
Assumptions:
- every peer has a list of all peers. In reality this will not be true. This is done to make it easier to send messages.
- POW computation time is 4 min on average.
- protocol is simplified to exclude unnecessary steps.
- messages are sent with a random legal sizes to simulate legitemate traffic.
- messages are sent from one random peer to another to simulate legitemate traffic.
HOW TO START THIS PROJECT:
- extract and cd to project directory
- make
- Usage: java Driver [num of peers] [total messages to send]
USER INSTRUCTIONS:
-
java Driver [num of peers] [total messages to send] ex. java Driver 1000 100000
-
two files will be generated
stat.txt - give stats for each peer and level of congestion in network log.txt - give record of each message sent