Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateSealVerifyInfo ¶
type AggregateSealVerifyInfo struct { Number abi.SectorNumber Randomness abi.SealRandomness InteractiveRandomness abi.InteractiveSealRandomness // Safe because we get those from the miner actor SealedCID cid.Cid `checked:"true"` // CommR UnsealedCID cid.Cid `checked:"true"` // CommD }
type AggregateSealVerifyProofAndInfos ¶
type AggregateSealVerifyProofAndInfos struct { Miner abi.ActorID SealProof abi.RegisteredSealProof AggregateProof abi.RegisteredAggregationProof Proof []byte Infos []AggregateSealVerifyInfo }
type ExtendedSectorInfo ¶
type ExtendedSectorInfo struct { SealProof abi.RegisteredSealProof // RegisteredProof used when sealing - needs to be mapped to PoSt registered proof when used to verify a PoSt SectorNumber abi.SectorNumber SectorKey *cid.Cid SealedCID cid.Cid // CommR }
func (*ExtendedSectorInfo) MarshalCBOR ¶
func (t *ExtendedSectorInfo) MarshalCBOR(w io.Writer) error
func (*ExtendedSectorInfo) UnmarshalCBOR ¶
func (t *ExtendedSectorInfo) UnmarshalCBOR(r io.Reader) error
type PoStProof ¶
type PoStProof struct { PoStProof abi.RegisteredPoStProof ProofBytes []byte }
type ReplicaUpdateInfo ¶
type ReplicaUpdateInfo struct { UpdateProofType abi.RegisteredUpdateProof OldSealedSectorCID cid.Cid NewSealedSectorCID cid.Cid NewUnsealedSectorCID cid.Cid Proof []byte }
type SealVerifyInfo ¶
type SealVerifyInfo struct { SealProof abi.RegisteredSealProof abi.SectorID DealIDs []abi.DealID Randomness abi.SealRandomness InteractiveRandomness abi.InteractiveSealRandomness Proof []byte // Safe because we get those from the miner actor SealedCID cid.Cid `checked:"true"` // CommR UnsealedCID cid.Cid `checked:"true"` // CommD }
func (*SealVerifyInfo) MarshalCBOR ¶
func (t *SealVerifyInfo) MarshalCBOR(w io.Writer) error
func (*SealVerifyInfo) UnmarshalCBOR ¶
func (t *SealVerifyInfo) UnmarshalCBOR(r io.Reader) error
type SectorInfo ¶
type SectorInfo struct { SealProof abi.RegisteredSealProof // RegisteredProof used when sealing - needs to be mapped to PoSt registered proof when used to verify a PoSt SectorNumber abi.SectorNumber SealedCID cid.Cid // CommR }
func (*SectorInfo) MarshalCBOR ¶
func (t *SectorInfo) MarshalCBOR(w io.Writer) error
func (*SectorInfo) UnmarshalCBOR ¶
func (t *SectorInfo) UnmarshalCBOR(r io.Reader) error
type WindowPoStVerifyInfo ¶
type WindowPoStVerifyInfo struct { Randomness abi.PoStRandomness Proofs []PoStProof ChallengedSectors []SectorInfo Prover abi.ActorID // used to derive 32-byte prover ID }
Information needed to verify a Window PoSt submitted directly to a miner actor.
func (*WindowPoStVerifyInfo) MarshalCBOR ¶
func (t *WindowPoStVerifyInfo) MarshalCBOR(w io.Writer) error
func (*WindowPoStVerifyInfo) UnmarshalCBOR ¶
func (t *WindowPoStVerifyInfo) UnmarshalCBOR(r io.Reader) error
type WinningPoStVerifyInfo ¶
type WinningPoStVerifyInfo struct { Randomness abi.PoStRandomness Proofs []PoStProof ChallengedSectors []SectorInfo Prover abi.ActorID // used to derive 32-byte prover ID }
func (*WinningPoStVerifyInfo) MarshalCBOR ¶
func (t *WinningPoStVerifyInfo) MarshalCBOR(w io.Writer) error
func (*WinningPoStVerifyInfo) UnmarshalCBOR ¶
func (t *WinningPoStVerifyInfo) UnmarshalCBOR(r io.Reader) error
Click to show internal directories.
Click to hide internal directories.