Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
doc
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

SleepySim - A Sleepy Consensus Simulater

Sleepy Consensus

TO ALL DEVELOPERS

If you change the API, please log it in Changelog.txt and doc file, and explain if necessary.

TO Group B (Honest)

Read https://eprint.iacr.org/2016/918.pdf page 20

If you have any problem, post it to wechat group

TO Group C (Adversary)

Implement naive attack first, then selfish mining

Selfish Mining Paper: Majority is not enough: Bitcoin mining is vulnerable

How To Build

Linux

chmod +x Make.sh
./Make.sh

Quick Start

Linux

chmod +x Run.sh
./Run.sh

The results are in nohup.out.

Documentation

doc/whitepaper directory contains the white paper and tex document.

gh-pages branch contains the Application Programming Interface of our simulator's codes. And the online version is also available here.

About

Sleepy protocol simulated in rounds

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.