diff --git a/protos/node/node.pb.go b/protos/node/node.pb.go index e7479b2..4019514 100644 --- a/protos/node/node.pb.go +++ b/protos/node/node.pb.go @@ -55,6 +55,7 @@ type Node struct { NodeIp string `protobuf:"bytes,22,opt,name=node_ip,json=nodeIp,proto3" json:"node_ip,omitempty" pg:"node_ip"` PeersConnected uint64 `protobuf:"varint,23,opt,name=peers_connected,json=peersConnected,proto3" json:"peers_connected,omitempty" pg:"peers_connected"` TimeCreated time.Time `protobuf:"bytes,24,opt,name=time_created,json=timeCreated,proto3,stdtime" json:"time_created" pg:"time_created"` + HVal string `protobuf:"bytes,25,opt,name=h_val,json=hVal,proto3" json:"h_val,omitempty" pg:"h_val"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` @@ -254,6 +255,13 @@ func (m *Node) GetTimeCreated() time.Time { return time.Time{} } +func (m *Node) GetHVal() string { + if m != nil { + return m.HVal + } + return "" +} + func (*Node) XXX_MessageName() string { return "node.Node" } @@ -351,56 +359,57 @@ func init() { proto.RegisterFile("protos/node/node.proto", fileDescriptor_35f8e1 func init() { golang_proto.RegisterFile("protos/node/node.proto", fileDescriptor_35f8e1f5ec2240a2) } var fileDescriptor_35f8e1f5ec2240a2 = []byte{ - // 772 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x54, 0x41, 0x6f, 0x23, 0x35, - 0x14, 0xc6, 0x4b, 0x48, 0x13, 0xa7, 0x9b, 0xb6, 0xee, 0xd2, 0x35, 0x41, 0x4a, 0x4a, 0x25, 0x44, - 0x40, 0x65, 0xba, 0x80, 0x38, 0xb0, 0x12, 0x07, 0xda, 0x95, 0xd0, 0x4a, 0xb0, 0xaa, 0x66, 0xdb, - 0x3d, 0x70, 0xb1, 0x9c, 0x19, 0x27, 0xb5, 0x32, 0x63, 0x5b, 0x63, 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 0xd7, 0x88, 0xa4, 0x3d, 0x88, - 0x3c, 0x89, 0x81, 0x83, 0x7f, 0x09, 0xed, 0x34, 0xad, 0x65, 0x5f, 0xd1, 0x9d, 0x87, 0x13, 0x96, - 0x7e, 0x8e, 0xeb, 0xd9, 0x4a, 0xb7, 0xd6, 0x07, 0xfc, 0x93, 0x9f, 0xb3, 0x84, 0xee, 0xbe, 0x3f, - 0x5f, 0x50, 0x3f, 0x42, 0xf5, 0xce, 0xc3, 0xf1, 0x82, 0x7e, 0x4c, 0x1b, 0x8f, 0xe0, 0x9a, 0x89, - 0x52, 0xc7, 0x45, 0x6c, 0xa5, 0xfd, 0x05, 0x0e, 0x77, 0xfd, 0x55, 0x1b, 0x68, 0xc2, 0x2a, 0x73, - 0xa1, 0x4b, 0x1d, 0x70, 0x27, 0x49, 0xda, 0x5f, 0xc2, 0xbf, 0x00, 0xca, 0xbe, 0xa4, 0xdb, 0x99, - 0x2d, 0x0a, 0x19, 0x54, 0x25, 0x0b, 0xe1, 0x83, 0x9c, 0xab, 0xc5, 0x7e, 0x6e, 0xad, 0xf0, 0xd7, - 0x00, 0x1f, 0xff, 0x78, 0xff, 0xcf, 0x90, 0x5c, 0xdf, 0x0e, 0xc9, 0xbb, 0xdb, 0x21, 0xf9, 0xfb, - 0x76, 0x48, 0xfe, 0xb8, 0x1b, 0x92, 0x3f, 0xef, 0x86, 0xe4, 0xfa, 0x6e, 0x48, 0xe8, 0xa6, 0xb6, - 0x09, 0xbc, 0x06, 0x68, 0xb7, 0xe3, 0x2e, 0xf8, 0xed, 0x14, 0x3a, 0x78, 0x4a, 0x7e, 0xc3, 0xc7, - 0x70, 0xd2, 0xc6, 0x86, 0x7e, 0xf7, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x52, 0x46, 0xb3, 0xd8, - 0x33, 0x05, 0x00, 0x00, + // 788 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 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, 0xce, + 0xfc, 0xa1, 0x2c, 0xb4, 0xf4, 0x2f, 0xc3, 0x61, 0xae, 0x7d, 0x26, 0xab, 0x5c, 0xd4, 0x66, 0x66, + 0xec, 0x95, 0x11, 0x99, 0x2d, 0xea, 0xd2, 0xf8, 0x83, 0xb4, 0x8d, 0x89, 0xde, 0xc8, 0x52, 0xb1, + 0x67, 0x74, 0x03, 0x63, 0x75, 0xce, 0x1f, 0x41, 0xca, 0xb4, 0x09, 0xc7, 0xd7, 0x39, 0xfb, 0x84, + 0x6e, 0x8e, 0xc2, 0xd8, 0x8b, 0x4b, 0x55, 0x79, 0x6d, 0x0d, 0xff, 0x10, 0xd9, 0x0e, 0x60, 0x17, + 0x11, 0x82, 0xd8, 0xda, 0x09, 0xb8, 0x30, 0x6f, 0xec, 0x93, 0x61, 0x23, 0x6d, 0xd6, 0xee, 0x4c, + 0x97, 0x0a, 0x62, 0x7d, 0xb0, 0x95, 0x9c, 0x28, 0x51, 0x7b, 0x95, 0xf3, 0xc7, 0xc8, 0x76, 0xe6, + 0xd8, 0xb9, 0x57, 0x39, 0x3b, 0xa4, 0x6c, 0x21, 0xb9, 0x84, 0x6b, 0x29, 0x91, 0x49, 0xc7, 0x9b, + 0x28, 0xdc, 0x9e, 0x33, 0x17, 0x48, 0x9c, 0x48, 0xc7, 0x06, 0xb4, 0x53, 0xaa, 0xd2, 0x56, 0xd7, + 0x31, 0xdf, 0x06, 0xca, 0x68, 0x84, 0x30, 0xdd, 0x73, 0xda, 0xca, 0x5c, 0x1d, 0xd9, 0xd6, 0x3e, + 0x19, 0x92, 0x74, 0x23, 0x73, 0x35, 0x52, 0x7b, 0xb4, 0x59, 0xbb, 0xc2, 0xca, 0x9c, 0xb7, 0x17, + 0x97, 0x84, 0x13, 0xeb, 0xd1, 0x56, 0x6e, 0xaf, 0x0c, 0x32, 0x14, 0x99, 0xe5, 0x19, 0x0a, 0x08, + 0x36, 0xc8, 0x42, 0xcc, 0x23, 0x3b, 0xb1, 0x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 0xfb, 0x7d, 0x9f, 0xfc, 0x71, 0xdf, 0x27, 0x37, 0xf7, 0x7d, 0x42, 0x37, 0xb5, + 0x4d, 0xe0, 0x89, 0x40, 0x0f, 0x1e, 0xb7, 0xc1, 0x84, 0xa7, 0xd0, 0xd6, 0x53, 0xf2, 0x0b, 0xbe, + 0x90, 0xa3, 0x26, 0x76, 0xf9, 0x9b, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf3, 0xf9, 0x11, 0x56, + 0x48, 0x05, 0x00, 0x00, } func (m *Node) Marshal() (dAtA []byte, err error) { @@ -427,6 +436,15 @@ func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.HVal) > 0 { + i -= len(m.HVal) + copy(dAtA[i:], m.HVal) + i = encodeVarintNode(dAtA, i, uint64(len(m.HVal))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } n1, err1 := github_com_tron_us_protobuf_types.StdTimeMarshalTo(m.TimeCreated, dAtA[i-github_com_tron_us_protobuf_types.SizeOfStdTime(m.TimeCreated):]) if err1 != nil { return 0, err1 @@ -690,8 +708,9 @@ func NewPopulatedNode(r randyNode, easy bool) *Node { this.PeersConnected = uint64(uint64(r.Uint32())) v2 := github_com_tron_us_protobuf_types.NewPopulatedStdTime(r, easy) this.TimeCreated = *v2 + this.HVal = string(randStringNode(r)) if !easy && r.Intn(10) != 0 { - this.XXX_unrecognized = randUnrecognizedNode(r, 25) + this.XXX_unrecognized = randUnrecognizedNode(r, 26) } return this } @@ -867,6 +886,10 @@ func (m *Node) Size() (n int) { } l = github_com_tron_us_protobuf_types.SizeOfStdTime(m.TimeCreated) n += 2 + l + sovNode(uint64(l)) + l = len(m.HVal) + if l > 0 { + n += 2 + l + sovNode(uint64(l)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -1494,6 +1517,38 @@ func (m *Node) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 25: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HVal", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowNode + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthNode + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthNode + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HVal = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipNode(dAtA[iNdEx:]) diff --git a/protos/node/node.proto b/protos/node/node.proto index 08f0567..dfa9823 100644 --- a/protos/node/node.proto +++ b/protos/node/node.proto @@ -58,4 +58,5 @@ message Node { (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; + string h_val = 25; }