Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions FIPS/fip-0090.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,25 @@ Note that, same as with interactive PoRep, each sector has a `SealRandEpoch` tha
- Introduce a new method `ProveCommitSectorsNI` (method 36), which performs a non-interactive proof for CC sectors, without a preceding PreCommitSector message (ie, this method rejects sectors that were already pre-committed. Such sectors must be activated with one of the existing ProveCommit methods). The method can be used with seal proofs or aggregate proof (but only one option can be chosen per call); the return type is the same as `ProveCommitAggregate`.

```go
// Note no UnsealedCID because it must be "zero" data.
// Note no UnsealedCID because it must be "zero" data.
struct SectorNIActivationInfo {
SectorNumber: SectorNumber,
ReplicaInfo: ReplicaInfo
SealedCID: Cid, // CommR
SealRandEpoch: ChainEpoch,
Expiration: ChainEpoch,
}

// Organize information used in replica id
// Included to avoid breaking change for future SealerActor FIP
struct ReplicaInfo {
// Sector number used to generate replica id
// Must be set to SectorID
SectorNumber: SectorNumber,
// Sector number used as unique id in actor state
SectorID: SectorNumber,
// Must be set to ProviderID
SealerID: ActorID
}

struct ProveCommitSectorsNIParams {
// Information about sealing of each sector.
Expand Down