Versions in this module Expand all Collapse all v1 v1.24.2 Nov 11, 2024 v1.24.1 Oct 22, 2024 v1.24.0 Oct 21, 2024 v1.23.1 Sep 23, 2024 Changes in this version + const CommPBuf + const NODE_SIZE + func DecodeHasherDomain[H HasherDomain](r io.Reader) (H, error) + func DeriveInteractiveChallenges(challengesPerPartition uint64, sectorNnodes SectorNodes, ReplicaID Commitment, ...) []uint64 + func EncodeLabels(w io.Writer, labels TAuxLabels) error + func EncodeStoreConfig(w io.Writer, sc StoreConfig) error + func EncodeTAux(w io.Writer, taux TemporaryAux) error + func EnsureTauxForType(spt abi.RegisteredSealProof, path string) error + func ProveAllPartitions() + func ProveLayers() + func ReadLE[T any](r io.Reader) (T, error) + func ReadString(r io.Reader) (string, error) + func WriteLE[T any](w io.Writer, data T) error + func WriteString(w io.Writer, s string) error + type Column struct + H any + Index uint32 + Rows []H + func DecodeColumn[H HasherDomain](r io.Reader) (Column[H], error) + type ColumnProof struct + Column Column[H] + InclusionProof MerkleProof[H] + func DecodeColumnProof[H HasherDomain](r io.Reader) (ColumnProof[H], error) + type Commit1OutRaw struct + CommD Commitment + CommR Commitment + RegisteredProof StringRegisteredProofType + ReplicaID Commitment + Seed Ticket + Ticket Ticket + VanillaProofs map[StringRegisteredProofType][][]VanillaStackedProof + func DecodeCommit1OutRaw(r io.Reader) (Commit1OutRaw, error) + type Commitment [32]byte + func DecodeCommitment(r io.Reader) (Commitment, error) + type DataCIDSize struct + PayloadSize int64 + PieceCID cid.Cid + PieceSize abi.PaddedPieceSize + type DataCidWriter struct + func (w *DataCidWriter) Sum() (DataCIDSize, error) + func (w *DataCidWriter) Write(p []byte) (int, error) + type EncodingProof struct + LayerIndex uint32 + Node uint64 + Parents []H + func DecodeEncodingProof[H HasherDomain](r io.Reader) (EncodingProof[H], error) + type HasherDomain = any + type InclusionPath struct + Path []PathElement[H] + func DecodeInclusionPath[H HasherDomain](r io.Reader) (InclusionPath[H], error) + type Label struct + ID string + Path string + RowsToDiscard int + Size int + type LabelingProof struct + LayerIndex uint32 + Node uint64 + Parents []H + func DecodeLabelingProof[H HasherDomain](r io.Reader) (LabelingProof[H], error) + type Labels struct + H any + Labels []Label + type MerkleProof struct + Data ProofData[H] + func DecodeMerkleProof[H HasherDomain](r io.Reader) (MerkleProof[H], error) + type PathElement struct + Hashes []H + Index uint64 + func DecodePathElement[H HasherDomain](r io.Reader) (PathElement[H], error) + type PoseidonDomain [32]byte + type PreCommit1OutRaw struct + CommD Commitment + Config Label + Labels map[StringRegisteredProofType]Labels + LotusSealRand []byte + RegisteredProof StringRegisteredProofType + type ProofData struct + Single *SingleProof[H] + Sub *SubProof[H] + Top *TopProof[H] + func DecodeProofData[H HasherDomain](r io.Reader) (ProofData[H], error) + type ReplicaColumnProof struct + C_X ColumnProof[H] + DrgParents []ColumnProof[H] + ExpParents []ColumnProof[H] + func DecodeReplicaColumnProof[H HasherDomain](r io.Reader) (ReplicaColumnProof[H], error) + type SectorNodes uint64 + type Sha256Domain [32]byte + type SingleProof struct + Leaf H + Path InclusionPath[H] + Root H + func DecodeSingleProof[H HasherDomain](r io.Reader) (SingleProof[H], error) + type StoreConfig struct + ID string + Path string + RowsToDiscard uint64 + Size *uint64 + func DecodeStoreConfig(r io.Reader) (StoreConfig, error) + type StringRegisteredProofType string + type SubProof struct + BaseProof InclusionPath[H] + Leaf H + Root H + SubProof InclusionPath[H] + func DecodeSubProof[H HasherDomain](r io.Reader) (SubProof[H], error) + type TAuxLabels struct + Labels []StoreConfig + func DecodeLabels(r io.Reader) (*TAuxLabels, error) + type TemporaryAux struct + Labels TAuxLabels + TreeCConfig StoreConfig + TreeDConfig StoreConfig + TreeRConfig StoreConfig + func DecodeTAux(r io.Reader) (*TemporaryAux, error) + type Ticket [32]byte + func DecodeTicket(r io.Reader) (Ticket, error) + type TopProof struct + BaseProof InclusionPath[H] + Leaf H + Root H + SubProof InclusionPath[H] + TopProof InclusionPath[H] + func DecodeTopProof[H HasherDomain](r io.Reader) (TopProof[H], error) + type VanillaStackedProof struct + CommDProofs MerkleProof[Sha256Domain] + CommRLastProof MerkleProof[PoseidonDomain] + EncodingProof EncodingProof[PoseidonDomain] + LabelingProofs []LabelingProof[PoseidonDomain] + ReplicaColumnProofs ReplicaColumnProof[PoseidonDomain] + func DecodeVanillaStackedProof(r io.Reader) (VanillaStackedProof, error) v1.23.0 Jul 29, 2024 v1.22.1 Jul 15, 2024 v1.22.0 Jun 12, 2024 Changes in this version + func BuildTreeD(data io.Reader, unpaddedData bool, outPath string, size abi.PaddedPieceSize) (_ cid.Cid, err error)