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 ¶
Click to show internal directories.
Click to hide internal directories.