proofset

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: Apache-2.0, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const EpochTimeSeconds = 30

Variables

View Source
var (
	Cmd = &cobra.Command{
		Use:     "proofset",
		Aliases: []string{"ps"},
		Short:   "Interact with PDP proof-set(s)",
	}
)
View Source
var (
	CreateCmd = &cobra.Command{
		Use:   "create",
		Short: "Create a proofset",
		Args:  cobra.NoArgs,
		RunE:  doCreate,
	}
)
View Source
var (
	GetCmd = &cobra.Command{
		Use:     "get",
		Aliases: []string{"g"},
		Short:   "Get metadata on proof set",
		Args:    cobra.NoArgs,
		RunE:    doGet,
	}
)
View Source
var (
	ListCmd = &cobra.Command{
		Use:   "list",
		Short: "List all proof sets",
		Args:  cobra.NoArgs,
		RunE:  doList,
	}
)
View Source
var (
	RepairCmd = &cobra.Command{
		Use:   "repair",
		Short: "Repair a proof set by reconciling stuck roots with on-chain state",
		Long: `Repair a proof set by comparing on-chain state with the database.

This command fetches all active pieces from the blockchain contract and compares
them with the roots stored in the database. Any pieces that exist on-chain but
are missing from the database (due to Lotus state loss or other issues) will be
repaired using metadata from pending root additions.

Use this command when the PDP proving pipeline is stuck because roots were added
to the blockchain but never recorded in the database.`,
		Args: cobra.NoArgs,
		RunE: doRepair,
	}
)
View Source
var (
	StateCmd = &cobra.Command{
		Use:   "state",
		Short: "Get state of a proof set",
		Args:  cobra.NoArgs,
		RunE:  doState,
	}
)
View Source
var (
	StatusCmd = &cobra.Command{
		Use:   "status",
		Short: "Check on progress of proofset creation",
		Args:  cobra.NoArgs,
		RunE:  doStatus,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL