mempool

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Message

type Message struct {
	// Types that are valid to be assigned to Sum:
	//
	//	*Message_Txs
	Sum isMessage_Sum `protobuf_oneof:"sum"`
}

func (*Message) Descriptor

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

func (*Message) GetSum

func (m *Message) GetSum() isMessage_Sum

func (*Message) GetTxs

func (m *Message) GetTxs() *Txs

func (*Message) Marshal

func (m *Message) Marshal() (dAtA []byte, err error)

func (*Message) MarshalTo

func (m *Message) MarshalTo(dAtA []byte) (int, error)

func (*Message) MarshalToSizedBuffer

func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) Size

func (m *Message) Size() (n int)

func (*Message) String

func (m *Message) String() string

func (*Message) Unmarshal

func (m *Message) Unmarshal(dAtA []byte) error

func (*Message) Unwrap

func (m *Message) Unwrap() (proto.Message, error)

Unwrap implements the p2p Wrapper interface and unwraps a wrapped mempool message.

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

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

func (*Message) XXX_OneofWrappers

func (*Message) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

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

type Message_Txs

type Message_Txs struct {
	Txs *Txs `protobuf:"bytes,1,opt,name=txs,proto3,oneof" json:"txs,omitempty"`
}

func (*Message_Txs) MarshalTo

func (m *Message_Txs) MarshalTo(dAtA []byte) (int, error)

func (*Message_Txs) MarshalToSizedBuffer

func (m *Message_Txs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_Txs) Size

func (m *Message_Txs) Size() (n int)

type Txs

type Txs struct {
	Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
}

func (*Txs) Descriptor

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

func (*Txs) GetTxs

func (m *Txs) GetTxs() [][]byte

func (*Txs) Marshal

func (m *Txs) Marshal() (dAtA []byte, err error)

func (*Txs) MarshalTo

func (m *Txs) MarshalTo(dAtA []byte) (int, error)

func (*Txs) MarshalToSizedBuffer

func (m *Txs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Txs) ProtoMessage

func (*Txs) ProtoMessage()

func (*Txs) Reset

func (m *Txs) Reset()

func (*Txs) Size

func (m *Txs) Size() (n int)

func (*Txs) String

func (m *Txs) String() string

func (*Txs) Unmarshal

func (m *Txs) Unmarshal(dAtA []byte) error

func (*Txs) Wrap

func (m *Txs) Wrap() proto.Message

Wrap implements the p2p Wrapper interface and wraps a mempool message.

func (*Txs) XXX_DiscardUnknown

func (m *Txs) XXX_DiscardUnknown()

func (*Txs) XXX_Marshal

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

func (*Txs) XXX_Merge

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

func (*Txs) XXX_Size

func (m *Txs) XXX_Size() int

func (*Txs) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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