8000 GitHub - adeleveschetti/ethereum-analysis
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

adeleveschetti/ethereum-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Structure

  1. PRISM-extended.tar.gz <--- source code of PRISM+

  2. 13_nodes.prism <--- PRISM+ specification of the Casper Hybrid protocol with 13 nodes

  3. properties.prop <--- list of the properties analyzed in the paper (PRISM syntax)

  4. folder Experiments <--- contains the results of some experiments not included in the article

Instructions for the installation of PRISM+

-> Download the PRISM-extended.tar.gz file and extract it

-> To install, enter the PRISM-new directory and type ./install.sh

-> To run, execute bin/xprism or bin/prism

Instructions to run an experiment

-> To run an experiment from command line, it is possible to write:

prism model.prism property -const -sim -simmethod ci

where
* model.prism is the name of the file
* property is the property to analyze (e.g. P=?[F<=T "someJustified"])
* after const it is supposed to define the variables not initialized in the model, in our case the only variable not initialize is epochs
For instance, if you want to analyze the probability that someone justifies a block depending on the number of epochs you should write:

prism 13_nodes.prism P=?[F<=T "someJustified"] -const epochs=0:5:20 -sim -simmethod ci

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0