GithubHelp home page GithubHelp logo

Question: Ev output about mithril HOT 6 CLOSED

input-output-hk avatar input-output-hk commented on July 29, 2024
Question: Ev output

from mithril.

Comments (6)

pyrros avatar pyrros commented on July 29, 2024

Seems ok to me. Not sure if we need more precision, but might be good to align with what the rest of Cardano is doing if they are in fact using higher precision.

Adding after discussion w/ @markulf : Stake representation should also align with Cardano.

from mithril.

abakst avatar abakst commented on July 29, 2024

Adding after discussion w/ @markulf : Stake representation should also align with Cardano

Do you know what Cardano is using?

from mithril.

abailly-iohk avatar abailly-iohk commented on July 29, 2024

AFAICT, stakes are represented as Integer inside Cardano codebase

from mithril.

iquerejeta avatar iquerejeta commented on July 29, 2024

Let's try to close this issue. @pyrros , @markulf , when you mentioned that stake representation should also align with Cardano, what were you expecting?

from mithril.

pyrros avatar pyrros commented on July 29, 2024

The stake representation point was in addition to the initial one. For the stake representation as long as we are not casting to something smaller or different (integer to floating point or vice-versa) we should be ok.

The initial comment was about the bit precision on the vrf comparison.

from mithril.

iquerejeta avatar iquerejeta commented on July 29, 2024

Oh, I see. And how would you go for the conversion? True that in the paper the mapping is defined as {0,1}*-> Z_p, and the image of phi is [0,1], and cannot see anywhere how to do the conversion. Actually, in our implementation we define the mapping as {0,1}* -> Z_{2^64}. Do we also want to change that?

from mithril.

Related Issues (20)

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.