protobuf

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2020 License: GPL-3.0 Imports: 3 Imported by: 1 module, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteArray

type ByteArray struct {
	Data                 []byte   `protobuf:"bytes,1,req,name=data" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ByteArray) Descriptor

func (*ByteArray) Descriptor() ([]byte, []int)

func (*ByteArray) GetData

func (m *ByteArray) GetData() []byte

func (*ByteArray) ProtoMessage

func (*ByteArray) ProtoMessage()

func (*ByteArray) Reset

func (m *ByteArray) Reset()

func (*ByteArray) String

func (m *ByteArray) String() string

func (*ByteArray) XXX_DiscardUnknown

func (m *ByteArray) XXX_DiscardUnknown()

func (*ByteArray) XXX_Marshal

func (m *ByteArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ByteArray) XXX_Merge

func (m *ByteArray) XXX_Merge(src proto.Message)

func (*ByteArray) XXX_Size

func (m *ByteArray) XXX_Size() int

func (*ByteArray) XXX_Unmarshal

func (m *ByteArray) XXX_Unmarshal(b []byte) error

type ProtoTransaction

type ProtoTransaction struct {
	Tranid               []byte                    `protobuf:"bytes,1,opt,name=tranid" json:"tranid,omitempty"`
	Info                 *ProtoTransactionCoreInfo `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
	Signature            *ByteArray                `protobuf:"bytes,3,opt,name=signature" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*ProtoTransaction) Descriptor

func (*ProtoTransaction) Descriptor() ([]byte, []int)

func (*ProtoTransaction) GetInfo

func (*ProtoTransaction) GetSignature

func (m *ProtoTransaction) GetSignature() *ByteArray

func (*ProtoTransaction) GetTranid

func (m *ProtoTransaction) GetTranid() []byte

func (*ProtoTransaction) ProtoMessage

func (*ProtoTransaction) ProtoMessage()

func (*ProtoTransaction) Reset

func (m *ProtoTransaction) Reset()

func (*ProtoTransaction) String

func (m *ProtoTransaction) String() string

func (*ProtoTransaction) XXX_DiscardUnknown

func (m *ProtoTransaction) XXX_DiscardUnknown()

func (*ProtoTransaction) XXX_Marshal

func (m *ProtoTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoTransaction) XXX_Merge

func (m *ProtoTransaction) XXX_Merge(src proto.Message)

func (*ProtoTransaction) XXX_Size

func (m *ProtoTransaction) XXX_Size() int

func (*ProtoTransaction) XXX_Unmarshal

func (m *ProtoTransaction) XXX_Unmarshal(b []byte) error

type ProtoTransactionCoreInfo

type ProtoTransactionCoreInfo struct {
	Version              *uint32    `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	Nonce                *uint64    `protobuf:"varint,2,opt,name=nonce" json:"nonce,omitempty"`
	Toaddr               []byte     `protobuf:"bytes,3,opt,name=toaddr" json:"toaddr,omitempty"`
	Senderpubkey         *ByteArray `protobuf:"bytes,4,opt,name=senderpubkey" json:"senderpubkey,omitempty"`
	Amount               *ByteArray `protobuf:"bytes,5,opt,name=amount" json:"amount,omitempty"`
	Gasprice             *ByteArray `protobuf:"bytes,6,opt,name=gasprice" json:"gasprice,omitempty"`
	Gaslimit             *uint64    `protobuf:"varint,7,opt,name=gaslimit" json:"gaslimit,omitempty"`
	Code                 []byte     `protobuf:"bytes,8,opt,name=code" json:"code,omitempty"`
	Data                 []byte     `protobuf:"bytes,9,opt,name=data" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ProtoTransactionCoreInfo) Descriptor

func (*ProtoTransactionCoreInfo) Descriptor() ([]byte, []int)

func (*ProtoTransactionCoreInfo) GetAmount

func (m *ProtoTransactionCoreInfo) GetAmount() *ByteArray

func (*ProtoTransactionCoreInfo) GetCode

func (m *ProtoTransactionCoreInfo) GetCode() []byte

func (*ProtoTransactionCoreInfo) GetData

func (m *ProtoTransactionCoreInfo) GetData() []byte

func (*ProtoTransactionCoreInfo) GetGaslimit

func (m *ProtoTransactionCoreInfo) GetGaslimit() uint64

func (*ProtoTransactionCoreInfo) GetGasprice

func (m *ProtoTransactionCoreInfo) GetGasprice() *ByteArray

func (*ProtoTransactionCoreInfo) GetNonce

func (m *ProtoTransactionCoreInfo) GetNonce() uint64

func (*ProtoTransactionCoreInfo) GetSenderpubkey

func (m *ProtoTransactionCoreInfo) GetSenderpubkey() *ByteArray

func (*ProtoTransactionCoreInfo) GetToaddr

func (m *ProtoTransactionCoreInfo) GetToaddr() []byte

func (*ProtoTransactionCoreInfo) GetVersion

func (m *ProtoTransactionCoreInfo) GetVersion() uint32

func (*ProtoTransactionCoreInfo) ProtoMessage

func (*ProtoTransactionCoreInfo) ProtoMessage()

func (*ProtoTransactionCoreInfo) Reset

func (m *ProtoTransactionCoreInfo) Reset()

func (*ProtoTransactionCoreInfo) String

func (m *ProtoTransactionCoreInfo) String() string

func (*ProtoTransactionCoreInfo) XXX_DiscardUnknown

func (m *ProtoTransactionCoreInfo) XXX_DiscardUnknown()

func (*ProtoTransactionCoreInfo) XXX_Marshal

func (m *ProtoTransactionCoreInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoTransactionCoreInfo) XXX_Merge

func (m *ProtoTransactionCoreInfo) XXX_Merge(src proto.Message)

func (*ProtoTransactionCoreInfo) XXX_Size

func (m *ProtoTransactionCoreInfo) XXX_Size() int

func (*ProtoTransactionCoreInfo) XXX_Unmarshal

func (m *ProtoTransactionCoreInfo) XXX_Unmarshal(b []byte) error

type ProtoTransactionReceipt

type ProtoTransactionReceipt struct {
	Receipt              []byte   `protobuf:"bytes,1,opt,name=receipt" json:"receipt,omitempty"`
	Cumgas               *uint64  `protobuf:"varint,2,opt,name=cumgas" json:"cumgas,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProtoTransactionReceipt) Descriptor

func (*ProtoTransactionReceipt) Descriptor() ([]byte, []int)

func (*ProtoTransactionReceipt) GetCumgas

func (m *ProtoTransactionReceipt) GetCumgas() uint64

func (*ProtoTransactionReceipt) GetReceipt

func (m *ProtoTransactionReceipt) GetReceipt() []byte

func (*ProtoTransactionReceipt) ProtoMessage

func (*ProtoTransactionReceipt) ProtoMessage()

func (*ProtoTransactionReceipt) Reset

func (m *ProtoTransactionReceipt) Reset()

func (*ProtoTransactionReceipt) String

func (m *ProtoTransactionReceipt) String() string

func (*ProtoTransactionReceipt) XXX_DiscardUnknown

func (m *ProtoTransactionReceipt) XXX_DiscardUnknown()

func (*ProtoTransactionReceipt) XXX_Marshal

func (m *ProtoTransactionReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoTransactionReceipt) XXX_Merge

func (m *ProtoTransactionReceipt) XXX_Merge(src proto.Message)

func (*ProtoTransactionReceipt) XXX_Size

func (m *ProtoTransactionReceipt) XXX_Size() int

func (*ProtoTransactionReceipt) XXX_Unmarshal

func (m *ProtoTransactionReceipt) XXX_Unmarshal(b []byte) error

type ProtoTransactionWithReceipt

type ProtoTransactionWithReceipt struct {
	Transaction          *ProtoTransaction        `protobuf:"bytes,1,opt,name=transaction" json:"transaction,omitempty"`
	Receipt              *ProtoTransactionReceipt `protobuf:"bytes,2,opt,name=receipt" json:"receipt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ProtoTransactionWithReceipt) Descriptor

func (*ProtoTransactionWithReceipt) Descriptor() ([]byte, []int)

func (*ProtoTransactionWithReceipt) GetReceipt

func (*ProtoTransactionWithReceipt) GetTransaction

func (m *ProtoTransactionWithReceipt) GetTransaction() *ProtoTransaction

func (*ProtoTransactionWithReceipt) ProtoMessage

func (*ProtoTransactionWithReceipt) ProtoMessage()

func (*ProtoTransactionWithReceipt) Reset

func (m *ProtoTransactionWithReceipt) Reset()

func (*ProtoTransactionWithReceipt) String

func (m *ProtoTransactionWithReceipt) String() string

func (*ProtoTransactionWithReceipt) XXX_DiscardUnknown

func (m *ProtoTransactionWithReceipt) XXX_DiscardUnknown()

func (*ProtoTransactionWithReceipt) XXX_Marshal

func (m *ProtoTransactionWithReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoTransactionWithReceipt) XXX_Merge

func (m *ProtoTransactionWithReceipt) XXX_Merge(src proto.Message)

func (*ProtoTransactionWithReceipt) XXX_Size

func (m *ProtoTransactionWithReceipt) XXX_Size() int

func (*ProtoTransactionWithReceipt) XXX_Unmarshal

func (m *ProtoTransactionWithReceipt) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL