Giter Site home page Giter Site logo

Comments (2)

this-kramer avatar this-kramer commented on September 26, 2024

Thanks for your feedback and suggestions!

Regarding the C' improvement: Do I understand correctly that you propose to add a 'C=C'\cdot C_0', where:

  • C_0 is the commitment without the points, and C' contains the commitment on the points vector only?
  • If so, do you think of C' as a
    1. common input with above equation proved in the MetadataZkp?
      (I guess we then need to randomize it,e.g. C=C'\cdot g^{-r}C_0 and C'=g^{points}\cdot g^{r})
    2. shared witness -> I don't think ProofOfPartialKnowledge supports it, so I guess the latter?
    3. Something else?

Anyways, sounds like a nice improvement (even though this unfortunately does not reduce the number of pairings if I'm not totally wrong)!

from incentive-system.

JanBobolz avatar JanBobolz commented on September 26, 2024

My proposal is:

  • The SPSEQ and the signed commitment C stay exactly the same.
  • At the start of the proving process, the user creates a commitment C' to the point vector (with fresh randomness, does not have to be consistent between spend retries, so no PRF involved).
    • One can view C' as a sendFirstValue in the terminology of the ProofOfPartialKnowledge implementations, i.e. it's just generated by the prover as part of the "root" protocol and sent alongside the first message.
  • In the "metadata proof", we add a proof that C' is well-formed and contains the same values as in C.
  • All of the leaf nodes for the point statement proofs now take C' as common input, instead of the signed commitment C as they do now.

(even though this unfortunately does not reduce the number of pairings if I'm not totally wrong)!

Right, this will not change the number of pairings. It's relatively small though, no? We just check the SPSEQ signature once?

from incentive-system.

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.