github.com/Bytom/bytom@v1.1.2-0.20210127130405-ae40204c0b09/database/storage/storage.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: storage.proto
     3  
     4  /*
     5  Package storage is a generated protocol buffer package.
     6  
     7  It is generated from these files:
     8  	storage.proto
     9  
    10  It has these top-level messages:
    11  	UtxoEntry
    12  */
    13  package storage
    14  
    15  import proto "github.com/golang/protobuf/proto"
    16  import fmt "fmt"
    17  import math "math"
    18  
    19  // Reference imports to suppress errors if they are not otherwise used.
    20  var _ = proto.Marshal
    21  var _ = fmt.Errorf
    22  var _ = math.Inf
    23  
    24  // This is a compile-time assertion to ensure that this generated file
    25  // is compatible with the proto package it is being compiled against.
    26  // A compilation error at this line likely means your copy of the
    27  // proto package needs to be updated.
    28  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    29  
    30  type UtxoEntry struct {
    31  	IsCoinBase  bool   `protobuf:"varint,1,opt,name=isCoinBase" json:"isCoinBase,omitempty"`
    32  	BlockHeight uint64 `protobuf:"varint,2,opt,name=blockHeight" json:"blockHeight,omitempty"`
    33  	Spent       bool   `protobuf:"varint,3,opt,name=spent" json:"spent,omitempty"`
    34  }
    35  
    36  func (m *UtxoEntry) Reset()                    { *m = UtxoEntry{} }
    37  func (m *UtxoEntry) String() string            { return proto.CompactTextString(m) }
    38  func (*UtxoEntry) ProtoMessage()               {}
    39  func (*UtxoEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    40  
    41  func (m *UtxoEntry) GetIsCoinBase() bool {
    42  	if m != nil {
    43  		return m.IsCoinBase
    44  	}
    45  	return false
    46  }
    47  
    48  func (m *UtxoEntry) GetBlockHeight() uint64 {
    49  	if m != nil {
    50  		return m.BlockHeight
    51  	}
    52  	return 0
    53  }
    54  
    55  func (m *UtxoEntry) GetSpent() bool {
    56  	if m != nil {
    57  		return m.Spent
    58  	}
    59  	return false
    60  }
    61  
    62  func init() {
    63  	proto.RegisterType((*UtxoEntry)(nil), "chain.core.txdb.internal.storage.UtxoEntry")
    64  }
    65  
    66  func init() { proto.RegisterFile("storage.proto", fileDescriptor0) }
    67  
    68  var fileDescriptor0 = []byte{
    69  	// 154 bytes of a gzipped FileDescriptorProto
    70  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2d, 0x2e, 0xc9, 0x2f,
    71  	0x4a, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x48, 0xce, 0x48, 0xcc, 0xcc,
    72  	0xd3, 0x4b, 0xce, 0x2f, 0x4a, 0xd5, 0x2b, 0xa9, 0x48, 0x49, 0xd2, 0xcb, 0xcc, 0x2b, 0x49, 0x2d,
    73  	0xca, 0x4b, 0xcc, 0xd1, 0x83, 0xaa, 0x53, 0x4a, 0xe6, 0xe2, 0x0c, 0x2d, 0xa9, 0xc8, 0x77, 0xcd,
    74  	0x2b, 0x29, 0xaa, 0x14, 0x92, 0xe3, 0xe2, 0xca, 0x2c, 0x76, 0xce, 0xcf, 0xcc, 0x73, 0x4a, 0x2c,
    75  	0x4e, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x08, 0x42, 0x12, 0x11, 0x52, 0xe0, 0xe2, 0x4e, 0xca,
    76  	0xc9, 0x4f, 0xce, 0xf6, 0x48, 0xcd, 0x4c, 0xcf, 0x28, 0x91, 0x60, 0x52, 0x60, 0xd4, 0x60, 0x09,
    77  	0x42, 0x16, 0x12, 0x12, 0xe1, 0x62, 0x2d, 0x2e, 0x48, 0xcd, 0x2b, 0x91, 0x60, 0x06, 0x6b, 0x86,
    78  	0x70, 0x9c, 0x38, 0xa3, 0xd8, 0xa1, 0xf6, 0x25, 0xb1, 0x81, 0x1d, 0x66, 0x0c, 0x08, 0x00, 0x00,
    79  	0xff, 0xff, 0xcf, 0xe4, 0x5a, 0x5c, 0xa9, 0x00, 0x00, 0x00,
    80  }