176 lines
5.5 KiB
Go
176 lines
5.5 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: tx.proto
|
|
|
|
/*
|
|
Package eth is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
tx.proto
|
|
|
|
It has these top-level messages:
|
|
ProtoTransaction
|
|
*/
|
|
package eth
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type ProtoTransaction struct {
|
|
AccountNonce uint64 `protobuf:"varint,1,opt,name=AccountNonce" json:"AccountNonce,omitempty"`
|
|
Price []byte `protobuf:"bytes,2,opt,name=Price,proto3" json:"Price,omitempty"`
|
|
GasLimit uint64 `protobuf:"varint,3,opt,name=GasLimit" json:"GasLimit,omitempty"`
|
|
Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`
|
|
Payload []byte `protobuf:"bytes,5,opt,name=Payload,proto3" json:"Payload,omitempty"`
|
|
Hash []byte `protobuf:"bytes,6,opt,name=Hash,proto3" json:"Hash,omitempty"`
|
|
BlockNumber uint32 `protobuf:"varint,7,opt,name=BlockNumber" json:"BlockNumber,omitempty"`
|
|
BlockTime uint64 `protobuf:"varint,8,opt,name=BlockTime" json:"BlockTime,omitempty"`
|
|
To []byte `protobuf:"bytes,9,opt,name=To,proto3" json:"To,omitempty"`
|
|
From []byte `protobuf:"bytes,10,opt,name=From,proto3" json:"From,omitempty"`
|
|
TransactionIndex uint32 `protobuf:"varint,11,opt,name=TransactionIndex" json:"TransactionIndex,omitempty"`
|
|
V []byte `protobuf:"bytes,12,opt,name=V,proto3" json:"V,omitempty"`
|
|
R []byte `protobuf:"bytes,13,opt,name=R,proto3" json:"R,omitempty"`
|
|
S []byte `protobuf:"bytes,14,opt,name=S,proto3" json:"S,omitempty"`
|
|
}
|
|
|
|
func (m *ProtoTransaction) Reset() { *m = ProtoTransaction{} }
|
|
func (m *ProtoTransaction) String() string { return proto.CompactTextString(m) }
|
|
func (*ProtoTransaction) ProtoMessage() {}
|
|
func (*ProtoTransaction) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *ProtoTransaction) GetAccountNonce() uint64 {
|
|
if m != nil {
|
|
return m.AccountNonce
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetPrice() []byte {
|
|
if m != nil {
|
|
return m.Price
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetGasLimit() uint64 {
|
|
if m != nil {
|
|
return m.GasLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetValue() []byte {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetPayload() []byte {
|
|
if m != nil {
|
|
return m.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetHash() []byte {
|
|
if m != nil {
|
|
return m.Hash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetBlockNumber() uint32 {
|
|
if m != nil {
|
|
return m.BlockNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetBlockTime() uint64 {
|
|
if m != nil {
|
|
return m.BlockTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetTo() []byte {
|
|
if m != nil {
|
|
return m.To
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetFrom() []byte {
|
|
if m != nil {
|
|
return m.From
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetTransactionIndex() uint32 {
|
|
if m != nil {
|
|
return m.TransactionIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetV() []byte {
|
|
if m != nil {
|
|
return m.V
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetR() []byte {
|
|
if m != nil {
|
|
return m.R
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoTransaction) GetS() []byte {
|
|
if m != nil {
|
|
return m.S
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ProtoTransaction)(nil), "eth.ProtoTransaction")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("tx.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 262 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xbd, 0x6a, 0xeb, 0x40,
|
|
0x10, 0x85, 0x59, 0x59, 0xb6, 0xe5, 0xb1, 0x6c, 0xcc, 0x70, 0x8b, 0xe1, 0x92, 0x42, 0xb8, 0x12,
|
|
0x29, 0xd2, 0xe4, 0x09, 0x92, 0x22, 0x3f, 0x10, 0x8c, 0x90, 0x85, 0xfa, 0xf5, 0x7a, 0xc1, 0x22,
|
|
0x92, 0x26, 0x48, 0x2b, 0x70, 0x5e, 0x38, 0xcf, 0x11, 0x76, 0x44, 0x12, 0x87, 0x74, 0xf3, 0x7d,
|
|
0x70, 0xf6, 0x2c, 0x07, 0x22, 0x77, 0xbe, 0x79, 0xeb, 0xd8, 0x31, 0x4e, 0xac, 0x3b, 0x6d, 0x3f,
|
|
0x02, 0xd8, 0x64, 0x1e, 0x8b, 0x4e, 0xb7, 0xbd, 0x36, 0xae, 0xe2, 0x16, 0xb7, 0x10, 0xdf, 0x19,
|
|
0xc3, 0x43, 0xeb, 0x76, 0x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