Skip to content

Conversation

arajasek
Copy link
Contributor

@arajasek arajasek commented Apr 5, 2023

  • Add necessary CGO constants
  • Refactor toFilPublicReplicaInfo:
    • For Winning PoSt, maintain previous behaviour
    • For Window PoSt, we no longer have a function mapping SealProof to PoSt proof, so simply use the PoSt type supplied. Note that this method is only used by miners locally to sanity check their proofs, so weakening security is acceptable here (you can only "attack" yourself).

@arajasek arajasek requested a review from cryptonemo April 5, 2023 19:13
Copy link
Contributor

@cryptonemo cryptonemo left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@arajasek arajasek merged commit cec06f7 into master Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants