Closed DrPeterVanNostrand closed 1 year ago
Hi @magik6k, if you have a chance, could you offer any feedback on this key retrieval API from a Lotus perspective?
Is retrieving a range of nodes from the sector update key sufficient, or would a different API be better for Lotus? I remember that you mentioned using file descriptors to retrieve keys, however that would require quite a bit of API refactoring.
Replaced by PR #1687
This PR adds:
SealPreCommitPhase1Output::sealing_key_path
- returns path to "sealing key" (i.e. last layer)SealPreCommitPhase1Output::read_sealing_key_range
- returns a range of nodes of the sealing keyfilecoin_proofs::api::update::read_sector_key_range
- returns a range of nodes of the "sector update key" (i.e. the originally sealed sector, also called "old replica" within the context of sector updating)Closes #1666 (and relates to #1667)