OSDN Git Service

new repo
[bytom/vapor.git] / database / storage / storage.pb.go
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         IsCliam     bool   `protobuf:"varint,4,opt,name=isCliam" json:"isCliam,omitempty"`
35 }
36
37 func (m *UtxoEntry) Reset()                    { *m = UtxoEntry{} }
38 func (m *UtxoEntry) String() string            { return proto.CompactTextString(m) }
39 func (*UtxoEntry) ProtoMessage()               {}
40 func (*UtxoEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
41
42 func (m *UtxoEntry) GetIsCoinBase() bool {
43         if m != nil {
44                 return m.IsCoinBase
45         }
46         return false
47 }
48
49 func (m *UtxoEntry) GetBlockHeight() uint64 {
50         if m != nil {
51                 return m.BlockHeight
52         }
53         return 0
54 }
55
56 func (m *UtxoEntry) GetSpent() bool {
57         if m != nil {
58                 return m.Spent
59         }
60         return false
61 }
62
63 func (m *UtxoEntry) GetIsCliam() bool {
64         if m != nil {
65                 return m.IsCliam
66         }
67         return false
68 }
69
70 func init() {
71         proto.RegisterType((*UtxoEntry)(nil), "chain.core.txdb.internal.storage.UtxoEntry")
72 }
73
74 func init() { proto.RegisterFile("storage.proto", fileDescriptor0) }
75
76 var fileDescriptor0 = []byte{
77         // 171 bytes of a gzipped FileDescriptorProto
78         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2d, 0x2e, 0xc9, 0x2f,
79         0x4a, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x48, 0xce, 0x48, 0xcc, 0xcc,
80         0xd3, 0x4b, 0xce, 0x2f, 0x4a, 0xd5, 0x2b, 0xa9, 0x48, 0x49, 0xd2, 0xcb, 0xcc, 0x2b, 0x49, 0x2d,
81         0xca, 0x4b, 0xcc, 0xd1, 0x83, 0xaa, 0x53, 0xaa, 0xe5, 0xe2, 0x0c, 0x2d, 0xa9, 0xc8, 0x77, 0xcd,
82         0x2b, 0x29, 0xaa, 0x14, 0x92, 0xe3, 0xe2, 0xca, 0x2c, 0x76, 0xce, 0xcf, 0xcc, 0x73, 0x4a, 0x2c,
83         0x4e, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x08, 0x42, 0x12, 0x11, 0x52, 0xe0, 0xe2, 0x4e, 0xca,
84         0xc9, 0x4f, 0xce, 0xf6, 0x48, 0xcd, 0x4c, 0xcf, 0x28, 0x91, 0x60, 0x52, 0x60, 0xd4, 0x60, 0x09,
85         0x42, 0x16, 0x12, 0x12, 0xe1, 0x62, 0x2d, 0x2e, 0x48, 0xcd, 0x2b, 0x91, 0x60, 0x06, 0x6b, 0x86,
86         0x70, 0x84, 0x24, 0xb8, 0xd8, 0x33, 0x8b, 0x9d, 0x73, 0x32, 0x13, 0x73, 0x25, 0x58, 0xc0, 0xe2,
87         0x30, 0xae, 0x13, 0x67, 0x14, 0x3b, 0xd4, 0x25, 0x49, 0x6c, 0x60, 0x27, 0x1b, 0x03, 0x02, 0x00,
88         0x00, 0xff, 0xff, 0xd0, 0x13, 0x95, 0x73, 0xc3, 0x00, 0x00, 0x00,
89 }