diff --git a/protos/guard/guard.pb.go b/protos/guard/guard.pb.go index b96e323..932c33a 100644 --- a/protos/guard/guard.pb.go +++ b/protos/guard/guard.pb.go @@ -168,8 +168,8 @@ func (FileStoreStatus_MetaState) EnumDescriptor() ([]byte, []int) { type Log struct { ChangeTime *types.Timestamp `protobuf:"bytes,1,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty" pg:"change_time"` - ChangeOriginator []byte `protobuf:"bytes,2,opt,name=change_originator,json=changeOriginator,proto3" json:"change_originator,omitempty" pg:"change_originator"` - Change []byte `protobuf:"bytes,3,opt,name=change,proto3" json:"change,omitempty" pg:"change"` + OriginatorPid string `protobuf:"bytes,2,opt,name=originator_pid,json=originatorPid,proto3" json:"originator_pid,omitempty" pg:"originator_pid"` + Change string `protobuf:"bytes,3,opt,name=change,proto3" json:"change,omitempty" pg:"change"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` @@ -215,18 +215,18 @@ func (m *Log) GetChangeTime() *types.Timestamp { return nil } -func (m *Log) GetChangeOriginator() []byte { +func (m *Log) GetOriginatorPid() string { if m != nil { - return m.ChangeOriginator + return m.OriginatorPid } - return nil + return "" } -func (m *Log) GetChange() []byte { +func (m *Log) GetChange() string { if m != nil { return m.Change } - return nil + return "" } func (*Log) XXX_MessageName() string { @@ -241,17 +241,17 @@ func (*Log) XXX_MessageName() string { //Contract technically is the contract execution record, it contains the contractMeta and state information type ContractMeta struct { //Contract proposed by renter, will not be changed after renter proposed - ContractId []byte `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` - RenterAddress []byte `protobuf:"bytes,2,opt,name=renter_address,json=renterAddress,proto3" json:"renter_address,omitempty" pg:"renter_address"` - HostAddress []byte `protobuf:"bytes,3,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty" pg:"host_address"` - ShardHash []byte `protobuf:"bytes,4,opt,name=shard_hash,json=shardHash,proto3" json:"shard_hash,omitempty" pg:"shard_hash"` + ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` + RenterPid string `protobuf:"bytes,2,opt,name=renter_pid,json=renterPid,proto3" json:"renter_pid,omitempty" pg:"renter_pid"` + HostPid string `protobuf:"bytes,3,opt,name=host_pid,json=hostPid,proto3" json:"host_pid,omitempty" pg:"host_pid"` + ShardHash string `protobuf:"bytes,4,opt,name=shard_hash,json=shardHash,proto3" json:"shard_hash,omitempty" pg:"shard_hash"` ShardIndex int32 `protobuf:"varint,5,opt,name=shard_index,json=shardIndex,proto3" json:"shard_index,omitempty" pg:"shard_index"` ShardFileSize int64 `protobuf:"varint,6,opt,name=shard_file_size,json=shardFileSize,proto3" json:"shard_file_size,omitempty" pg:"shard_file_size"` - FileHash []byte `protobuf:"bytes,7,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` + FileHash string `protobuf:"bytes,7,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` RentStart time.Time `protobuf:"bytes,8,opt,name=rent_start,json=rentStart,proto3,stdtime" json:"rent_start" pg:"rent_start"` RentEnd time.Time `protobuf:"bytes,9,opt,name=rent_end,json=rentEnd,proto3,stdtime" json:"rent_end" pg:"rent_end"` - GuardAddress []byte `protobuf:"bytes,10,opt,name=guard_address,json=guardAddress,proto3" json:"guard_address,omitempty" pg:"guard_address"` - EscrowAddress []byte `protobuf:"bytes,11,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` + GuardPid string `protobuf:"bytes,10,opt,name=guard_pid,json=guardPid,proto3" json:"guard_pid,omitempty" pg:"guard_pid"` + EscrowPid string `protobuf:"bytes,11,opt,name=escrow_pid,json=escrowPid,proto3" json:"escrow_pid,omitempty" pg:"escrow_pid"` Price int64 `protobuf:"varint,12,opt,name=price,proto3" json:"price,omitempty" pg:"price"` Amount int64 `protobuf:"varint,13,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` CollateralAmount int64 `protobuf:"varint,14,opt,name=collateral_amount,json=collateralAmount,proto3" json:"collateral_amount,omitempty" pg:"collateral_amount"` @@ -295,32 +295,32 @@ func (m *ContractMeta) XXX_DiscardUnknown() { var xxx_messageInfo_ContractMeta proto.InternalMessageInfo -func (m *ContractMeta) GetContractId() []byte { +func (m *ContractMeta) GetContractId() string { if m != nil { return m.ContractId } - return nil + return "" } -func (m *ContractMeta) GetRenterAddress() []byte { +func (m *ContractMeta) GetRenterPid() string { if m != nil { - return m.RenterAddress + return m.RenterPid } - return nil + return "" } -func (m *ContractMeta) GetHostAddress() []byte { +func (m *ContractMeta) GetHostPid() string { if m != nil { - return m.HostAddress + return m.HostPid } - return nil + return "" } -func (m *ContractMeta) GetShardHash() []byte { +func (m *ContractMeta) GetShardHash() string { if m != nil { return m.ShardHash } - return nil + return "" } func (m *ContractMeta) GetShardIndex() int32 { @@ -337,11 +337,11 @@ func (m *ContractMeta) GetShardFileSize() int64 { return 0 } -func (m *ContractMeta) GetFileHash() []byte { +func (m *ContractMeta) GetFileHash() string { if m != nil { return m.FileHash } - return nil + return "" } func (m *ContractMeta) GetRentStart() time.Time { @@ -358,18 +358,18 @@ func (m *ContractMeta) GetRentEnd() time.Time { return time.Time{} } -func (m *ContractMeta) GetGuardAddress() []byte { +func (m *ContractMeta) GetGuardPid() string { if m != nil { - return m.GuardAddress + return m.GuardPid } - return nil + return "" } -func (m *ContractMeta) GetEscrowAddress() []byte { +func (m *ContractMeta) GetEscrowPid() string { if m != nil { - return m.EscrowAddress + return m.EscrowPid } - return nil + return "" } func (m *ContractMeta) GetPrice() int64 { @@ -529,8 +529,8 @@ func (*Contract) XXX_MessageName() string { type FileStoreMeta struct { //file store meta prepared by renter, will not changed after proposal - RenterAddress []byte `protobuf:"bytes,1,opt,name=renter_address,json=renterAddress,proto3" json:"renter_address,omitempty" pg:"renter_address"` - FileHash []byte `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` + RenterPid string `protobuf:"bytes,1,opt,name=renter_pid,json=renterPid,proto3" json:"renter_pid,omitempty" pg:"renter_pid"` + FileHash string `protobuf:"bytes,2,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` FileSize int64 `protobuf:"varint,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty" pg:"file_size"` RentStart time.Time `protobuf:"bytes,4,opt,name=rent_start,json=rentStart,proto3,stdtime" json:"rent_start" pg:"rent_start"` RentEnd time.Time `protobuf:"bytes,5,opt,name=rent_end,json=rentEnd,proto3,stdtime" json:"rent_end" pg:"rent_end"` @@ -540,8 +540,8 @@ type FileStoreMeta struct { ShardCount int32 `protobuf:"varint,9,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty" pg:"shard_count"` MinimumShards int32 `protobuf:"varint,10,opt,name=minimum_shards,json=minimumShards,proto3" json:"minimum_shards,omitempty" pg:"minimum_shards"` RecoverThreshold int32 `protobuf:"varint,11,opt,name=recover_threshold,json=recoverThreshold,proto3" json:"recover_threshold,omitempty" pg:"recover_threshold"` - EscrowAddress []byte `protobuf:"bytes,12,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` - GuardAddress []byte `protobuf:"bytes,13,opt,name=guard_address,json=guardAddress,proto3" json:"guard_address,omitempty" pg:"guard_address"` + EscrowPid string `protobuf:"bytes,12,opt,name=escrow_pid,json=escrowPid,proto3" json:"escrow_pid,omitempty" pg:"escrow_pid"` + GuardPid string `protobuf:"bytes,13,opt,name=guard_pid,json=guardPid,proto3" json:"guard_pid,omitempty" pg:"guard_pid"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` @@ -580,18 +580,18 @@ func (m *FileStoreMeta) XXX_DiscardUnknown() { var xxx_messageInfo_FileStoreMeta proto.InternalMessageInfo -func (m *FileStoreMeta) GetRenterAddress() []byte { +func (m *FileStoreMeta) GetRenterPid() string { if m != nil { - return m.RenterAddress + return m.RenterPid } - return nil + return "" } -func (m *FileStoreMeta) GetFileHash() []byte { +func (m *FileStoreMeta) GetFileHash() string { if m != nil { return m.FileHash } - return nil + return "" } func (m *FileStoreMeta) GetFileSize() int64 { @@ -657,18 +657,18 @@ func (m *FileStoreMeta) GetRecoverThreshold() int32 { return 0 } -func (m *FileStoreMeta) GetEscrowAddress() []byte { +func (m *FileStoreMeta) GetEscrowPid() string { if m != nil { - return m.EscrowAddress + return m.EscrowPid } - return nil + return "" } -func (m *FileStoreMeta) GetGuardAddress() []byte { +func (m *FileStoreMeta) GetGuardPid() string { if m != nil { - return m.GuardAddress + return m.GuardPid } - return nil + return "" } func (*FileStoreMeta) XXX_MessageName() string { @@ -682,7 +682,7 @@ type FileStoreStatus struct { RenterSignature []byte `protobuf:"bytes,4,opt,name=renter_signature,json=renterSignature,proto3" json:"renter_signature,omitempty" pg:"renter_signature"` GuardReceiveTime time.Time `protobuf:"bytes,5,opt,name=guard_receive_time,json=guardReceiveTime,proto3,stdtime" json:"guard_receive_time" pg:"guard_receive_time"` ChangeLog []*Log `protobuf:"bytes,6,rep,name=change_log,json=changeLog,proto3" json:"change_log,omitempty" pg:"change_log"` - CurentTime time.Time `protobuf:"bytes,7,opt,name=curent_time,json=curentTime,proto3,stdtime" json:"curent_time" pg:"curent_time"` + CurrentTime time.Time `protobuf:"bytes,7,opt,name=current_time,json=currentTime,proto3,stdtime" json:"current_time" pg:"current_time"` GuardSignature []byte `protobuf:"bytes,8,opt,name=guard_signature,json=guardSignature,proto3" json:"guard_signature,omitempty" pg:"guard_signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` @@ -764,9 +764,9 @@ func (m *FileStoreStatus) GetChangeLog() []*Log { return nil } -func (m *FileStoreStatus) GetCurentTime() time.Time { +func (m *FileStoreStatus) GetCurrentTime() time.Time { if m != nil { - return m.CurentTime + return m.CurrentTime } return time.Time{} } @@ -783,11 +783,11 @@ func (*FileStoreStatus) XXX_MessageName() string { } type ChallengeQuestion struct { - ShardHash []byte `protobuf:"bytes,1,opt,name=shard_hash,json=shardHash,proto3" json:"shard_hash,omitempty" pg:"shard_hash"` - HostAddress []byte `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty" pg:"host_address"` + ShardHash string `protobuf:"bytes,1,opt,name=shard_hash,json=shardHash,proto3" json:"shard_hash,omitempty" pg:"shard_hash"` + HostPid string `protobuf:"bytes,2,opt,name=host_pid,json=hostPid,proto3" json:"host_pid,omitempty" pg:"host_pid"` ChunkIndex int32 `protobuf:"varint,3,opt,name=chunk_index,json=chunkIndex,proto3" json:"chunk_index,omitempty" pg:"chunk_index"` - RandomNonce []byte `protobuf:"bytes,4,opt,name=random_nonce,json=randomNonce,proto3" json:"random_nonce,omitempty" pg:"random_nonce"` - ExpectAnswer []byte `protobuf:"bytes,5,opt,name=expect_answer,json=expectAnswer,proto3" json:"expect_answer,omitempty" pg:"expect_answer"` + Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty" pg:"nonce"` + ExpectAnswer string `protobuf:"bytes,5,opt,name=expect_answer,json=expectAnswer,proto3" json:"expect_answer,omitempty" pg:"expect_answer"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` @@ -826,18 +826,18 @@ func (m *ChallengeQuestion) XXX_DiscardUnknown() { var xxx_messageInfo_ChallengeQuestion proto.InternalMessageInfo -func (m *ChallengeQuestion) GetShardHash() []byte { +func (m *ChallengeQuestion) GetShardHash() string { if m != nil { return m.ShardHash } - return nil + return "" } -func (m *ChallengeQuestion) GetHostAddress() []byte { +func (m *ChallengeQuestion) GetHostPid() string { if m != nil { - return m.HostAddress + return m.HostPid } - return nil + return "" } func (m *ChallengeQuestion) GetChunkIndex() int32 { @@ -847,18 +847,18 @@ func (m *ChallengeQuestion) GetChunkIndex() int32 { return 0 } -func (m *ChallengeQuestion) GetRandomNonce() []byte { +func (m *ChallengeQuestion) GetNonce() string { if m != nil { - return m.RandomNonce + return m.Nonce } - return nil + return "" } -func (m *ChallengeQuestion) GetExpectAnswer() []byte { +func (m *ChallengeQuestion) GetExpectAnswer() string { if m != nil { return m.ExpectAnswer } - return nil + return "" } func (*ChallengeQuestion) XXX_MessageName() string { @@ -868,9 +868,9 @@ func (*ChallengeQuestion) XXX_MessageName() string { type ProofOfReplicateChallenge struct { Question *ChallengeQuestion `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty" pg:"question"` ChallengeTime time.Time `protobuf:"bytes,2,opt,name=challenge_time,json=challengeTime,proto3,stdtime" json:"challenge_time" pg:"challenge_time"` - GuardAddress []byte `protobuf:"bytes,3,opt,name=guard_address,json=guardAddress,proto3" json:"guard_address,omitempty" pg:"guard_address"` + GuardPid string `protobuf:"bytes,3,opt,name=guard_pid,json=guardPid,proto3" json:"guard_pid,omitempty" pg:"guard_pid"` GuardSignature []byte `protobuf:"bytes,4,opt,name=guard_signature,json=guardSignature,proto3" json:"guard_signature,omitempty" pg:"guard_signature"` - HostAnswer []byte `protobuf:"bytes,5,opt,name=host_answer,json=hostAnswer,proto3" json:"host_answer,omitempty" pg:"host_answer"` + HostAnswer string `protobuf:"bytes,5,opt,name=host_answer,json=hostAnswer,proto3" json:"host_answer,omitempty" pg:"host_answer"` HostSignTime time.Time `protobuf:"bytes,6,opt,name=host_sign_time,json=hostSignTime,proto3,stdtime" json:"host_sign_time" pg:"host_sign_time"` HostSignature []byte `protobuf:"bytes,7,opt,name=host_signature,json=hostSignature,proto3" json:"host_signature,omitempty" pg:"host_signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` @@ -925,11 +925,11 @@ func (m *ProofOfReplicateChallenge) GetChallengeTime() time.Time { return time.Time{} } -func (m *ProofOfReplicateChallenge) GetGuardAddress() []byte { +func (m *ProofOfReplicateChallenge) GetGuardPid() string { if m != nil { - return m.GuardAddress + return m.GuardPid } - return nil + return "" } func (m *ProofOfReplicateChallenge) GetGuardSignature() []byte { @@ -939,11 +939,11 @@ func (m *ProofOfReplicateChallenge) GetGuardSignature() []byte { return nil } -func (m *ProofOfReplicateChallenge) GetHostAnswer() []byte { +func (m *ProofOfReplicateChallenge) GetHostAnswer() string { if m != nil { return m.HostAnswer } - return nil + return "" } func (m *ProofOfReplicateChallenge) GetHostSignTime() time.Time { @@ -965,7 +965,7 @@ func (*ProofOfReplicateChallenge) XXX_MessageName() string { } type FileChallengeQuestions struct { - FileHash []byte `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` + FileHash string `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` ShardQuestions []*ShardChallengeQuestions `protobuf:"bytes,2,rep,name=shard_questions,json=shardQuestions,proto3" json:"shard_questions,omitempty" pg:"shard_questions"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` @@ -1005,11 +1005,11 @@ func (m *FileChallengeQuestions) XXX_DiscardUnknown() { var xxx_messageInfo_FileChallengeQuestions proto.InternalMessageInfo -func (m *FileChallengeQuestions) GetFileHash() []byte { +func (m *FileChallengeQuestions) GetFileHash() string { if m != nil { return m.FileHash } - return nil + return "" } func (m *FileChallengeQuestions) GetShardQuestions() []*ShardChallengeQuestions { @@ -1024,9 +1024,9 @@ func (*FileChallengeQuestions) XXX_MessageName() string { } type ShardChallengeQuestions struct { - FileHash []byte `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` - ShardHash []byte `protobuf:"bytes,2,opt,name=shard_hash,json=shardHash,proto3" json:"shard_hash,omitempty" pg:"shard_hash"` - PreparerAddress []byte `protobuf:"bytes,3,opt,name=preparer_address,json=preparerAddress,proto3" json:"preparer_address,omitempty" pg:"preparer_address"` + FileHash string `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` + ShardHash string `protobuf:"bytes,2,opt,name=shard_hash,json=shardHash,proto3" json:"shard_hash,omitempty" pg:"shard_hash"` + PreparerPid string `protobuf:"bytes,3,opt,name=preparer_pid,json=preparerPid,proto3" json:"preparer_pid,omitempty" pg:"preparer_pid"` QuestionCount int32 `protobuf:"varint,4,opt,name=question_count,json=questionCount,proto3" json:"question_count,omitempty" pg:"question_count"` Questions []*ChallengeQuestion `protobuf:"bytes,5,rep,name=questions,proto3" json:"questions,omitempty" pg:"questions"` PrepareTime time.Time `protobuf:"bytes,6,opt,name=prepare_time,json=prepareTime,proto3,stdtime" json:"prepare_time" pg:"prepare_time"` @@ -1069,25 +1069,25 @@ func (m *ShardChallengeQuestions) XXX_DiscardUnknown() { var xxx_messageInfo_ShardChallengeQuestions proto.InternalMessageInfo -func (m *ShardChallengeQuestions) GetFileHash() []byte { +func (m *ShardChallengeQuestions) GetFileHash() string { if m != nil { return m.FileHash } - return nil + return "" } -func (m *ShardChallengeQuestions) GetShardHash() []byte { +func (m *ShardChallengeQuestions) GetShardHash() string { if m != nil { return m.ShardHash } - return nil + return "" } -func (m *ShardChallengeQuestions) GetPreparerAddress() []byte { +func (m *ShardChallengeQuestions) GetPreparerPid() string { if m != nil { - return m.PreparerAddress + return m.PreparerPid } - return nil + return "" } func (m *ShardChallengeQuestions) GetQuestionCount() int32 { @@ -1123,9 +1123,9 @@ func (*ShardChallengeQuestions) XXX_MessageName() string { } type CheckFileStoreMetaRequest struct { - FileHash []byte `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` - RenterAddress []byte `protobuf:"bytes,2,opt,name=renter_address,json=renterAddress,proto3" json:"renter_address,omitempty" pg:"renter_address"` - RequesterAddress []byte `protobuf:"bytes,3,opt,name=requester_address,json=requesterAddress,proto3" json:"requester_address,omitempty" pg:"requester_address"` + FileHash string `protobuf:"bytes,1,opt,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty" pg:"file_hash"` + RenterPid string `protobuf:"bytes,2,opt,name=renter_pid,json=renterPid,proto3" json:"renter_pid,omitempty" pg:"renter_pid"` + RequesterPid string `protobuf:"bytes,3,opt,name=requester_pid,json=requesterPid,proto3" json:"requester_pid,omitempty" pg:"requester_pid"` RequestTime time.Time `protobuf:"bytes,4,opt,name=request_time,json=requestTime,proto3,stdtime" json:"request_time" pg:"request_time"` Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` @@ -1166,25 +1166,25 @@ func (m *CheckFileStoreMetaRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CheckFileStoreMetaRequest proto.InternalMessageInfo -func (m *CheckFileStoreMetaRequest) GetFileHash() []byte { +func (m *CheckFileStoreMetaRequest) GetFileHash() string { if m != nil { return m.FileHash } - return nil + return "" } -func (m *CheckFileStoreMetaRequest) GetRenterAddress() []byte { +func (m *CheckFileStoreMetaRequest) GetRenterPid() string { if m != nil { - return m.RenterAddress + return m.RenterPid } - return nil + return "" } -func (m *CheckFileStoreMetaRequest) GetRequesterAddress() []byte { +func (m *CheckFileStoreMetaRequest) GetRequesterPid() string { if m != nil { - return m.RequesterAddress + return m.RequesterPid } - return nil + return "" } func (m *CheckFileStoreMetaRequest) GetRequestTime() time.Time { @@ -1308,115 +1308,114 @@ func init() { proto.RegisterFile("protos/guard/guard.proto", fileDescriptor_ad5b func init() { golang_proto.RegisterFile("protos/guard/guard.proto", fileDescriptor_ad5b6eccdc9ebee8) } var fileDescriptor_ad5b6eccdc9ebee8 = []byte{ - // 1721 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00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 0x2d, 0x18, 0x55, 0xad, - 0xa6, 0x1d, 0x95, 0x4e, 0x0f, 0x1a, 0xd2, 0xbc, 0x91, 0x98, 0x37, 0x06, 0x89, 0x39, 0x05, 0x49, - 0x17, 0x00, 0xf9, 0x01, 0xdc, 0x55, 0xc6, 0x3c, 0xf0, 0xc6, 0x9e, 0xef, 0x44, 0x3c, 0xa8, 0x66, - 0x6a, 0xda, 0x91, 0x4e, 0x4d, 0xb9, 0xd1, 0x4f, 0x71, 0x72, 0x1f, 0xf6, 0x24, 0x56, 0xcd, 0x22, - 0x43, 0xad, 0xea, 0x7f, 0xc9, 0x83, 0xde, 0xe2, 0x7e, 0x14, 0x38, 0x6e, 0x74, 0xc9, 0x22, 0x87, - 0x3c, 0x82, 0x92, 0xab, 0xd6, 0xb6, 0x37, 0x44, 0x97, 0x74, 0x0a, 0x09, 0x74, 0x31, 0x24, 0x8f, - 0xa1, 0x1c, 0x30, 0x3f, 0x62, 0x81, 0xed, 0x0c, 0x87, 0x01, 0x0b, 0x43, 0x75, 0xa6, 0x21, 0xd1, - 0xa6, 0x04, 0xc9, 0x47, 0xa0, 0x4f, 0x78, 0x18, 0xa5, 0x24, 0x79, 0x6c, 0x49, 0x60, 0x09, 0xe5, - 0x21, 0x40, 0x38, 0x71, 0x82, 0xa1, 0x3d, 0x71, 0xc2, 0x49, 0x35, 0x87, 0x84, 0x22, 0x22, 0x2f, - 0x9c, 0x70, 0x22, 0x3c, 0x91, 0xdb, 0x9e, 0x3f, 0x64, 0x5f, 0x55, 0xf3, 0x35, 0xed, 0x28, 0x4f, - 0xa5, 0xc5, 0x85, 0x40, 0xc8, 0xf7, 0xa0, 0x22, 0x09, 0x23, 0x6f, 0xca, 0xec, 0xd0, 0xfb, 0x9a, - 0x55, 0xf7, 0x6a, 0xda, 0x51, 0x96, 0x1a, 0x08, 0x9f, 0x79, 0x53, 0x66, 0x79, 0x5f, 0x33, 0xf2, - 0x1d, 0x28, 0x22, 0x03, 0x8f, 0xd9, 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 0x3f, 0x7b, 0xf3, 0xf6, 0x50, 0xfb, 0xeb, 0xdb, 0x43, 0xed, - 0x5f, 0x6f, 0x0f, 0xb5, 0xdf, 0xbd, 0x3b, 0xd4, 0xfe, 0xfc, 0xee, 0x50, 0x7b, 0xf3, 0xee, 0x50, - 0x03, 0xc3, 0xe3, 0x8d, 0x9b, 0x68, 0x14, 0x4a, 0xc3, 0xe7, 0x80, 0x31, 0xb8, 0x12, 0xc9, 0xb9, - 0xd2, 0x7e, 0x21, 0xff, 0x93, 0xe5, 0x66, 0x0f, 0x93, 0xf5, 0xf1, 0x7f, 0x02, 0x00, 0x00, 0xff, - 0xff, 0xff, 0xcf, 0x94, 0xc7, 0x8e, 0x11, 0x00, 0x00, + // 1700 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0x4f, 0x6f, 0xdb, 0xc8, + 0x15, 0x0f, 0x25, 0xd1, 0x16, 0x9f, 0x44, 0x89, 0x99, 0x4d, 0x53, 0xc6, 0xdd, 0x38, 0xae, 0x16, + 0x69, 0x9c, 0x16, 0x91, 0x0b, 0xef, 0x62, 0x2f, 0x4d, 0x51, 0x28, 0x92, 0xec, 0xb8, 0x95, 0x25, + 0xef, 0x50, 0x06, 0x9a, 0x5e, 0x08, 0x9a, 0x1a, 0x49, 0xc4, 0x4a, 0xa4, 0x96, 0x7f, 0xb2, 0x9b, + 0x3d, 0x14, 0x28, 0xd0, 0x0f, 0xd0, 0x53, 0xd1, 0xaf, 0xb0, 0x40, 0xbf, 0x43, 0x7b, 0xcc, 0xad, + 0xbd, 0x17, 0x68, 0x8b, 0xe4, 0x4b, 0xf4, 0x58, 0xcc, 0x9b, 0xa1, 0x28, 0x32, 0x76, 0x16, 0xda, + 0xbd, 0x04, 0x9e, 0xdf, 0xfb, 0x3d, 0xce, 0x9b, 0xf7, 0xe7, 0x37, 0xa3, 0x80, 0xb9, 0x0a, 0x83, + 0x38, 0x88, 0x8e, 0x66, 0x89, 0x13, 0x4e, 0xc4, 0xbf, 0x6d, 0x84, 0x88, 0x8a, 0x8b, 0xbd, 0x9f, + 0xcf, 0xbc, 0x78, 0x9e, 0x5c, 0xb5, 0xdd, 0x60, 0x79, 0x14, 0x87, 0x81, 0xff, 0x24, 0x89, 0x8e, + 0x90, 0x70, 0x95, 0x4c, 0x8f, 0x66, 0xc1, 0x2c, 0xc0, 0x05, 0xfe, 0x25, 0x1c, 0xf7, 0x1e, 0xcc, + 0x82, 0x60, 0xb6, 0x60, 0x19, 0x2b, 0xf6, 0x96, 0x2c, 0x8a, 0x9d, 0xe5, 0x4a, 0x10, 0x5a, 0x7f, + 0x50, 0xa0, 0x3c, 0x08, 0x66, 0xe4, 0x17, 0x50, 0x73, 0xe7, 0x8e, 0x3f, 0x63, 0x36, 0x67, 0x98, + 0xca, 0x81, 0x72, 0x58, 0x3b, 0xde, 0x6b, 0x0b, 0xf7, 0x76, 0xea, 0xde, 0x1e, 0xa7, 0xee, 0x14, + 0x04, 0x9d, 0x03, 0xe4, 0x21, 0x34, 0x82, 0xd0, 0x9b, 0x79, 0xbe, 0x13, 0x07, 0xa1, 0xbd, 0xf2, + 0x26, 0x66, 0xe9, 0x40, 0x39, 0xd4, 0xa8, 0x9e, 0xa1, 0x17, 0xde, 0x84, 0xdc, 0x85, 0x1d, 0xe1, + 0x64, 0x96, 0xd1, 0x2c, 0x57, 0xad, 0x6f, 0x54, 0xa8, 0x77, 0x03, 0x3f, 0x0e, 0x1d, 0x37, 0x3e, + 0x67, 0xb1, 0x43, 0x1e, 0x40, 0xcd, 0x95, 0x6b, 0xdb, 0x9b, 0x60, 0x30, 0x1a, 0x85, 0x14, 0x3a, + 0x9b, 0x90, 0xfb, 0x00, 0x21, 0xf3, 0x63, 0xb6, 0xb9, 0x99, 0x26, 0x10, 0xbe, 0xd1, 0x3d, 0xa8, + 0xce, 0x83, 0x28, 0x46, 0xa3, 0xd8, 0x6a, 0x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x4b, 0x81, 0xfa, 0x29, 0x8a, 0x0b, 0x0b, 0x5f, 0xf2, 0x1f, 0x52, 0x4f, 0xe1, 0x03, + 0x2b, 0xb9, 0x5a, 0x7a, 0x71, 0xfe, 0xa1, 0x78, 0xf7, 0xfa, 0x2b, 0x7d, 0x4f, 0xcf, 0x92, 0xc4, + 0x33, 0xf8, 0x4b, 0xd0, 0x2d, 0xe6, 0x67, 0x53, 0x49, 0xee, 0x6f, 0xf8, 0xbd, 0x3b, 0x98, 0x45, + 0xf7, 0x21, 0x90, 0x77, 0x1b, 0x8e, 0x1c, 0xac, 0x87, 0xe4, 0x86, 0x5e, 0xdc, 0xbb, 0x21, 0xba, + 0x67, 0x4f, 0x5f, 0xbf, 0xd9, 0x57, 0xfe, 0xf9, 0x66, 0x5f, 0xf9, 0xef, 0x9b, 0x7d, 0xe5, 0x2f, + 0x6f, 0xf7, 0x95, 0xbf, 0xbf, 0xdd, 0x57, 0x5e, 0xbf, 0xdd, 0x57, 0x40, 0xf7, 0x82, 0xf6, 0x55, + 0x3c, 0x8d, 0x84, 0xe3, 0x33, 0xc0, 0x1c, 0x5c, 0xf0, 0xe2, 0x5c, 0x28, 0xbf, 0x13, 0xff, 0xe7, + 0x71, 0xb5, 0x83, 0xc5, 0xfa, 0xf8, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xda, 0xd2, 0x86, 0xb9, + 0x1d, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1602,10 +1601,10 @@ func (m *Log) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.ChangeOriginator) > 0 { - i -= len(m.ChangeOriginator) - copy(dAtA[i:], m.ChangeOriginator) - i = encodeVarintGuard(dAtA, i, uint64(len(m.ChangeOriginator))) + if len(m.OriginatorPid) > 0 { + i -= len(m.OriginatorPid) + copy(dAtA[i:], m.OriginatorPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.OriginatorPid))) i-- dAtA[i] = 0x12 } @@ -1675,17 +1674,17 @@ func (m *ContractMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x60 } - if len(m.EscrowAddress) > 0 { - i -= len(m.EscrowAddress) - copy(dAtA[i:], m.EscrowAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.EscrowAddress))) + if len(m.EscrowPid) > 0 { + i -= len(m.EscrowPid) + copy(dAtA[i:], m.EscrowPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.EscrowPid))) i-- dAtA[i] = 0x5a } - if len(m.GuardAddress) > 0 { - i -= len(m.GuardAddress) - copy(dAtA[i:], m.GuardAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.GuardAddress))) + if len(m.GuardPid) > 0 { + i -= len(m.GuardPid) + copy(dAtA[i:], m.GuardPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.GuardPid))) i-- dAtA[i] = 0x52 } @@ -1729,17 +1728,17 @@ func (m *ContractMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x22 } - if len(m.HostAddress) > 0 { - i -= len(m.HostAddress) - copy(dAtA[i:], m.HostAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.HostAddress))) + if len(m.HostPid) > 0 { + i -= len(m.HostPid) + copy(dAtA[i:], m.HostPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.HostPid))) i-- dAtA[i] = 0x1a } - if len(m.RenterAddress) > 0 { - i -= len(m.RenterAddress) - copy(dAtA[i:], m.RenterAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.RenterAddress))) + if len(m.RenterPid) > 0 { + i -= len(m.RenterPid) + copy(dAtA[i:], m.RenterPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.RenterPid))) i-- dAtA[i] = 0x12 } @@ -1879,17 +1878,17 @@ func (m *FileStoreMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.GuardAddress) > 0 { - i -= len(m.GuardAddress) - copy(dAtA[i:], m.GuardAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.GuardAddress))) + if len(m.GuardPid) > 0 { + i -= len(m.GuardPid) + copy(dAtA[i:], m.GuardPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.GuardPid))) i-- dAtA[i] = 0x6a } - if len(m.EscrowAddress) > 0 { - i -= len(m.EscrowAddress) - copy(dAtA[i:], m.EscrowAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.EscrowAddress))) + if len(m.EscrowPid) > 0 { + i -= len(m.EscrowPid) + copy(dAtA[i:], m.EscrowPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.EscrowPid))) i-- dAtA[i] = 0x62 } @@ -1951,10 +1950,10 @@ func (m *FileStoreMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.RenterAddress) > 0 { - i -= len(m.RenterAddress) - copy(dAtA[i:], m.RenterAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.RenterAddress))) + if len(m.RenterPid) > 0 { + i -= len(m.RenterPid) + copy(dAtA[i:], m.RenterPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.RenterPid))) i-- dAtA[i] = 0xa } @@ -1992,7 +1991,7 @@ func (m *FileStoreStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x42 } - n9, err9 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.CurentTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.CurentTime):]) + n9, err9 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.CurrentTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.CurrentTime):]) if err9 != nil { return 0, err9 } @@ -2094,10 +2093,10 @@ func (m *ChallengeQuestion) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x2a } - if len(m.RandomNonce) > 0 { - i -= len(m.RandomNonce) - copy(dAtA[i:], m.RandomNonce) - i = encodeVarintGuard(dAtA, i, uint64(len(m.RandomNonce))) + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = encodeVarintGuard(dAtA, i, uint64(len(m.Nonce))) i-- dAtA[i] = 0x22 } @@ -2106,10 +2105,10 @@ func (m *ChallengeQuestion) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x18 } - if len(m.HostAddress) > 0 { - i -= len(m.HostAddress) - copy(dAtA[i:], m.HostAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.HostAddress))) + if len(m.HostPid) > 0 { + i -= len(m.HostPid) + copy(dAtA[i:], m.HostPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.HostPid))) i-- dAtA[i] = 0x12 } @@ -2176,10 +2175,10 @@ func (m *ProofOfReplicateChallenge) MarshalToSizedBuffer(dAtA []byte) (int, erro i-- dAtA[i] = 0x22 } - if len(m.GuardAddress) > 0 { - i -= len(m.GuardAddress) - copy(dAtA[i:], m.GuardAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.GuardAddress))) + if len(m.GuardPid) > 0 { + i -= len(m.GuardPid) + copy(dAtA[i:], m.GuardPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.GuardPid))) i-- dAtA[i] = 0x1a } @@ -2312,10 +2311,10 @@ func (m *ShardChallengeQuestions) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x20 } - if len(m.PreparerAddress) > 0 { - i -= len(m.PreparerAddress) - copy(dAtA[i:], m.PreparerAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.PreparerAddress))) + if len(m.PreparerPid) > 0 { + i -= len(m.PreparerPid) + copy(dAtA[i:], m.PreparerPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.PreparerPid))) i-- dAtA[i] = 0x1a } @@ -2375,17 +2374,17 @@ func (m *CheckFileStoreMetaRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro i = encodeVarintGuard(dAtA, i, uint64(n16)) i-- dAtA[i] = 0x22 - if len(m.RequesterAddress) > 0 { - i -= len(m.RequesterAddress) - copy(dAtA[i:], m.RequesterAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.RequesterAddress))) + if len(m.RequesterPid) > 0 { + i -= len(m.RequesterPid) + copy(dAtA[i:], m.RequesterPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.RequesterPid))) i-- dAtA[i] = 0x1a } - if len(m.RenterAddress) > 0 { - i -= len(m.RenterAddress) - copy(dAtA[i:], m.RenterAddress) - i = encodeVarintGuard(dAtA, i, uint64(len(m.RenterAddress))) + if len(m.RenterPid) > 0 { + i -= len(m.RenterPid) + copy(dAtA[i:], m.RenterPid) + i = encodeVarintGuard(dAtA, i, uint64(len(m.RenterPid))) i-- dAtA[i] = 0x12 } @@ -2467,7 +2466,7 @@ func (m *Log) Size() (n int) { l = m.ChangeTime.Size() n += 1 + l + sovGuard(uint64(l)) } - l = len(m.ChangeOriginator) + l = len(m.OriginatorPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2491,11 +2490,11 @@ func (m *ContractMeta) Size() (n int) { if l > 0 { n += 1 + l + sovGuard(uint64(l)) } - l = len(m.RenterAddress) + l = len(m.RenterPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } - l = len(m.HostAddress) + l = len(m.HostPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2517,11 +2516,11 @@ func (m *ContractMeta) Size() (n int) { n += 1 + l + sovGuard(uint64(l)) l = github_com_tron_us_protobuf_types.SizeOfStdTime(m.RentEnd) n += 1 + l + sovGuard(uint64(l)) - l = len(m.GuardAddress) + l = len(m.GuardPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } - l = len(m.EscrowAddress) + l = len(m.EscrowPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2597,7 +2596,7 @@ func (m *FileStoreMeta) Size() (n int) { } var l int _ = l - l = len(m.RenterAddress) + l = len(m.RenterPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2630,11 +2629,11 @@ func (m *FileStoreMeta) Size() (n int) { if m.RecoverThreshold != 0 { n += 1 + sovGuard(uint64(m.RecoverThreshold)) } - l = len(m.EscrowAddress) + l = len(m.EscrowPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } - l = len(m.GuardAddress) + l = len(m.GuardPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2675,7 +2674,7 @@ func (m *FileStoreStatus) Size() (n int) { n += 1 + l + sovGuard(uint64(l)) } } - l = github_com_tron_us_protobuf_types.SizeOfStdTime(m.CurentTime) + l = github_com_tron_us_protobuf_types.SizeOfStdTime(m.CurrentTime) n += 1 + l + sovGuard(uint64(l)) l = len(m.GuardSignature) if l > 0 { @@ -2697,14 +2696,14 @@ func (m *ChallengeQuestion) Size() (n int) { if l > 0 { n += 1 + l + sovGuard(uint64(l)) } - l = len(m.HostAddress) + l = len(m.HostPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } if m.ChunkIndex != 0 { n += 1 + sovGuard(uint64(m.ChunkIndex)) } - l = len(m.RandomNonce) + l = len(m.Nonce) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2730,7 +2729,7 @@ func (m *ProofOfReplicateChallenge) Size() (n int) { } l = github_com_tron_us_protobuf_types.SizeOfStdTime(m.ChallengeTime) n += 1 + l + sovGuard(uint64(l)) - l = len(m.GuardAddress) + l = len(m.GuardPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2790,7 +2789,7 @@ func (m *ShardChallengeQuestions) Size() (n int) { if l > 0 { n += 1 + l + sovGuard(uint64(l)) } - l = len(m.PreparerAddress) + l = len(m.PreparerPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2825,11 +2824,11 @@ func (m *CheckFileStoreMetaRequest) Size() (n int) { if l > 0 { n += 1 + l + sovGuard(uint64(l)) } - l = len(m.RenterAddress) + l = len(m.RenterPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } - l = len(m.RequesterAddress) + l = len(m.RequesterPid) if l > 0 { n += 1 + l + sovGuard(uint64(l)) } @@ -2939,9 +2938,9 @@ func (m *Log) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChangeOriginator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OriginatorPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -2951,31 +2950,29 @@ func (m *Log) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChangeOriginator = append(m.ChangeOriginator[:0], dAtA[iNdEx:postIndex]...) - if m.ChangeOriginator == nil { - m.ChangeOriginator = []byte{} - } + m.OriginatorPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Change", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -2985,25 +2982,23 @@ func (m *Log) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.Change = append(m.Change[:0], dAtA[iNdEx:postIndex]...) - if m.Change == nil { - m.Change = []byte{} - } + m.Change = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -3063,7 +3058,7 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ContractId", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3073,31 +3068,29 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.ContractId = append(m.ContractId[:0], dAtA[iNdEx:postIndex]...) - if m.ContractId == nil { - m.ContractId = []byte{} - } + m.ContractId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RenterAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RenterPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3107,31 +3100,29 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.RenterAddress = append(m.RenterAddress[:0], dAtA[iNdEx:postIndex]...) - if m.RenterAddress == nil { - m.RenterAddress = []byte{} - } + m.RenterPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HostPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3141,31 +3132,29 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.HostAddress = append(m.HostAddress[:0], dAtA[iNdEx:postIndex]...) - if m.HostAddress == nil { - m.HostAddress = []byte{} - } + m.HostPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ShardHash", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3175,25 +3164,23 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.ShardHash = append(m.ShardHash[:0], dAtA[iNdEx:postIndex]...) - if m.ShardHash == nil { - m.ShardHash = []byte{} - } + m.ShardHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 0 { @@ -3237,7 +3224,7 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileHash", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3247,25 +3234,23 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.FileHash = append(m.FileHash[:0], dAtA[iNdEx:postIndex]...) - if m.FileHash == nil { - m.FileHash = []byte{} - } + m.FileHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 8: if wireType != 2 { @@ -3335,9 +3320,9 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 10: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuardAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuardPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3347,31 +3332,29 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.GuardAddress = append(m.GuardAddress[:0], dAtA[iNdEx:postIndex]...) - if m.GuardAddress == nil { - m.GuardAddress = []byte{} - } + m.GuardPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 11: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EscrowAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EscrowPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3381,25 +3364,23 @@ func (m *ContractMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.EscrowAddress = append(m.EscrowAddress[:0], dAtA[iNdEx:postIndex]...) - if m.EscrowAddress == nil { - m.EscrowAddress = []byte{} - } + m.EscrowPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 12: if wireType != 0 { @@ -3897,9 +3878,9 @@ func (m *FileStoreMeta) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RenterAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RenterPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3909,31 +3890,29 @@ func (m *FileStoreMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.RenterAddress = append(m.RenterAddress[:0], dAtA[iNdEx:postIndex]...) - if m.RenterAddress == nil { - m.RenterAddress = []byte{} - } + m.RenterPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileHash", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -3943,25 +3922,23 @@ func (m *FileStoreMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.FileHash = append(m.FileHash[:0], dAtA[iNdEx:postIndex]...) - if m.FileHash == nil { - m.FileHash = []byte{} - } + m.FileHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 0 { @@ -4164,9 +4141,9 @@ func (m *FileStoreMeta) Unmarshal(dAtA []byte) error { } case 12: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EscrowAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EscrowPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -4176,31 +4153,29 @@ func (m *FileStoreMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.EscrowAddress = append(m.EscrowAddress[:0], dAtA[iNdEx:postIndex]...) - if m.EscrowAddress == nil { - m.EscrowAddress = []byte{} - } + m.EscrowPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 13: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuardAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuardPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -4210,25 +4185,23 @@ func (m *FileStoreMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.GuardAddress = append(m.GuardAddress[:0], dAtA[iNdEx:postIndex]...) - if m.GuardAddress == nil { - m.GuardAddress = []byte{} - } + m.GuardPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -4476,7 +4449,7 @@ func (m *FileStoreStatus) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CurentTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CurrentTime", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4503,7 +4476,7 @@ func (m *FileStoreStatus) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_tron_us_protobuf_types.StdTimeUnmarshal(&m.CurentTime, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_tron_us_protobuf_types.StdTimeUnmarshal(&m.CurrentTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -4599,7 +4572,7 @@ func (m *ChallengeQuestion) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ShardHash", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -4609,31 +4582,29 @@ func (m *ChallengeQuestion) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.ShardHash = append(m.ShardHash[:0], dAtA[iNdEx:postIndex]...) - if m.ShardHash == nil { - m.ShardHash = []byte{} - } + m.ShardHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HostAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field HostPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -4643,25 +4614,23 @@ func (m *ChallengeQuestion) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.HostAddress = append(m.HostAddress[:0], dAtA[iNdEx:postIndex]...) - if m.HostAddress == nil { - m.HostAddress = []byte{} - } + m.HostPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 0 { @@ -4684,9 +4653,9 @@ func (m *ChallengeQuestion) Unmarshal(dAtA []byte) error { } case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RandomNonce", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -4696,31 +4665,29 @@ func (m *ChallengeQuestion) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.RandomNonce = append(m.RandomNonce[:0], dAtA[iNdEx:postIndex]...) - if m.RandomNonce == nil { - m.RandomNonce = []byte{} - } + m.Nonce = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ExpectAnswer", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -4730,25 +4697,23 @@ func (m *ChallengeQuestion) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.ExpectAnswer = append(m.ExpectAnswer[:0], dAtA[iNdEx:postIndex]...) - if m.ExpectAnswer == nil { - m.ExpectAnswer = []byte{} - } + m.ExpectAnswer = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -4875,9 +4840,9 @@ func (m *ProofOfReplicateChallenge) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuardAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuardPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -4887,25 +4852,23 @@ func (m *ProofOfReplicateChallenge) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.GuardAddress = append(m.GuardAddress[:0], dAtA[iNdEx:postIndex]...) - if m.GuardAddress == nil { - m.GuardAddress = []byte{} - } + m.GuardPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -4945,7 +4908,7 @@ func (m *ProofOfReplicateChallenge) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field HostAnswer", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -4955,25 +4918,23 @@ func (m *ProofOfReplicateChallenge) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.HostAnswer = append(m.HostAnswer[:0], dAtA[iNdEx:postIndex]...) - if m.HostAnswer == nil { - m.HostAnswer = []byte{} - } + m.HostAnswer = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -5100,7 +5061,7 @@ func (m *FileChallengeQuestions) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileHash", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -5110,25 +5071,23 @@ func (m *FileChallengeQuestions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.FileHash = append(m.FileHash[:0], dAtA[iNdEx:postIndex]...) - if m.FileHash == nil { - m.FileHash = []byte{} - } + m.FileHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5222,7 +5181,7 @@ func (m *ShardChallengeQuestions) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileHash", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -5232,31 +5191,29 @@ func (m *ShardChallengeQuestions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.FileHash = append(m.FileHash[:0], dAtA[iNdEx:postIndex]...) - if m.FileHash == nil { - m.FileHash = []byte{} - } + m.FileHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ShardHash", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -5266,31 +5223,29 @@ func (m *ShardChallengeQuestions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.ShardHash = append(m.ShardHash[:0], dAtA[iNdEx:postIndex]...) - if m.ShardHash == nil { - m.ShardHash = []byte{} - } + m.ShardHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PreparerAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PreparerPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -5300,25 +5255,23 @@ func (m *ShardChallengeQuestions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.PreparerAddress = append(m.PreparerAddress[:0], dAtA[iNdEx:postIndex]...) - if m.PreparerAddress == nil { - m.PreparerAddress = []byte{} - } + m.PreparerPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 0 { @@ -5498,7 +5451,7 @@ func (m *CheckFileStoreMetaRequest) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FileHash", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -5508,31 +5461,29 @@ func (m *CheckFileStoreMetaRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.FileHash = append(m.FileHash[:0], dAtA[iNdEx:postIndex]...) - if m.FileHash == nil { - m.FileHash = []byte{} - } + m.FileHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RenterAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RenterPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -5542,31 +5493,29 @@ func (m *CheckFileStoreMetaRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.RenterAddress = append(m.RenterAddress[:0], dAtA[iNdEx:postIndex]...) - if m.RenterAddress == nil { - m.RenterAddress = []byte{} - } + m.RenterPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequesterAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RequesterPid", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGuard @@ -5576,25 +5525,23 @@ func (m *CheckFileStoreMetaRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGuard } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGuard } if postIndex > l { return io.ErrUnexpectedEOF } - m.RequesterAddress = append(m.RequesterAddress[:0], dAtA[iNdEx:postIndex]...) - if m.RequesterAddress == nil { - m.RequesterAddress = []byte{} - } + m.RequesterPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { diff --git a/protos/guard/guard.proto b/protos/guard/guard.proto index 3710d23..7f625ed 100644 --- a/protos/guard/guard.proto +++ b/protos/guard/guard.proto @@ -27,16 +27,10 @@ service GuardService { message Log { google.protobuf.Timestamp change_time = 1; - bytes change_originator = 2; - bytes change = 3; + string originator_pid = 2; + string change = 3; } -//below rpc is needed for host by concept, and it work as BTFS -// service HostService{ -// rpc challenge(ProofOfReplicateChallenge) returns (ProofOfReplicateChallenge){} //used for receieve challenge question and return the answer, TBD seems can be removed as the BTFS has embed function , no need for service -// rpc cancelContract(Contract) returns (Result){} //removed for phase 2 -// } - //the relationship of the objects from Guard's view // FileStoreMeta (1:n) Contract (1:n) payout //contract is the signed document between the renter and host for one shard's storage @@ -45,13 +39,13 @@ message Log { //Contract technically is the contract execution record, it contains the contractMeta and state information message ContractMeta { //Contract proposed by renter, will not be changed after renter proposed - bytes contract_id = 1; //one id which generated by renter, and will be check unique by escrow service - bytes renter_address = 2; //renter's wallet address - bytes host_address = 3; //host’s wallet address - bytes shard_hash = 4; //shard’s hash + string contract_id = 1; //one id which generated by renter, and will be check unique by escrow service + string renter_pid = 2; //renter's wallet peerId + string host_pid = 3; //host’s wallet peerId + string shard_hash = 4; //shard’s hash int32 shard_index = 5; //shard’s sequence of the original file int64 shard_file_size = 6; //shard’s file size - bytes file_hash = 7; //original file's hash, reserved point32 back to FileStoreMeta + string file_hash = 7; //original file's hash, reserved point32 back to FileStoreMeta google.protobuf.Timestamp rent_start = 8 [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true @@ -60,8 +54,8 @@ message ContractMeta { (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; //rent end time - bytes guard_address = 10; //renter proposed guard's address - bytes escrow_address = 11; //renter proposed escrow's address + string guard_pid = 10; //renter proposed guard's peerId + string escrow_pid = 11; //renter proposed escrow's peerId int64 price = 12; //the price which agreed by host and rental, on the first phase, it equal to the proposed_price int64 amount = 13; //the amount which agreed by host and rental, on the first phase, it should be equal file_size*duration*agreed_price int64 collateral_amount = 14; @@ -103,8 +97,8 @@ message Contract { message FileStoreMeta { //file store meta prepared by renter, will not changed after proposal - bytes renter_address = 1; // buyer wallet address - bytes file_hash = 2; // file’s hash + string renter_pid = 1; // buyer wallet peerId + string file_hash = 2; // file’s hash int64 file_size = 3; // file’s size google.protobuf.Timestamp rent_start = 4 [ (gogoproto.nullable) = false, @@ -120,8 +114,8 @@ message FileStoreMeta { int32 shard_count = 9; //shard's count, by default is 30 int32 minimum_shards = 10; //minimum count of shards which can recover the whole file, by default is 10 int32 recover_threshold = 11; //reserved field, indicate the threshold for starting to recover - bytes escrow_address = 12; - bytes guard_address = 13; + string escrow_pid = 12; + string guard_pid = 13; } message FileStoreStatus { @@ -142,7 +136,7 @@ message FileStoreStatus { (gogoproto.stdtime) = true ]; //guard received time, which used to calculate the timeout for cancel repeated Log change_log = 6; - google.protobuf.Timestamp curent_time = 7 [ + google.protobuf.Timestamp current_time = 7 [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; //the time for generate the status @@ -150,11 +144,11 @@ message FileStoreStatus { } message ChallengeQuestion { - bytes shard_hash = 1; //shard hash - bytes host_address = 2; //host's address + string shard_hash = 1; //shard hash + string host_pid = 2; //host's peerId int32 chunk_index = 3; //the chunk's index for calculation - bytes random_nonce = 4; //the challenge questions's random nonce - bytes expect_answer = 5; //the challenge expected answer + string nonce = 4; //the challenge questions's random nonce + string expect_answer = 5; //the challenge expected answer } message ProofOfReplicateChallenge { @@ -163,9 +157,9 @@ message ProofOfReplicateChallenge { (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; //challenge time from guard - bytes guard_address = 3; //guard's address + string guard_pid = 3; //guard's peerId bytes guard_signature = 4; //guard signed for the challenge - bytes host_answer = 5; //challenge answer + string host_answer = 5; //challenge answer google.protobuf.Timestamp host_sign_time = 6 [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true @@ -174,14 +168,14 @@ message ProofOfReplicateChallenge { } message FileChallengeQuestions { - bytes file_hash = 1; + string file_hash = 1; repeated ShardChallengeQuestions shard_questions = 2; } message ShardChallengeQuestions { - bytes file_hash = 1; //file's hash - bytes shard_hash = 2; - bytes preparer_address = 3; //challenge questions preparer's address, it is renter address at phase 1 + string file_hash = 1; //file's hash + string shard_hash = 2; + string preparer_pid = 3; //challenge questions preparer's peerId, it is renter peerId at phase 1 int32 question_count = 4; repeated ChallengeQuestion questions = 5; google.protobuf.Timestamp prepare_time = 6 [ @@ -192,9 +186,9 @@ message ShardChallengeQuestions { } message CheckFileStoreMetaRequest { - bytes file_hash = 1; - bytes renter_address = 2; - bytes requester_address = 3; + string file_hash = 1; + string renter_pid = 2; + string requester_pid = 3; google.protobuf.Timestamp request_time = 4 [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true diff --git a/protos/node/node.pb.go b/protos/node/node.pb.go index e7479b2..c2ec03c 100644 --- a/protos/node/node.pb.go +++ b/protos/node/node.pb.go @@ -31,7 +31,7 @@ var _ = time.Kitchen const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Node struct { - tableName string `pg:"node_metrics,alias:t,discard_unknown_columns"` + TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty" pg:"table_name" pg:"node_metrics,alias:t,discard_unknown_columns"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"` BtfsVersion string `protobuf:"bytes,3,opt,name=btfs_version,json=btfsVersion,proto3" json:"btfs_version,omitempty" pg:"btfs_version"` UpTime uint64 `protobuf:"varint,4,opt,name=up_time,json=upTime,proto3" json:"up_time,omitempty" pg:"up_time"` @@ -93,9 +93,9 @@ func (m *Node) XXX_DiscardUnknown() { var xxx_messageInfo_Node proto.InternalMessageInfo -func (m *Node) GettableName() string { +func (m *Node) GetTableName() string { if m != nil { - return m.tableName + return m.TableName } return "" } @@ -582,10 +582,10 @@ func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.tableName) > 0 { - i -= len(m.tableName) - copy(dAtA[i:], m.tableName) - i = encodeVarintNode(dAtA, i, uint64(len(m.tableName))) + if len(m.TableName) > 0 { + i -= len(m.TableName) + copy(dAtA[i:], m.TableName) + i = encodeVarintNode(dAtA, i, uint64(len(m.TableName))) i-- dAtA[i] = 0xa } @@ -658,7 +658,7 @@ func encodeVarintNode(dAtA []byte, offset int, v uint64) int { } func NewPopulatedNode(r randyNode, easy bool) *Node { this := &Node{} - this.tableName = string(randStringNode(r)) + this.TableName = string(randStringNode(r)) this.NodeId = string(randStringNode(r)) this.BtfsVersion = string(randStringNode(r)) this.UpTime = uint64(uint64(r.Uint32())) @@ -790,7 +790,7 @@ func (m *Node) Size() (n int) { } var l int _ = l - l = len(m.tableName) + l = len(m.TableName) if l > 0 { n += 1 + l + sovNode(uint64(l)) } @@ -937,7 +937,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field tableName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -965,7 +965,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.tableName = string(dAtA[iNdEx:postIndex]) + m.TableName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { diff --git a/protos/status/status.pb.go b/protos/status/status.pb.go index c9aa418..f587c3d 100644 --- a/protos/status/status.pb.go +++ b/protos/status/status.pb.go @@ -102,7 +102,7 @@ func (*SignedMetrics) XXX_MessageName() string { } type NodeHealth struct { - tableName string `pg:"health_monitoring,alias:t,discard_unknown_columns"` + TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty" pg:"table_name" pg:"health_monitoring,alias:t,discard_unknown_columns"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" pg:"node_id"` BtfsVersion string `protobuf:"bytes,3,opt,name=btfs_version,json=btfsVersion,proto3" json:"btfs_version,omitempty" pg:"btfs_version"` FailurePoint string `protobuf:"bytes,4,opt,name=failure_point,json=failurePoint,proto3" json:"failure_point,omitempty" pg:"failure_point"` @@ -145,9 +145,9 @@ func (m *NodeHealth) XXX_DiscardUnknown() { var xxx_messageInfo_NodeHealth proto.InternalMessageInfo -func (m *NodeHealth) GettableName() string { +func (m *NodeHealth) GetTableName() string { if m != nil { - return m.tableName + return m.TableName } return "" } @@ -185,7 +185,7 @@ func (*NodeHealth) XXX_MessageName() string { } type NodeError struct { - tableName string `pg:"test_error,alias:t,discard_unknown_columns"` + TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty" pg:"table_name" pg:"test_error,alias:t,discard_unknown_columns"` HVal string `protobuf:"bytes,2,opt,name=h_val,json=hVal,proto3" json:"h_val,omitempty" pg:"h_val"` PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty" pg:"peer_id"` ErrorStatus string `protobuf:"bytes,4,opt,name=error_status,json=errorStatus,proto3" json:"error_status,omitempty" pg:"error_status"` @@ -228,9 +228,9 @@ func (m *NodeError) XXX_DiscardUnknown() { var xxx_messageInfo_NodeError proto.InternalMessageInfo -func (m *NodeError) GettableName() string { +func (m *NodeError) GetTableName() string { if m != nil { - return m.tableName + return m.TableName } return "" } @@ -688,10 +688,10 @@ func (m *NodeHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.tableName) > 0 { - i -= len(m.tableName) - copy(dAtA[i:], m.tableName) - i = encodeVarintStatus(dAtA, i, uint64(len(m.tableName))) + if len(m.TableName) > 0 { + i -= len(m.TableName) + copy(dAtA[i:], m.TableName) + i = encodeVarintStatus(dAtA, i, uint64(len(m.TableName))) i-- dAtA[i] = 0xa } @@ -751,10 +751,10 @@ func (m *NodeError) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.tableName) > 0 { - i -= len(m.tableName) - copy(dAtA[i:], m.tableName) - i = encodeVarintStatus(dAtA, i, uint64(len(m.tableName))) + if len(m.TableName) > 0 { + i -= len(m.TableName) + copy(dAtA[i:], m.TableName) + i = encodeVarintStatus(dAtA, i, uint64(len(m.TableName))) i-- dAtA[i] = 0xa } @@ -883,7 +883,7 @@ func (m *NodeHealth) Size() (n int) { } var l int _ = l - l = len(m.tableName) + l = len(m.TableName) if l > 0 { n += 1 + l + sovStatus(uint64(l)) } @@ -913,7 +913,7 @@ func (m *NodeError) Size() (n int) { } var l int _ = l - l = len(m.tableName) + l = len(m.TableName) if l > 0 { n += 1 + l + sovStatus(uint64(l)) } @@ -1172,7 +1172,7 @@ func (m *NodeHealth) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field tableName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1200,7 +1200,7 @@ func (m *NodeHealth) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.tableName = string(dAtA[iNdEx:postIndex]) + m.TableName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -1387,7 +1387,7 @@ func (m *NodeError) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field tableName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1415,7 +1415,7 @@ func (m *NodeError) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.tableName = string(dAtA[iNdEx:postIndex]) + m.TableName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 {