const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type UtxoEntry struct {
- IsCoinBase bool `protobuf:"varint,1,opt,name=isCoinBase" json:"isCoinBase,omitempty"`
+ Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
BlockHeight uint64 `protobuf:"varint,2,opt,name=blockHeight" json:"blockHeight,omitempty"`
Spent bool `protobuf:"varint,3,opt,name=spent" json:"spent,omitempty"`
- IsCliam bool `protobuf:"varint,4,opt,name=isCliam" json:"isCliam,omitempty"`
}
func (m *UtxoEntry) Reset() { *m = UtxoEntry{} }
func (*UtxoEntry) ProtoMessage() {}
func (*UtxoEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-func (m *UtxoEntry) GetIsCoinBase() bool {
+func (m *UtxoEntry) GetType() uint32 {
if m != nil {
- return m.IsCoinBase
+ return m.Type
}
- return false
+ return 0
}
func (m *UtxoEntry) GetBlockHeight() uint64 {
return false
}
-func (m *UtxoEntry) GetIsCliam() bool {
- if m != nil {
- return m.IsCliam
- }
- return false
-}
-
func init() {
proto.RegisterType((*UtxoEntry)(nil), "chain.core.txdb.internal.storage.UtxoEntry")
}
func init() { proto.RegisterFile("storage.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
- // 171 bytes of a gzipped FileDescriptorProto
+ // 151 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2d, 0x2e, 0xc9, 0x2f,
0x4a, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x48, 0xce, 0x48, 0xcc, 0xcc,
0xd3, 0x4b, 0xce, 0x2f, 0x4a, 0xd5, 0x2b, 0xa9, 0x48, 0x49, 0xd2, 0xcb, 0xcc, 0x2b, 0x49, 0x2d,
- 0xca, 0x4b, 0xcc, 0xd1, 0x83, 0xaa, 0x53, 0xaa, 0xe5, 0xe2, 0x0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0x15, 0x18, 0x35, 0x38, 0x82, 0x20, 0x1c, 0x27, 0xce,
+ 0x28, 0x76, 0xa8, 0x1d, 0x49, 0x6c, 0x60, 0xc7, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x61,
+ 0x0a, 0x61, 0x8f, 0x9d, 0x00, 0x00, 0x00,
}