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
Subspace v1 #1
Subspace v1 #1
Conversation
…p with upcoming refactoring
…ector to file once at the very end
…alled from multiple threads
This PR is not meant to be merged, this is just for review purposes |
fn basic() { | ||
let table = Table::generate(&SEED); | ||
|
||
assert!(table.find_quality(0).is_none()); |
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.
A minor question: does quality/proof never exist for challenge_index = 0
, or is it a coincidence? I'd add a note to the spec to have start_index
and s-bucket numeration start at 1 or be one-off
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.
Have not tried other seeds, why does it matter?
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.
Pedantry, mostly. If the table never has an entry at 0, it makes no sense to query for 0 for every record. According to design doc it should exist. This is not a concern for this PR just some minor thing to check.
Looks good to me functionality-wise |
a8ac93f
to
cf37dca
Compare
Please take a look whether you see any major issues.
CI is happy, will start testing in monorepo now.