160 lines
6.3 KiB
Go
160 lines
6.3 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: storage.proto
|
|
|
|
package blkstorage
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type TxIDIndexValue struct {
|
|
BlkLocation []byte `protobuf:"bytes,1,opt,name=blk_location,json=blkLocation,proto3" json:"blk_location,omitempty"`
|
|
TxLocation []byte `protobuf:"bytes,2,opt,name=tx_location,json=txLocation,proto3" json:"tx_location,omitempty"`
|
|
TxValidationCode int32 `protobuf:"varint,3,opt,name=tx_validation_code,json=txValidationCode,proto3" json:"tx_validation_code,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TxIDIndexValue) Reset() { *m = TxIDIndexValue{} }
|
|
func (m *TxIDIndexValue) String() string { return proto.CompactTextString(m) }
|
|
func (*TxIDIndexValue) ProtoMessage() {}
|
|
func (*TxIDIndexValue) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_0d2c4ccf1453ffdb, []int{0}
|
|
}
|
|
|
|
func (m *TxIDIndexValue) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TxIDIndexValue.Unmarshal(m, b)
|
|
}
|
|
func (m *TxIDIndexValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TxIDIndexValue.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TxIDIndexValue) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TxIDIndexValue.Merge(m, src)
|
|
}
|
|
func (m *TxIDIndexValue) XXX_Size() int {
|
|
return xxx_messageInfo_TxIDIndexValue.Size(m)
|
|
}
|
|
func (m *TxIDIndexValue) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TxIDIndexValue.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TxIDIndexValue proto.InternalMessageInfo
|
|
|
|
func (m *TxIDIndexValue) GetBlkLocation() []byte {
|
|
if m != nil {
|
|
return m.BlkLocation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TxIDIndexValue) GetTxLocation() []byte {
|
|
if m != nil {
|
|
return m.TxLocation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TxIDIndexValue) GetTxValidationCode() int32 {
|
|
if m != nil {
|
|
return m.TxValidationCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BootstrappingSnapshotInfo struct {
|
|
LastBlockNum uint64 `protobuf:"varint,1,opt,name=lastBlockNum,proto3" json:"lastBlockNum,omitempty"`
|
|
LastBlockHash []byte `protobuf:"bytes,2,opt,name=lastBlockHash,proto3" json:"lastBlockHash,omitempty"`
|
|
PreviousBlockHash []byte `protobuf:"bytes,3,opt,name=previousBlockHash,proto3" json:"previousBlockHash,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BootstrappingSnapshotInfo) Reset() { *m = BootstrappingSnapshotInfo{} }
|
|
func (m *BootstrappingSnapshotInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*BootstrappingSnapshotInfo) ProtoMessage() {}
|
|
func (*BootstrappingSnapshotInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_0d2c4ccf1453ffdb, []int{1}
|
|
}
|
|
|
|
func (m *BootstrappingSnapshotInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BootstrappingSnapshotInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *BootstrappingSnapshotInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BootstrappingSnapshotInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *BootstrappingSnapshotInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BootstrappingSnapshotInfo.Merge(m, src)
|
|
}
|
|
func (m *BootstrappingSnapshotInfo) XXX_Size() int {
|
|
return xxx_messageInfo_BootstrappingSnapshotInfo.Size(m)
|
|
}
|
|
func (m *BootstrappingSnapshotInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BootstrappingSnapshotInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BootstrappingSnapshotInfo proto.InternalMessageInfo
|
|
|
|
func (m *BootstrappingSnapshotInfo) GetLastBlockNum() uint64 {
|
|
if m != nil {
|
|
return m.LastBlockNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *BootstrappingSnapshotInfo) GetLastBlockHash() []byte {
|
|
if m != nil {
|
|
return m.LastBlockHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BootstrappingSnapshotInfo) GetPreviousBlockHash() []byte {
|
|
if m != nil {
|
|
return m.PreviousBlockHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*TxIDIndexValue)(nil), "msgs.txIDIndexValue")
|
|
proto.RegisterType((*BootstrappingSnapshotInfo)(nil), "msgs.bootstrappingSnapshotInfo")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("storage.proto", fileDescriptor_0d2c4ccf1453ffdb) }
|
|
|
|
var fileDescriptor_0d2c4ccf1453ffdb = []byte{
|
|
// 271 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0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