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

Speeding up Proof-of-Replication (via space-tradeoffs) #95

Closed
nicola opened this issue Mar 11, 2019 · 6 comments
Closed

Speeding up Proof-of-Replication (via space-tradeoffs) #95

nicola opened this issue Mar 11, 2019 · 6 comments

Comments

@nicola
Copy link
Contributor

@nicola nicola commented Mar 11, 2019

Background on PoRep

Proof of Replication is divided in two phases: an offline phase and an online phase.

During the offline (or setup) phase, the prover generates a slow encoding of the data and a proof that the encoding was performed correctly. During the online phase, the prover generates a proof that they are still storing the encoded data.

The speed of replication has both impact on security and scalability.

Why is replication speed important for scalability?

The longer it takes to replicate a fixed unit of storage (say 1GiB), the more computational expensive the computation for the miner.

Why is the replication speed important for security?

The speed of the replication step of PoRep is key to define security in Filecoin. If a malicious prover can replicate much faster than the other nodes, they can attempt generation attacks (generating and replicating data on the spot) and be able to claim more data than they have.

What's next?

So far, we did our best effort to implement the "fastest" replication algorithm, however there is quite some room of improvement both in software and in hardware.

Software wise, there are several areas still to be improved: better parallelization, and exploiting space/time tradeffs.

We have set up the replication game where you can run your algorithm on your hardware and show up on the leaderboard.

@nicola
Copy link
Contributor Author

@nicola nicola commented Jun 7, 2019

relevant: #105

@nicola
Copy link
Contributor Author

@nicola nicola commented May 5, 2020

old issue, closing

@nicola nicola closed this May 5, 2020
@Willian2304
Copy link

@Willian2304 Willian2304 commented Jun 17, 2021

Ok

@Willian2304
Copy link

@Willian2304 Willian2304 commented Jun 17, 2021

#30 open

@Willian2304
Copy link

@Willian2304 Willian2304 commented Jun 17, 2021

@Willian2304
Copy link

@Willian2304 Willian2304 commented Jun 17, 2021

#95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants