-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Bring proof gen to fat clients #929
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
base: main
Are you sure you want to change the base?
Conversation
.map_err(|e| eyre::eyre!("Failed to create polynomial grid: {:?}", e))?; | ||
|
||
let proofs = cells | ||
.into_par_iter() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we okay with mixing rayon thread pool with tokio async tasks? Should we use tokio tasks to parallelise?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure will switch to tokio tasks
@@ -40,6 +40,7 @@ libp2p = { version = "0.56.0", features = ["kad", "identify", "ping", "autonat", | |||
libp2p-allow-block-list = "0.6.0" | |||
libp2p-webrtc-websys = "0.4.0" | |||
multihash = { version = "0.14.0", default-features = false, features = ["blake3", "sha3"] } | |||
rayon = "1.11.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is only related to the multiproof feature, can we somehow exclude it when feature is not enabled?
kate = { workspace = true, default-features = true } | ||
kate-recovery = { workspace = true, default-features = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as for rayon dependency.
No description provided.