workspace

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Workspace

type Workspace interface {
	Build() error
	RemoveAndBuild() error
	GetRootDir() string
	GetFileDir() string
	GetReportDir() string
	GetTmpDir() string
	GetDbDir() string
	GetLogDir() string
	GetSpaceDir() string
	GetPoisDir() string
	GetPoisAccDir() string
	GetChallRndomDir() string
	GetPodr2Key() string
	GetIdleProve() string
	GetServiceProve() string
	SaveIdleProve(idleProofRecord common.IdleProofInfo) error
	LoadIdleProve() (common.IdleProofInfo, error)
	SaveServiceProve(serviceProofRecord common.ServiceProofInfo) error
	LoadServiceProve() (common.ServiceProofInfo, error)
	SaveChallRandom(
		challStart uint32,
		randomIndexList []types.U32,
		randomList []chain.Random,
	) error
}

func NewWorkspace

func NewWorkspace(ws string) Workspace

Jump to

Keyboard shortcuts

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