Skip to content
Sleepy protocol simulated in rounds
Java Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
bin
doc
lib
src
.DS_Store
.gitignore
Changlog.txt
LICENSE
Make.sh
README.md
Run.sh
hs_err_pid23881.log
naive_result.eps
naive_result.txt
naive_result0.txt
naive_result1.txt
naive_result10.txt
naive_result11.txt
naive_result12.txt
naive_result13.txt
naive_result14.txt
naive_result15.txt
naive_result16.txt
naive_result17.txt
naive_result18.txt
naive_result19.txt
naive_result2.txt
naive_result20.txt
naive_result21.txt
naive_result22.txt
naive_result23.txt
naive_result24.txt
naive_result25.txt
naive_result26.txt
naive_result27.txt
naive_result28.txt
naive_result29.txt
naive_result3.txt
naive_result30.txt
naive_result31.txt
naive_result32.txt
naive_result33.txt
naive_result34.txt
naive_result35.txt
naive_result36.txt
naive_result37.txt
naive_result38.txt
naive_result39.txt
naive_result4.txt
naive_result40.txt
naive_result41.txt
naive_result42.txt
naive_result43.txt
naive_result44.txt
naive_result45.txt
naive_result46.txt
naive_result47.txt
naive_result48.txt
naive_result49.txt
naive_result5.txt
naive_result50.txt
naive_result51.txt
naive_result52.txt
naive_result53.txt
naive_result54.txt
naive_result55.txt
naive_result56.txt
naive_result57.txt
naive_result58.txt
naive_result59.txt
naive_result6.txt
naive_result60.txt
naive_result61.txt
naive_result62.txt
naive_result63.txt
naive_result64.txt
naive_result65.txt
naive_result66.txt
naive_result67.txt
naive_result68.txt
naive_result69.txt
naive_result7.txt
naive_result70.txt
naive_result71.txt
naive_result72.txt
naive_result73.txt
naive_result74.txt
naive_result75.txt
naive_result76.txt
naive_result77.txt
naive_result78.txt
naive_result79.txt
naive_result8.txt
naive_result80.txt
naive_result81.txt
naive_result82.txt
naive_result83.txt
naive_result84.txt
naive_result85.txt
naive_result86.txt
naive_result87.txt
naive_result88.txt
naive_result89.txt
naive_result9.txt
naive_result90.txt
naive_result91.txt
naive_result92.txt
naive_result93.txt
naive_result94.txt
naive_result95.txt
naive_result96.txt
naive_result97.txt
naive_result98.txt
naive_result99.txt
plot.py
result0.txt
result1.txt
result10.txt
result11.txt
result12.txt
result13.txt
result14.txt
result15.txt
result16.txt
result17.txt
result18.txt
result19.txt
result2.txt
result20.txt
result21.txt
result22.txt
result23.txt
result24.txt
result25.txt
result26.txt
result27.txt
result28.txt
result29.txt
result3.txt
result30.txt
result31.txt
result32.txt
result33.txt
result34.txt
result35.txt
result36.txt
result37.txt
result38.txt
result39.txt
result4.txt
result40.txt
result41.txt
result42.txt
result43.txt
result44.txt
result45.txt
result46.txt
result47.txt
result48.txt
result49.txt
result5.txt
result50.txt
result51.txt
result52.txt
result53.txt
result54.txt
result55.txt
result56.txt
result57.txt
result58.txt
result59.txt
result6.txt
result60.txt
result61.txt
result62.txt
result63.txt
result64.txt
result65.txt
result66.txt
result67.txt
result68.txt
result69.txt
result7.txt
result70.txt
result71.txt
result72.txt
result73.txt
result74.txt
result75.txt
result76.txt
result77.txt
result78.txt
result79.txt
result8.txt
result80.txt
result81.txt
result82.txt
result83.txt
result84.txt
result85.txt
result86.txt
result87.txt
result88.txt
result89.txt
result9.txt
result90.txt
result91.txt
result92.txt
result93.txt
result94.txt
result95.txt
result96.txt
result97.txt
result98.txt
result99.txt
run.py
sleepysim.iml

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.

You can’t perform that action at this time.