Skip to content

Jayesh-45/Decentralized-App

Repository files navigation

P2P Cryptocurrency Network Simulation

Project Overview

This project simulates a Peer-to-Peer (P2P) Cryptocurrency Network, guided by Prof. Vinay Ribeiro for CS 765 at IIT Bombay.

Requirements

  • Python 3
  • Pip Packages:
    • numpy
    • matplotlib
    • networkx

Input Parameters

  1. n: Number of Voters
  2. p: fraction_of_malicious
  3. q: fraction_of_very_honest
  4. steps: simulations steps

Simulation Execution

To start the simulation, run the following command in the project folder:

$ python simulator.py <number_of_voters> <fraction_of_malicious> <fraction_of_very_honest> <simulations_steps>

python startsimulator.py [n] [p] [q] [steps] for e.g

$python startsimulator.py 100 0.9 0.7 100

About

A Decentralized App (DApp) is an application running on a permissionless blockchain, to address the problem of Fake News. The DApp is an alternative way of flagging fake news in a decentralized manner.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors