384 lines
14 KiB
Go
384 lines
14 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: command.proto
|
|
|
|
package protobuf
|
|
|
|
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 RequestAddressForTransaction struct {
|
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RequestAddressForTransaction) Reset() { *m = RequestAddressForTransaction{} }
|
|
func (m *RequestAddressForTransaction) String() string { return proto.CompactTextString(m) }
|
|
func (*RequestAddressForTransaction) ProtoMessage() {}
|
|
func (*RequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_213c0bb044472049, []int{0}
|
|
}
|
|
|
|
func (m *RequestAddressForTransaction) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RequestAddressForTransaction.Unmarshal(m, b)
|
|
}
|
|
func (m *RequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RequestAddressForTransaction.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RequestAddressForTransaction) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestAddressForTransaction.Merge(m, src)
|
|
}
|
|
func (m *RequestAddressForTransaction) XXX_Size() int {
|
|
return xxx_messageInfo_RequestAddressForTransaction.Size(m)
|
|
}
|
|
func (m *RequestAddressForTransaction) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestAddressForTransaction.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestAddressForTransaction proto.InternalMessageInfo
|
|
|
|
func (m *RequestAddressForTransaction) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *RequestAddressForTransaction) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestAddressForTransaction) GetContract() string {
|
|
if m != nil {
|
|
return m.Contract
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AcceptRequestAddressForTransaction struct {
|
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AcceptRequestAddressForTransaction) Reset() { *m = AcceptRequestAddressForTransaction{} }
|
|
func (m *AcceptRequestAddressForTransaction) String() string { return proto.CompactTextString(m) }
|
|
func (*AcceptRequestAddressForTransaction) ProtoMessage() {}
|
|
func (*AcceptRequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_213c0bb044472049, []int{1}
|
|
}
|
|
|
|
func (m *AcceptRequestAddressForTransaction) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AcceptRequestAddressForTransaction.Unmarshal(m, b)
|
|
}
|
|
func (m *AcceptRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AcceptRequestAddressForTransaction.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AcceptRequestAddressForTransaction) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AcceptRequestAddressForTransaction.Merge(m, src)
|
|
}
|
|
func (m *AcceptRequestAddressForTransaction) XXX_Size() int {
|
|
return xxx_messageInfo_AcceptRequestAddressForTransaction.Size(m)
|
|
}
|
|
func (m *AcceptRequestAddressForTransaction) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AcceptRequestAddressForTransaction.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AcceptRequestAddressForTransaction proto.InternalMessageInfo
|
|
|
|
func (m *AcceptRequestAddressForTransaction) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AcceptRequestAddressForTransaction) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AcceptRequestAddressForTransaction) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeclineRequestAddressForTransaction struct {
|
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeclineRequestAddressForTransaction) Reset() { *m = DeclineRequestAddressForTransaction{} }
|
|
func (m *DeclineRequestAddressForTransaction) String() string { return proto.CompactTextString(m) }
|
|
func (*DeclineRequestAddressForTransaction) ProtoMessage() {}
|
|
func (*DeclineRequestAddressForTransaction) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_213c0bb044472049, []int{2}
|
|
}
|
|
|
|
func (m *DeclineRequestAddressForTransaction) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeclineRequestAddressForTransaction.Unmarshal(m, b)
|
|
}
|
|
func (m *DeclineRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeclineRequestAddressForTransaction.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeclineRequestAddressForTransaction) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeclineRequestAddressForTransaction.Merge(m, src)
|
|
}
|
|
func (m *DeclineRequestAddressForTransaction) XXX_Size() int {
|
|
return xxx_messageInfo_DeclineRequestAddressForTransaction.Size(m)
|
|
}
|
|
func (m *DeclineRequestAddressForTransaction) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeclineRequestAddressForTransaction.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeclineRequestAddressForTransaction proto.InternalMessageInfo
|
|
|
|
func (m *DeclineRequestAddressForTransaction) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeclineRequestAddressForTransaction) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeclineRequestTransaction struct {
|
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeclineRequestTransaction) Reset() { *m = DeclineRequestTransaction{} }
|
|
func (m *DeclineRequestTransaction) String() string { return proto.CompactTextString(m) }
|
|
func (*DeclineRequestTransaction) ProtoMessage() {}
|
|
func (*DeclineRequestTransaction) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_213c0bb044472049, []int{3}
|
|
}
|
|
|
|
func (m *DeclineRequestTransaction) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeclineRequestTransaction.Unmarshal(m, b)
|
|
}
|
|
func (m *DeclineRequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeclineRequestTransaction.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DeclineRequestTransaction) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeclineRequestTransaction.Merge(m, src)
|
|
}
|
|
func (m *DeclineRequestTransaction) XXX_Size() int {
|
|
return xxx_messageInfo_DeclineRequestTransaction.Size(m)
|
|
}
|
|
func (m *DeclineRequestTransaction) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeclineRequestTransaction.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeclineRequestTransaction proto.InternalMessageInfo
|
|
|
|
func (m *DeclineRequestTransaction) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeclineRequestTransaction) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RequestTransaction struct {
|
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
Contract string `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RequestTransaction) Reset() { *m = RequestTransaction{} }
|
|
func (m *RequestTransaction) String() string { return proto.CompactTextString(m) }
|
|
func (*RequestTransaction) ProtoMessage() {}
|
|
func (*RequestTransaction) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_213c0bb044472049, []int{4}
|
|
}
|
|
|
|
func (m *RequestTransaction) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RequestTransaction.Unmarshal(m, b)
|
|
}
|
|
func (m *RequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RequestTransaction.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RequestTransaction) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RequestTransaction.Merge(m, src)
|
|
}
|
|
func (m *RequestTransaction) XXX_Size() int {
|
|
return xxx_messageInfo_RequestTransaction.Size(m)
|
|
}
|
|
func (m *RequestTransaction) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RequestTransaction.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RequestTransaction proto.InternalMessageInfo
|
|
|
|
func (m *RequestTransaction) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *RequestTransaction) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestTransaction) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RequestTransaction) GetContract() string {
|
|
if m != nil {
|
|
return m.Contract
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SendTransaction struct {
|
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
TransactionHash string `protobuf:"bytes,3,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
|
|
Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SendTransaction) Reset() { *m = SendTransaction{} }
|
|
func (m *SendTransaction) String() string { return proto.CompactTextString(m) }
|
|
func (*SendTransaction) ProtoMessage() {}
|
|
func (*SendTransaction) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_213c0bb044472049, []int{5}
|
|
}
|
|
|
|
func (m *SendTransaction) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SendTransaction.Unmarshal(m, b)
|
|
}
|
|
func (m *SendTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SendTransaction.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SendTransaction) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SendTransaction.Merge(m, src)
|
|
}
|
|
func (m *SendTransaction) XXX_Size() int {
|
|
return xxx_messageInfo_SendTransaction.Size(m)
|
|
}
|
|
func (m *SendTransaction) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SendTransaction.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SendTransaction proto.InternalMessageInfo
|
|
|
|
func (m *SendTransaction) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SendTransaction) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SendTransaction) GetTransactionHash() string {
|
|
if m != nil {
|
|
return m.TransactionHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SendTransaction) GetSignature() []byte {
|
|
if m != nil {
|
|
return m.Signature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*RequestAddressForTransaction)(nil), "protobuf.RequestAddressForTransaction")
|
|
proto.RegisterType((*AcceptRequestAddressForTransaction)(nil), "protobuf.AcceptRequestAddressForTransaction")
|
|
proto.RegisterType((*DeclineRequestAddressForTransaction)(nil), "protobuf.DeclineRequestAddressForTransaction")
|
|
proto.RegisterType((*DeclineRequestTransaction)(nil), "protobuf.DeclineRequestTransaction")
|
|
proto.RegisterType((*RequestTransaction)(nil), "protobuf.RequestTransaction")
|
|
proto.RegisterType((*SendTransaction)(nil), "protobuf.SendTransaction")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("command.proto", fileDescriptor_213c0bb044472049) }
|
|
|
|
var fileDescriptor_213c0bb044472049 = []byte{
|
|
// 257 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x41, 0x4b, 0x03, 0x31,
|
|
0x10, 0x85, 0xd9, 0x6d, 0xd5, 0x76, 0x50, 0x2b, 0xc1, 0xc3, 0x2a, 0x3d, 0x94, 0x78, 0xa9, 0x17,
|
|
0x2f, 0xfe, 0x82, 0x05, 0x11, 0xc1, 0xdb, 0xea, 0x5d, 0xa6, 0x93, 0xa9, 0x1b, 0xdc, 0x26, 0x35,
|
|
0xc9, 0xf6, 0xec, 0x4f, 0x17, 0xb3, 0xab, 0xdb, 0x0a, 0x82, 0xab, 0xa7, 0xf0, 0x5e, 0x78, 0xf3,
|
|
0x65, 0x1e, 0x81, 0x23, 0xb2, 0xab, 0x15, 0x1a, 0x75, 0xb5, 0x76, 0x36, 0x58, 0x31, 0x8a, 0xc7,
|
|
0xa2, 0x5e, 0xca, 0x25, 0x4c, 0x0b, 0x7e, 0xad, 0xd9, 0x87, 0x5c, 0x29, 0xc7, 0xde, 0xdf, 0x5a,
|
|
0xf7, 0xe8, 0xd0, 0x78, 0xa4, 0xa0, 0xad, 0x11, 0xa7, 0xb0, 0x47, 0x95, 0xa5, 0x97, 0x2c, 0x99,
|
|
0x25, 0xf3, 0x61, 0xd1, 0x88, 0x0f, 0x77, 0x83, 0x55, 0xcd, 0x59, 0x3a, 0x4b, 0xe6, 0xe3, 0xa2,
|
|
0x11, 0xe2, 0x1c, 0x46, 0x64, 0x4d, 0x70, 0x48, 0x21, 0x1b, 0xc4, 0x8b, 0x2f, 0x2d, 0x15, 0xc8,
|
|
0x9c, 0x88, 0xd7, 0xe1, 0x0f, 0xb4, 0x63, 0x48, 0xb5, 0x6a, 0x51, 0xa9, 0x56, 0x22, 0x83, 0x03,
|
|
0x6c, 0xe2, 0x2d, 0xe6, 0x53, 0xca, 0x7b, 0xb8, 0xb8, 0x61, 0xaa, 0xb4, 0xe1, 0xff, 0x63, 0x64,
|
|
0x0e, 0x67, 0xbb, 0xc3, 0xfa, 0x8f, 0xd8, 0x80, 0xf8, 0x75, 0x76, 0x6b, 0xab, 0x74, 0x67, 0xab,
|
|
0xae, 0xed, 0xc1, 0x4f, 0x6d, 0x0f, 0xbf, 0xb5, 0xfd, 0x96, 0xc0, 0xe4, 0x81, 0x8d, 0xea, 0xdf,
|
|
0xed, 0x25, 0x9c, 0x84, 0x2e, 0xf4, 0x54, 0xa2, 0x2f, 0x5b, 0xec, 0x64, 0xcb, 0xbf, 0x43, 0x5f,
|
|
0x8a, 0x29, 0x8c, 0xbd, 0x7e, 0x36, 0x18, 0x6a, 0xc7, 0xf1, 0x05, 0x87, 0x45, 0x67, 0x2c, 0xf6,
|
|
0xe3, 0x17, 0xbb, 0x7e, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x13, 0xdb, 0x87, 0x02, 0x7a, 0x02, 0x00,
|
|
0x00,
|
|
}
|