diff --git a/protos/guard/guard.pb.go b/protos/guard/guard.pb.go index 59b8c6c..aa5fc87 100644 --- a/protos/guard/guard.pb.go +++ b/protos/guard/guard.pb.go @@ -103,6 +103,7 @@ const ( Contract_CLOSED Contract_ContractState = 5 Contract_RENEWED Contract_ContractState = 6 Contract_OBSOLETE Contract_ContractState = 7 + Contract_WARN Contract_ContractState = 8 ) var Contract_ContractState_name = map[int32]string{ @@ -114,6 +115,7 @@ var Contract_ContractState_name = map[int32]string{ 5: "CLOSED", 6: "RENEWED", 7: "OBSOLETE", + 8: "WARN", } var Contract_ContractState_value = map[string]int32{ @@ -125,6 +127,7 @@ var Contract_ContractState_value = map[string]int32{ "CLOSED": 5, "RENEWED": 6, "OBSOLETE": 7, + "WARN": 8, } func (x Contract_ContractState) String() string { @@ -453,20 +456,25 @@ func (*ContractMeta) XXX_MessageName() string { type Contract struct { //the contract executor record, changed frequently after proposal - ContractMeta `protobuf:"bytes,1,opt,name=contract,proto3,embedded=contract" json:"contract" pg:"contract"` - State Contract_ContractState `protobuf:"varint,2,opt,name=state,proto3,enum=guard.Contract_ContractState" json:"state,omitempty" pg:"state"` - RenterSignature []byte `protobuf:"bytes,3,opt,name=renter_signature,json=renterSignature,proto3" json:"renter_signature,omitempty" pg:"renter_signature"` - HostSignature []byte `protobuf:"bytes,4,opt,name=host_signature,json=hostSignature,proto3" json:"host_signature,omitempty" pg:"host_signature"` - EscrowSignedTime time.Time `protobuf:"bytes,5,opt,name=escrow_signed_time,json=escrowSignedTime,proto3,stdtime" json:"escrow_signed_time" pg:"escrow_signed_time"` - EscrowSignature []byte `protobuf:"bytes,6,opt,name=escrow_signature,json=escrowSignature,proto3" json:"escrow_signature,omitempty" pg:"escrow_signature"` - ChangeLog []*Log `protobuf:"bytes,7,rep,name=change_log,json=changeLog,proto3" json:"change_log,omitempty" pg:"change_log"` - LastModifyTime time.Time `protobuf:"bytes,8,opt,name=last_modify_time,json=lastModifyTime,proto3,stdtime" json:"last_modify_time" pg:"last_modify_time"` - GuardSignature []byte `protobuf:"bytes,9,opt,name=guard_signature,json=guardSignature,proto3" json:"guard_signature,omitempty" pg:"guard_signature"` - PreparerPid string `protobuf:"bytes,10,opt,name=preparer_pid,json=preparerPid,proto3" json:"preparer_pid,omitempty" pg:"preparer_pid"` - PreparerSignature []byte `protobuf:"bytes,11,opt,name=preparer_signature,json=preparerSignature,proto3" json:"preparer_signature,omitempty" pg:"preparer_signature"` - XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` - XXX_unrecognized []byte `json:"-" pg:"-"` - XXX_sizecache int32 `json:"-" pg:"-"` + ContractMeta `protobuf:"bytes,1,opt,name=contract,proto3,embedded=contract" json:"contract" pg:"contract"` + State Contract_ContractState `protobuf:"varint,2,opt,name=state,proto3,enum=guard.Contract_ContractState" json:"state,omitempty" pg:"state"` + RenterSignature []byte `protobuf:"bytes,3,opt,name=renter_signature,json=renterSignature,proto3" json:"renter_signature,omitempty" pg:"renter_signature"` + HostSignature []byte `protobuf:"bytes,4,opt,name=host_signature,json=hostSignature,proto3" json:"host_signature,omitempty" pg:"host_signature"` + EscrowSignedTime time.Time `protobuf:"bytes,5,opt,name=escrow_signed_time,json=escrowSignedTime,proto3,stdtime" json:"escrow_signed_time" pg:"escrow_signed_time"` + EscrowSignature []byte `protobuf:"bytes,6,opt,name=escrow_signature,json=escrowSignature,proto3" json:"escrow_signature,omitempty" pg:"escrow_signature"` + ChangeLog []*Log `protobuf:"bytes,7,rep,name=change_log,json=changeLog,proto3" json:"change_log,omitempty" pg:"change_log"` + LastModifyTime time.Time `protobuf:"bytes,8,opt,name=last_modify_time,json=lastModifyTime,proto3,stdtime" json:"last_modify_time" pg:"last_modify_time"` + GuardSignature []byte `protobuf:"bytes,9,opt,name=guard_signature,json=guardSignature,proto3" json:"guard_signature,omitempty" pg:"guard_signature"` + PreparerPid string `protobuf:"bytes,10,opt,name=preparer_pid,json=preparerPid,proto3" json:"preparer_pid,omitempty" pg:"preparer_pid"` + PreparerSignature []byte `protobuf:"bytes,11,opt,name=preparer_signature,json=preparerSignature,proto3" json:"preparer_signature,omitempty" pg:"preparer_signature"` + LastSuccessChallengeTime time.Time `protobuf:"bytes,12,opt,name=last_success_challenge_time,json=lastSuccessChallengeTime,proto3,stdtime" json:"last_success_challenge_time" pg:"last_success_challenge_time"` + LastChallengeTime time.Time `protobuf:"bytes,13,opt,name=last_challenge_time,json=lastChallengeTime,proto3,stdtime" json:"last_challenge_time" pg:"last_challenge_time"` + ChallengeTimes int32 `protobuf:"varint,14,opt,name=challenge_times,json=challengeTimes,proto3" json:"challenge_times,omitempty" pg:"challenge_times"` + ChallengeWarnTimes int32 `protobuf:"varint,15,opt,name=challenge_warn_times,json=challengeWarnTimes,proto3" json:"challenge_warn_times,omitempty" pg:"challenge_warn_times"` + ChallengeSuccessTimes int32 `protobuf:"varint,16,opt,name=challenge_success_times,json=challengeSuccessTimes,proto3" json:"challenge_success_times,omitempty" pg:"challenge_success_times"` + XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` + XXX_unrecognized []byte `json:"-" pg:"-"` + XXX_sizecache int32 `json:"-" pg:"-"` } func (m *Contract) Reset() { *m = Contract{} } @@ -572,28 +580,66 @@ func (m *Contract) GetPreparerSignature() []byte { return nil } +func (m *Contract) GetLastSuccessChallengeTime() time.Time { + if m != nil { + return m.LastSuccessChallengeTime + } + return time.Time{} +} + +func (m *Contract) GetLastChallengeTime() time.Time { + if m != nil { + return m.LastChallengeTime + } + return time.Time{} +} + +func (m *Contract) GetChallengeTimes() int32 { + if m != nil { + return m.ChallengeTimes + } + return 0 +} + +func (m *Contract) GetChallengeWarnTimes() int32 { + if m != nil { + return m.ChallengeWarnTimes + } + return 0 +} + +func (m *Contract) GetChallengeSuccessTimes() int32 { + if m != nil { + return m.ChallengeSuccessTimes + } + return 0 +} + func (*Contract) XXX_MessageName() string { return "guard.Contract" } type FileStoreMeta struct { //file store meta prepared by renter, will not changed after proposal - 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"` - CheckFrequency int32 `protobuf:"varint,6,opt,name=check_frequency,json=checkFrequency,proto3" json:"check_frequency,omitempty" pg:"check_frequency"` - GuardFee int64 `protobuf:"varint,7,opt,name=guard_fee,json=guardFee,proto3" json:"guard_fee,omitempty" pg:"guard_fee"` - EscrowFee int64 `protobuf:"varint,8,opt,name=escrow_fee,json=escrowFee,proto3" json:"escrow_fee,omitempty" pg:"escrow_fee"` - 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"` - 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:"-"` + 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"` + CheckFrequency int32 `protobuf:"varint,6,opt,name=check_frequency,json=checkFrequency,proto3" json:"check_frequency,omitempty" pg:"check_frequency"` + GuardFee int64 `protobuf:"varint,7,opt,name=guard_fee,json=guardFee,proto3" json:"guard_fee,omitempty" pg:"guard_fee"` + EscrowFee int64 `protobuf:"varint,8,opt,name=escrow_fee,json=escrowFee,proto3" json:"escrow_fee,omitempty" pg:"escrow_fee"` + 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"` + 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"` + WarnChallengeTimesLimit int32 `protobuf:"varint,14,opt,name=warn_challenge_times_limit,json=warnChallengeTimesLimit,proto3" json:"warn_challenge_times_limit,omitempty" pg:"warn_challenge_times_limit"` + SuccessChallengeTimesLimit int32 `protobuf:"varint,15,opt,name=success_challenge_times_limit,json=successChallengeTimesLimit,proto3" json:"success_challenge_times_limit,omitempty" pg:"success_challenge_times_limit"` + CheckFrequencyWarn int32 `protobuf:"varint,16,opt,name=check_frequency_warn,json=checkFrequencyWarn,proto3" json:"check_frequency_warn,omitempty" pg:"check_frequency_warn"` + XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` + XXX_unrecognized []byte `json:"-" pg:"-"` + XXX_sizecache int32 `json:"-" pg:"-"` } func (m *FileStoreMeta) Reset() { *m = FileStoreMeta{} } @@ -720,6 +766,27 @@ func (m *FileStoreMeta) GetGuardPid() string { return "" } +func (m *FileStoreMeta) GetWarnChallengeTimesLimit() int32 { + if m != nil { + return m.WarnChallengeTimesLimit + } + return 0 +} + +func (m *FileStoreMeta) GetSuccessChallengeTimesLimit() int32 { + if m != nil { + return m.SuccessChallengeTimesLimit + } + return 0 +} + +func (m *FileStoreMeta) GetCheckFrequencyWarn() int32 { + if m != nil { + return m.CheckFrequencyWarn + } + return 0 +} + func (*FileStoreMeta) XXX_MessageName() string { return "guard.FileStoreMeta" } @@ -1369,121 +1436,130 @@ 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{ - // 1810 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x6f, 0xdb, 0xc8, - 0x15, 0x37, 0x25, 0x51, 0x12, 0x9f, 0xbe, 0x98, 0xd9, 0x34, 0x65, 0xdc, 0x8d, 0xed, 0x6a, 0x91, - 0xc6, 0x69, 0x11, 0xa5, 0xf0, 0x16, 0x0b, 0x14, 0xd8, 0x76, 0xa1, 0x48, 0xb4, 0xe3, 0x56, 0x96, - 0xb4, 0x43, 0x19, 0xdb, 0xf4, 0x42, 0xd0, 0xd4, 0x48, 0x22, 0x56, 0x22, 0xb5, 0xfc, 0xc8, 0x6e, - 0xf6, 0xd0, 0x43, 0xd1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, 0x56, 0x3f, 0x0c, 0xae, 0x44, 0x85, 0x2e, 0x79, 0x0c, - 0x6a, 0x5c, 0xf6, 0x81, 0x33, 0x75, 0xad, 0x30, 0xf2, 0x45, 0x2b, 0x55, 0x69, 0x43, 0xe0, 0x46, - 0x02, 0xf3, 0x96, 0xc4, 0x16, 0x48, 0x15, 0x0b, 0xa8, 0x58, 0xe3, 0x68, 0xaa, 0x46, 0x81, 0xc4, - 0x69, 0xe6, 0x8a, 0x6c, 0x2c, 0x78, 0x40, 0xde, 0xa1, 0x9c, 0x54, 0x61, 0x6f, 0xa0, 0x39, 0xb2, - 0xc1, 0x63, 0x50, 0xd7, 0xf6, 0x14, 0x87, 0x17, 0x85, 0x97, 0xa9, 0xae, 0x38, 0xfe, 0x31, 0xc4, - 0x34, 0x62, 0xce, 0xbd, 0xa9, 0x56, 0x3a, 0xca, 0x1f, 0x57, 0x4e, 0x20, 0x0e, 0x45, 0xcf, 0x9b, - 0x52, 0x45, 0x48, 0x39, 0x55, 0xf5, 0x41, 0x9d, 0x5b, 0x41, 0x68, 0x2e, 0xbc, 0xb1, 0x33, 0x79, - 0x25, 0xfc, 0xdc, 0xa5, 0x73, 0xea, 0xdc, 0xfa, 0x02, 0x8d, 0xd1, 0xcb, 0x47, 0xd0, 0x10, 0xd5, - 0x9f, 0x3a, 0xa9, 0xa0, 0x93, 0x75, 0x84, 0x53, 0x1f, 0x7f, 0x08, 0xd5, 0xa5, 0xcf, 0x96, 0x96, - 0x1f, 0xb3, 0x8d, 0xe8, 0x94, 0x4a, 0x82, 0xf1, 0x6e, 0x78, 0x02, 0x64, 0xa5, 0x92, 0x6e, 0x57, - 0xc1, 0xed, 0xee, 0x24, 0x92, 0xd5, 0x8e, 0xcd, 0x00, 0x6a, 0x99, 0xf4, 0x12, 0x05, 0xe4, 0x2e, - 0x6d, 0x9f, 0x8e, 0xd4, 0x3d, 0x02, 0x50, 0x34, 0xce, 0xcf, 0xfa, 0x7a, 0x57, 0x54, 0xde, 0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, 0x82, 0x99, 0x37, 0x17, 0xac, 0x2b, 0x53, 0x35, 0x16, 0x8c, - 0x12, 0x7c, 0x83, 0x9b, 0xab, 0x9b, 0xdc, 0x9c, 0xe1, 0xf5, 0x5a, 0x96, 0xd7, 0x9b, 0x7f, 0x2d, - 0x42, 0x63, 0x55, 0x06, 0xbc, 0xfa, 0xa2, 0x80, 0x9c, 0x42, 0x43, 0x24, 0x93, 0x63, 0xe6, 0x82, - 0x85, 0x56, 0xcc, 0x66, 0x77, 0xe3, 0x56, 0xcc, 0xd4, 0xcd, 0x1a, 0x9d, 0xd5, 0x26, 0x99, 0x82, - 0xfa, 0x28, 0xcb, 0x69, 0x47, 0x9b, 0xd6, 0xe2, 0xb8, 0x16, 0xd7, 0xcd, 0xd0, 0xda, 0x13, 0x50, - 0x12, 0x5e, 0x0c, 0xb4, 0x3c, 0x92, 0x40, 0x63, 0x83, 0x0f, 0x69, 0xaa, 0xb1, 0x95, 0x05, 0x0b, - 0xdb, 0x59, 0x90, 0x02, 0x11, 0xa1, 0xf0, 0x99, 0xcd, 0x9c, 0x97, 0xec, 0x1d, 0xe8, 0x0d, 0xed, - 0xa9, 0x30, 0x8f, 0xe9, 0x6d, 0x9d, 0xb3, 0x8a, 0x6f, 0xe3, 0xac, 0x33, 0xa8, 0xda, 0x91, 0x8f, - 0x65, 0x8c, 0x07, 0x97, 0x76, 0x38, 0xb8, 0x12, 0x5b, 0xde, 0x46, 0x56, 0xe5, 0xad, 0x64, 0xa5, - 0x43, 0x95, 0x1b, 0x59, 0x73, 0x53, 0x64, 0x42, 0xc1, 0x4c, 0x34, 0x6f, 0xc9, 0x04, 0x45, 0x55, - 0x91, 0x8b, 0x8a, 0x9f, 0x2e, 0xfe, 0x0f, 0x9c, 0x37, 0x01, 0x65, 0x95, 0xf7, 0x75, 0xbe, 0xab, - 0x81, 0x22, 0x38, 0xee, 0xbc, 0x7f, 0xa6, 0x4a, 0x48, 0x60, 0x97, 0xfd, 0x3e, 0x5f, 0x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bf, 0x80, 0x9a, 0xc1, 0xdc, 0xb4, 0x2b, 0xc9, 0x83, 0x35, 0xbb, 0x9b, 0x8d, 0xb9, 0x69, 0xde, - 0x07, 0x72, 0xb3, 0xe0, 0xc8, 0xd1, 0xaa, 0x49, 0x6e, 0xa9, 0xc5, 0xfd, 0x5b, 0xbc, 0x7b, 0xf6, - 0xf1, 0xeb, 0x37, 0x07, 0xd2, 0xb7, 0x6f, 0x0e, 0xa4, 0x7f, 0xbf, 0x39, 0x90, 0xfe, 0x72, 0x7d, - 0x20, 0xfd, 0xfd, 0xfa, 0x40, 0x7a, 0x7d, 0x7d, 0x20, 0x41, 0xcd, 0xf1, 0x5a, 0x57, 0xe1, 0x24, - 0x10, 0x86, 0xcf, 0x00, 0x63, 0x30, 0xe4, 0xc9, 0x19, 0x4a, 0xbf, 0x15, 0xff, 0x70, 0xba, 0x2a, - 0x62, 0xb2, 0x3e, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x27, 0xa3, 0x99, 0x9a, 0x12, - 0x00, 0x00, + // 1962 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcd, 0x6f, 0xdb, 0xc8, + 0x15, 0x0f, 0x25, 0x51, 0x1f, 0x4f, 0x5f, 0xcc, 0xc4, 0x9b, 0x30, 0xde, 0xf5, 0x47, 0xb5, 0x48, + 0xe3, 0xb4, 0x88, 0xb3, 0xf0, 0x16, 0x01, 0x8a, 0x6e, 0xbb, 0x50, 0x24, 0xda, 0x71, 0x2b, 0x4b, + 0xde, 0xa1, 0x8c, 0x34, 0xbd, 0x10, 0x34, 0x35, 0x92, 0x88, 0x48, 0xa4, 0x96, 0x1f, 0xc9, 0x66, + 0x81, 0xf6, 0xd0, 0x6b, 0x81, 0xa2, 0xa7, 0xa2, 0xa7, 0xde, 0xf7, 0x1f, 0xe8, 0xb9, 0xc7, 0xdc, +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be, 0x7d, 0xbb, 0x2b, + 0xfd, 0xfb, 0xed, 0xae, 0xf4, 0x97, 0x77, 0xbb, 0xd2, 0xdf, 0xdf, 0xed, 0x4a, 0x6f, 0xde, 0xed, + 0x4a, 0x50, 0xb7, 0xdd, 0xc3, 0xcb, 0x60, 0xec, 0x0b, 0xe0, 0x13, 0xc0, 0x3b, 0x38, 0xe7, 0xc9, + 0x39, 0x97, 0x7e, 0x23, 0x7e, 0x7a, 0xbc, 0x2c, 0x62, 0xb2, 0x3e, 0xfd, 0x4f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x72, 0x90, 0xd9, 0x02, 0xa4, 0x14, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1840,6 +1916,39 @@ func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.ChallengeSuccessTimes != 0 { + i = encodeVarintGuard(dAtA, i, uint64(m.ChallengeSuccessTimes)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.ChallengeWarnTimes != 0 { + i = encodeVarintGuard(dAtA, i, uint64(m.ChallengeWarnTimes)) + i-- + dAtA[i] = 0x78 + } + if m.ChallengeTimes != 0 { + i = encodeVarintGuard(dAtA, i, uint64(m.ChallengeTimes)) + i-- + dAtA[i] = 0x70 + } + n4, err4 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.LastChallengeTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.LastChallengeTime):]) + if err4 != nil { + return 0, err4 + } + i -= n4 + i = encodeVarintGuard(dAtA, i, uint64(n4)) + i-- + dAtA[i] = 0x6a + n5, err5 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.LastSuccessChallengeTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.LastSuccessChallengeTime):]) + if err5 != nil { + return 0, err5 + } + i -= n5 + i = encodeVarintGuard(dAtA, i, uint64(n5)) + i-- + dAtA[i] = 0x62 if len(m.PreparerSignature) > 0 { i -= len(m.PreparerSignature) copy(dAtA[i:], m.PreparerSignature) @@ -1861,12 +1970,12 @@ func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x4a } - n4, err4 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.LastModifyTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.LastModifyTime):]) - if err4 != nil { - return 0, err4 + n6, err6 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.LastModifyTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.LastModifyTime):]) + if err6 != nil { + return 0, err6 } - i -= n4 - i = encodeVarintGuard(dAtA, i, uint64(n4)) + i -= n6 + i = encodeVarintGuard(dAtA, i, uint64(n6)) i-- dAtA[i] = 0x42 if len(m.ChangeLog) > 0 { @@ -1890,12 +1999,12 @@ func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x32 } - n5, err5 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.EscrowSignedTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.EscrowSignedTime):]) - if err5 != nil { - return 0, err5 + n7, err7 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.EscrowSignedTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.EscrowSignedTime):]) + if err7 != nil { + return 0, err7 } - i -= n5 - i = encodeVarintGuard(dAtA, i, uint64(n5)) + i -= n7 + i = encodeVarintGuard(dAtA, i, uint64(n7)) i-- dAtA[i] = 0x2a if len(m.HostSignature) > 0 { @@ -1954,6 +2063,23 @@ func (m *FileStoreMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.CheckFrequencyWarn != 0 { + i = encodeVarintGuard(dAtA, i, uint64(m.CheckFrequencyWarn)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.SuccessChallengeTimesLimit != 0 { + i = encodeVarintGuard(dAtA, i, uint64(m.SuccessChallengeTimesLimit)) + i-- + dAtA[i] = 0x78 + } + if m.WarnChallengeTimesLimit != 0 { + i = encodeVarintGuard(dAtA, i, uint64(m.WarnChallengeTimesLimit)) + i-- + dAtA[i] = 0x70 + } if len(m.GuardPid) > 0 { i -= len(m.GuardPid) copy(dAtA[i:], m.GuardPid) @@ -1998,20 +2124,20 @@ func (m *FileStoreMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x30 } - n7, err7 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.RentEnd, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.RentEnd):]) - if err7 != nil { - return 0, err7 + n9, err9 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.RentEnd, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.RentEnd):]) + if err9 != nil { + return 0, err9 } - i -= n7 - i = encodeVarintGuard(dAtA, i, uint64(n7)) + i -= n9 + i = encodeVarintGuard(dAtA, i, uint64(n9)) i-- dAtA[i] = 0x2a - n8, err8 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.RentStart, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.RentStart):]) - if err8 != nil { - return 0, err8 + n10, err10 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.RentStart, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.RentStart):]) + if err10 != nil { + return 0, err10 } - i -= n8 - i = encodeVarintGuard(dAtA, i, uint64(n8)) + i -= n10 + i = encodeVarintGuard(dAtA, i, uint64(n10)) i-- dAtA[i] = 0x22 if m.FileSize != 0 { @@ -2086,12 +2212,12 @@ func (m *FileStoreStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x42 } - 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 + n11, err11 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.CurrentTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.CurrentTime):]) + if err11 != nil { + return 0, err11 } - i -= n9 - i = encodeVarintGuard(dAtA, i, uint64(n9)) + i -= n11 + i = encodeVarintGuard(dAtA, i, uint64(n11)) i-- dAtA[i] = 0x3a if len(m.ChangeLog) > 0 { @@ -2108,12 +2234,12 @@ func (m *FileStoreStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x32 } } - n10, err10 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.GuardReceiveTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.GuardReceiveTime):]) - if err10 != nil { - return 0, err10 + n12, err12 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.GuardReceiveTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.GuardReceiveTime):]) + if err12 != nil { + return 0, err12 } - i -= n10 - i = encodeVarintGuard(dAtA, i, uint64(n10)) + i -= n12 + i = encodeVarintGuard(dAtA, i, uint64(n12)) i-- dAtA[i] = 0x2a if len(m.RenterSignature) > 0 { @@ -2246,12 +2372,12 @@ func (m *ProofOfReplicateChallenge) MarshalToSizedBuffer(dAtA []byte) (int, erro i-- dAtA[i] = 0x3a } - n12, err12 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.HostSignTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.HostSignTime):]) - if err12 != nil { - return 0, err12 + n14, err14 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.HostSignTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.HostSignTime):]) + if err14 != nil { + return 0, err14 } - i -= n12 - i = encodeVarintGuard(dAtA, i, uint64(n12)) + i -= n14 + i = encodeVarintGuard(dAtA, i, uint64(n14)) i-- dAtA[i] = 0x32 if len(m.HostAnswer) > 0 { @@ -2275,12 +2401,12 @@ func (m *ProofOfReplicateChallenge) MarshalToSizedBuffer(dAtA []byte) (int, erro i-- dAtA[i] = 0x1a } - n13, err13 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.ChallengeTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.ChallengeTime):]) - if err13 != nil { - return 0, err13 + n15, err15 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.ChallengeTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.ChallengeTime):]) + if err15 != nil { + return 0, err15 } - i -= n13 - i = encodeVarintGuard(dAtA, i, uint64(n13)) + i -= n15 + i = encodeVarintGuard(dAtA, i, uint64(n15)) i-- dAtA[i] = 0x12 { @@ -2375,12 +2501,12 @@ func (m *ShardChallengeQuestions) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x3a } - n15, err15 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.PrepareTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.PrepareTime):]) - if err15 != nil { - return 0, err15 + n17, err17 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.PrepareTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.PrepareTime):]) + if err17 != nil { + return 0, err17 } - i -= n15 - i = encodeVarintGuard(dAtA, i, uint64(n15)) + i -= n17 + i = encodeVarintGuard(dAtA, i, uint64(n17)) i-- dAtA[i] = 0x32 if len(m.Questions) > 0 { @@ -2457,12 +2583,12 @@ func (m *CheckFileStoreMetaRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro i-- dAtA[i] = 0x2a } - n16, err16 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.RequestTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.RequestTime):]) - if err16 != nil { - return 0, err16 + n18, err18 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.RequestTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.RequestTime):]) + if err18 != nil { + return 0, err18 } - i -= n16 - i = encodeVarintGuard(dAtA, i, uint64(n16)) + i -= n18 + i = encodeVarintGuard(dAtA, i, uint64(n18)) i-- dAtA[i] = 0x22 if len(m.RequesterPid) > 0 { @@ -2513,12 +2639,12 @@ func (m *Result) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - n17, err17 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.ResponseTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.ResponseTime):]) - if err17 != nil { - return 0, err17 + n19, err19 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.ResponseTime, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.ResponseTime):]) + if err19 != nil { + return 0, err19 } - i -= n17 - i = encodeVarintGuard(dAtA, i, uint64(n17)) + i -= n19 + i = encodeVarintGuard(dAtA, i, uint64(n19)) i-- dAtA[i] = 0x1a if len(m.Message) > 0 { @@ -2679,6 +2805,19 @@ func (m *Contract) Size() (n int) { if l > 0 { n += 1 + l + sovGuard(uint64(l)) } + l = github_com_tron_us_protobuf_types.SizeOfStdTime(m.LastSuccessChallengeTime) + n += 1 + l + sovGuard(uint64(l)) + l = github_com_tron_us_protobuf_types.SizeOfStdTime(m.LastChallengeTime) + n += 1 + l + sovGuard(uint64(l)) + if m.ChallengeTimes != 0 { + n += 1 + sovGuard(uint64(m.ChallengeTimes)) + } + if m.ChallengeWarnTimes != 0 { + n += 1 + sovGuard(uint64(m.ChallengeWarnTimes)) + } + if m.ChallengeSuccessTimes != 0 { + n += 2 + sovGuard(uint64(m.ChallengeSuccessTimes)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -2732,6 +2871,15 @@ func (m *FileStoreMeta) Size() (n int) { if l > 0 { n += 1 + l + sovGuard(uint64(l)) } + if m.WarnChallengeTimesLimit != 0 { + n += 1 + sovGuard(uint64(m.WarnChallengeTimesLimit)) + } + if m.SuccessChallengeTimesLimit != 0 { + n += 1 + sovGuard(uint64(m.SuccessChallengeTimesLimit)) + } + if m.CheckFrequencyWarn != 0 { + n += 2 + sovGuard(uint64(m.CheckFrequencyWarn)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -3984,6 +4132,129 @@ func (m *Contract) Unmarshal(dAtA []byte) error { m.PreparerSignature = []byte{} } iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastSuccessChallengeTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGuard + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGuard + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGuard + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := github_com_tron_us_protobuf_types.StdTimeUnmarshal(&m.LastSuccessChallengeTime, dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastChallengeTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGuard + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGuard + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGuard + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := github_com_tron_us_protobuf_types.StdTimeUnmarshal(&m.LastChallengeTime, dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChallengeTimes", wireType) + } + m.ChallengeTimes = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGuard + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ChallengeTimes |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChallengeWarnTimes", wireType) + } + m.ChallengeWarnTimes = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGuard + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ChallengeWarnTimes |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChallengeSuccessTimes", wireType) + } + m.ChallengeSuccessTimes = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGuard + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ChallengeSuccessTimes |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGuard(dAtA[iNdEx:]) @@ -4365,6 +4636,63 @@ func (m *FileStoreMeta) Unmarshal(dAtA []byte) error { } m.GuardPid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WarnChallengeTimesLimit", wireType) + } + m.WarnChallengeTimesLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGuard + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WarnChallengeTimesLimit |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SuccessChallengeTimesLimit", wireType) + } + m.SuccessChallengeTimesLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGuard + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SuccessChallengeTimesLimit |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CheckFrequencyWarn", wireType) + } + m.CheckFrequencyWarn = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGuard + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CheckFrequencyWarn |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGuard(dAtA[iNdEx:]) diff --git a/protos/guard/guard.proto b/protos/guard/guard.proto index 8f61a8b..3570ab9 100644 --- a/protos/guard/guard.proto +++ b/protos/guard/guard.proto @@ -86,6 +86,7 @@ message Contract { CLOSED = 5; // the all work in such contract was done RENEWED = 6; // the contract got renewed OBSOLETE = 7; //the contract was replaced with some other contract after it was canceled or renewed + WARN = 8; //the shard is in warn status } ContractState state = 2; bytes renter_signature = 3; //renter’s signature for the sub contract @@ -103,6 +104,17 @@ message Contract { bytes guard_signature = 9; string preparer_pid = 10; //while the contract got renewed, some stakeholder take renter's place to prepare such contract bytes preparer_signature = 11; + google.protobuf.Timestamp last_success_challenge_time = 12 [ + (gogoproto.nullable) = false, + (gogoproto.stdtime) = true + ]; + google.protobuf.Timestamp last_challenge_time = 13 [ + (gogoproto.nullable) = false, + (gogoproto.stdtime) = true + ]; + int32 challenge_times = 14; //total challenge times till now + int32 challenge_warn_times = 15; //record times of timeout response after last success challenge time + int32 challenge_success_times = 16; //record times of success after the contract was put into the warn status } message FileStoreMeta { @@ -118,7 +130,7 @@ message FileStoreMeta { (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; //rent end time - int32 check_frequency = 6; // shard check frequency in a year, 1 means check once per year, 0 means check 12 per year(1 per month) + int32 check_frequency = 6; //reserve: shard check frequency in days, 1 means check once per day int64 guard_fee = 7; // reserve: the fee which guard will charge for supporting int64 escrow_fee = 8; //reserve: the fee which escrow will charge for supporting int32 shard_count = 9; //shard's count, by default is 30 @@ -126,6 +138,9 @@ message FileStoreMeta { int32 recover_threshold = 11; //reserved field, indicate the threshold for starting to recover string escrow_pid = 12; string guard_pid = 13; + int32 warn_challenge_times_limit = 14; //reserve: indicate how many times warn challenge will take the contract to cancel status, renter cannot set it now, use 7 as default + int32 success_challenge_times_limit = 15; //reserve: indicate how many times success will take the contract from warn status back to right, renter cannot set it now, use 1 as default + int32 check_frequency_warn = 16; //reserve: check frequency in days while in warn status, renter cannot set it now, use 1 as default } message FileStoreStatus {