OSDN Git Service

writer close
[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         Type        uint32 `protobuf:"varint,1,opt,name=type" json:"type,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) GetType() uint32 {
42         if m != nil {
43                 return m.Type
44         }
45         return 0
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         // 151 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, 0x0a, 0xe7, 0xe2, 0x0c, 0x2d, 0xa9, 0xc8, 0x77, 0xcd,
74         0x2b, 0x29, 0xaa, 0x14, 0x12, 0xe2, 0x62, 0x29, 0xa9, 0x2c, 0x48, 0x95, 0x60, 0x54, 0x60, 0xd4,
75         0xe0, 0x0d, 0x02, 0xb3, 0x85, 0x14, 0xb8, 0xb8, 0x93, 0x72, 0xf2, 0x93, 0xb3, 0x3d, 0x52, 0x33,
76         0xd3, 0x33, 0x4a, 0x24, 0x98, 0x14, 0x18, 0x35, 0x58, 0x82, 0x90, 0x85, 0x84, 0x44, 0xb8, 0x58,
77         0x8b, 0x0b, 0x52, 0xf3, 0x4a, 0x24, 0x98, 0x15, 0x18, 0x35, 0x38, 0x82, 0x20, 0x1c, 0x27, 0xce,
78         0x28, 0x76, 0xa8, 0x1d, 0x49, 0x6c, 0x60, 0xc7, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x61,
79         0x0a, 0x61, 0x8f, 0x9d, 0x00, 0x00, 0x00,
80 }