Versions in this module Expand all Collapse all v0 v0.8.2 Feb 18, 2025 Changes in this version type IdleProofInfo + CanSubmintProof bool + CanSubmintResult bool v0.8.1 Jan 22, 2025 Changes in this version + const ERR_EmptyHashName + const ERR_FragmentHash + const ERR_FragmentNotMatchFid + const ERR_FragmentSize + const ERR_HashLength + const ERR_InvalidRangeEnd + const ERR_InvalidRangeStart + const ERR_InvalidRangeTotal + const ERR_InvalidRangeValue + const ERR_InvalidSignature + const ERR_NotFound + const ERR_RPCConnection + const ERR_SystemErr + const Header_Account + const Header_ContentType + const Header_Fid + const Header_Fragment + const Header_Message + const Header_Range + const Header_Signature + const Header_X_Forwarded_For + const OK + func ReturnJSON(c *gin.Context, code int, msg string, data any) + type FileBlockProofInfo struct + FileBlockFront int64 + FileBlockRear int64 + ProofHashSign []byte + ProofHashSignOrigin []byte + SpaceProof *pb.SpaceProof + type IdleProofInfo struct + Acc []byte + AllocatedTeeWorkpuk chain.WorkerPublicKey + BlocksProof []*pb.BlocksProof + ChainFront int64 + ChainRear int64 + ChallRandom []int64 + FileBlockProofInfo []FileBlockProofInfo + IdleProof []types.U8 + IdleResult bool + Start uint32 + SubmintProof bool + SubmintResult bool + TotalSignature []byte + type RandomList struct + Index []uint32 + Random [][]byte + type RespType struct + Code int + Data any + Msg string + type ServiceProofInfo struct + BloomFilter chain.BloomFilter + CanSubmitProof bool + CanSubmitResult bool + Proof []types.U8 + Result bool + SignatureHex string + Start uint32 + TeePublicKey chain.WorkerPublicKey