Registry / utility / filecoin-project-go-paramfetch

filecoin-project-go-paramfetch

JSON →
library0.0.4gogounverified

Downloads and verifies Filecoin proving parameters for use in Filecoin node operations.

go get github.com/filecoin-project/go-paramfetch
INSTALL
IMPORT
SIG · FILECOIN-PROJECT-G
F
filecoin-project-go-paramfetch
utilitygov0.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

paramfetch
github.com/filecoin-project/go-paramfetch

Fetch Filecoin proving parameters for a given sector size.

package main import ( "fmt" "github.com/filecoin-project/go-paramfetch" ) func main() { err := paramfetch.GetParams(context.Background(), paramfetch.ProofParams{ SectorSize: 1024, }) if err != nil { fmt.Println("Error:", err) } }
Debug
Known issues
gotchaDownloading parameters can be very large (multiple GB) and time-consuming.
fix
Ensure sufficient disk space and a stable internet connection before calling GetParams.
affects: all
Upgrade
Version history
0.0.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
filecoin-project-go-paramfetch — go get filecoin-project-go-paramfetch · libregistry