Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random piece of data #16

Open
jacksoom opened this issue Sep 29, 2021 · 0 comments
Open

Random piece of data #16

jacksoom opened this issue Sep 29, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jacksoom
Copy link
Contributor

jacksoom commented Sep 29, 2021

In the previous version. the reveal data part is fixed. it also means that the path of the Merkle tree included proof is fixed. Which allows the publisher to easily cheat(the publisher only needs to ensure the correctness of the fixed reveal part).
So we introduce an external oracle machine here to ensure that the reveal part of data by users is random, and increase the number of the random data pieces. Publisher calls the contract Create item function. and the function will call an external oracle and generate three indpendent paths for the pieces data proof as publish input

@jacksoom jacksoom added the enhancement New feature or request label Sep 29, 2021
@jacksoom jacksoom self-assigned this Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant