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

Proving draft #347

Draft
wants to merge 76 commits into
base: main
Choose a base branch
from
Draft

Proving draft #347

wants to merge 76 commits into from

Conversation

fchirica
Copy link
Contributor

No description provided.

@fchirica fchirica closed this Mar 3, 2023
@fchirica fchirica reopened this Mar 3, 2023
// Given a challenge, returns a quality string, which is sha256(challenge + 2 adjecent x
// values), from the 64 value proof. Note that this is more efficient than fetching all 64 x
// values, which are in different parts of the disk.
std::vector<LargeBits> GetQualitiesForChallenge(const uint8_t* challenge)
{
std::vector<LargeBits> qualities;

std::lock_guard<std::mutex> l(_mtx);
uint32_t p7_entries_size = 0;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does p7_entries_size actually get used anywhere?

@github-actions
Copy link

'This PR has been flagged as stale due to no activity for over 60
days. It will not be automatically closed, but it has been given
a stale-pr label and should be manually reviewed.'

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

Successfully merging this pull request may close these issues.

None yet

5 participants