Documentation ¶
Overview ¶
This is a wrapper around the FFI functions that allows them to be called by reflection. For the Curio GPU selector, see lib/ffiselect/ffiselect.go.
Index ¶
- type FFI
- func (FFI) EncodeInto(proofType abi.RegisteredUpdateProof, newReplicaPath string, ...) (out storiface.SectorCids, err error)
- func (FFI) GenerateSinglePartitionWindowPoStWithVanilla(proofType abi.RegisteredPoStProof, minerID abi.ActorID, ...) (*ffi.PartitionProof, error)
- func (FFI) GenerateUpdateProofWithVanilla(proofType abi.RegisteredUpdateProof, key, sealed, unsealed cid.Cid, ...) ([]byte, error)
- func (FFI) GenerateWinningPoStWithVanilla(proofType abi.RegisteredPoStProof, minerID abi.ActorID, ...) ([]proof.PoStProof, error)
- func (FFI) SealCommitPhase2(phase1Output []byte, sectorNum abi.SectorNumber, minerID abi.ActorID) ([]byte, error)
- func (FFI) SealPreCommitPhase2(phase1Output []byte, cacheDirPath string, sealedSectorPath string) (out storiface.SectorCids, err error)
- func (FFI) SelfTest(val1 int, val2 cid.Cid) (cid.Cid, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FFI ¶
type FFI struct{}
This allow reflection access to the FFI functions.
func (FFI) EncodeInto ¶ added in v1.23.0
func (FFI) GenerateSinglePartitionWindowPoStWithVanilla ¶
func (FFI) GenerateSinglePartitionWindowPoStWithVanilla( proofType abi.RegisteredPoStProof, minerID abi.ActorID, randomness abi.PoStRandomness, proofs [][]byte, partitionIndex uint, ) (*ffi.PartitionProof, error)
func (FFI) GenerateUpdateProofWithVanilla ¶ added in v1.23.0
func (FFI) GenerateWinningPoStWithVanilla ¶
func (FFI) SealCommitPhase2 ¶
func (FFI) SealPreCommitPhase2 ¶
Click to show internal directories.
Click to hide internal directories.