Skip to content

PRIEWIENV/sleepysim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published