Versions in this module Expand all Collapse all v1 v1.5.0 Jan 11, 2021 Changes in this version + var StorageChallengeCmd = &cmds.Command + var StorageChallengeResponseCmd = &cmds.Command + type StorageChallenge struct + API coreiface.CoreAPI + CID cid.Cid + CIndex int + Ctx context.Context + Expiration uint64 + Hash string + ID string + Node *core.IpfsNode + Nonce string + RID cid.Cid + SID cid.Cid + func NewStorageChallenge(ctx context.Context, node *core.IpfsNode, api coreiface.CoreAPI, ...) (*StorageChallenge, error) + func NewStorageChallengeResponse(ctx context.Context, node *core.IpfsNode, api coreiface.CoreAPI, ...) (*StorageChallenge, error) + func (sc *StorageChallenge) GenChallenge() error + func (sc *StorageChallenge) SolveChallenge(chIndex int, chNonce string) error + type StorageChallengeRes struct + Answer string + TimeEvaluate []string