Giter Site home page Giter Site logo

pcaversaccio / randao-distribution Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 491 KB

Empirical distribution of the randomness beacon (=RANDAO) provided by the Beacon chain.

License: Do What The F*ck You Want To Public License

Python 100.00%
beacon-chain empirical-distributions proof-of-stake randao randomness-generation

randao-distribution's Introduction

Empirical RANDAO Distribution

Empirical distribution of the randomness beacon (=RANDAO) provided by the Beacon chain. The first Proof-of-Stake (PoS) block number is 15537394. Beginning with 15537394, every Beacon node sets the value of the mixHash, i.e. the field with the number 13 (0-indexed) in a block header, to the latest RANDAO mix of the post beacon state of the previous block. The probability of the RANDAO value to fall into the range between 0 and 2**64 is drastically low*. For more details, I refer to EIP-4399.

* The probability of RANDAO > 2**64 is $1-\left(\frac{1}{2}\right)^{192}$ = 0.9999999999999999999999999999999999999999999999999999999998406908088867547722971119602232288194408895444807381213926114146613837099.

Visualisation from blockNumber=15537394 to blockNumber=15568555

Visualisation RANDAO Values

randao-distribution's People

Contributors

pcaversaccio avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.