Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages