Comments (2)
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- 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
andC'=g^{points}\cdot g^{r}
) - shared witness -> I don't think ProofOfPartialKnowledge supports it, so I guess the latter?
- Something else?
- common input with above equation proved in the
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.
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 asendFirstValue
in the terminology of theProofOfPartialKnowledge
implementations, i.e. it's just generated by the prover as part of the "root" protocol and sent alongside the first message.
- One can view
- In the "metadata proof", we add a proof that
C'
is well-formed and contains the same values as inC
. - All of the leaf nodes for the point statement proofs now take
C'
as common input, instead of the signed commitmentC
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)
- Token hash in app HOT 2
- shared secret for double-spending protection service + incentive service
- Redeem not working properly? HOT 2
- Tailwind stylings for dsprotection frontend on project page
- Integration test for double-spending protection service HOT 2
- Production mode for double-spending protection frontend on project page
- Dsprotection UI marks all transactions red, independent of valid state
- All transaction that are marked as double-spending appear twice in dsprotection UI
- App: Search as additional way of adding items to basket
- Crypto API refactoring?
- Add online dsprotection rejection mechanism HOT 1
- Add toggle to disable the online-rejection mechanism (DoS attack)
- Add error message to app if request was rejected due to dsp-rejection
- Error in DSP-service in integration test
- Add message to Pay+Redeem+Update screen HOT 1
- Readme
- Send all item data in basket json object
- esk reused in ds-attacks since it is pseudorandom
- Shared secret naming
- Dockerfile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incentive-system.