Skip to content

b00f/committee-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Committee Simulator

The Committee Simulator is a simple app designed to simulate the committee of the Pactus blockchain.

committee simulator

How to run

A config file is provided where you can set the parameters of the committee, including:

  • committee_size: Defines the size of the committee.
  • number_of_days: Specifies the number of days the simulator should run.
  • offline_percentage: Determines what percentage of the total stake is offline.
  • stakes: Lists the validators' stakes. The first element is the amount of stake, while the second element is the number of validators.

Please note that you need to modify these parameters to suit your simulation needs. After setting the parameters, you can run the simulator using the following command:

pip3 install pandas
pip3 install matplotlib

go run .

About

Committee Simulator of the Pactus blockchain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published