/sleepysim

Sleepy protocol simulated in rounds

Primary LanguageJavaMIT LicenseMIT

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.