p2p

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_tendermint_p2p_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DefaultNodeInfo

type DefaultNodeInfo struct {
	ProtocolVersion *ProtocolVersion      `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	DefaultNodeId   string                `protobuf:"bytes,2,opt,name=default_node_id,json=defaultNodeId,proto3" json:"default_node_id,omitempty"`
	ListenAddr      string                `protobuf:"bytes,3,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"`
	Network         string                `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Version         string                `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Channels        []byte                `protobuf:"bytes,6,opt,name=channels,proto3" json:"channels,omitempty"`
	Moniker         string                `protobuf:"bytes,7,opt,name=moniker,proto3" json:"moniker,omitempty"`
	Other           *DefaultNodeInfoOther `protobuf:"bytes,8,opt,name=other,proto3" json:"other,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultNodeInfo) Descriptor deprecated

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

Deprecated: Use DefaultNodeInfo.ProtoReflect.Descriptor instead.

func (*DefaultNodeInfo) GetChannels

func (x *DefaultNodeInfo) GetChannels() []byte

func (*DefaultNodeInfo) GetDefaultNodeId

func (x *DefaultNodeInfo) GetDefaultNodeId() string

func (*DefaultNodeInfo) GetListenAddr

func (x *DefaultNodeInfo) GetListenAddr() string

func (*DefaultNodeInfo) GetMoniker

func (x *DefaultNodeInfo) GetMoniker() string

func (*DefaultNodeInfo) GetNetwork

func (x *DefaultNodeInfo) GetNetwork() string

func (*DefaultNodeInfo) GetOther

func (x *DefaultNodeInfo) GetOther() *DefaultNodeInfoOther

func (*DefaultNodeInfo) GetProtocolVersion

func (x *DefaultNodeInfo) GetProtocolVersion() *ProtocolVersion

func (*DefaultNodeInfo) GetVersion

func (x *DefaultNodeInfo) GetVersion() string

func (*DefaultNodeInfo) ProtoMessage

func (*DefaultNodeInfo) ProtoMessage()

func (*DefaultNodeInfo) ProtoReflect

func (x *DefaultNodeInfo) ProtoReflect() protoreflect.Message

func (*DefaultNodeInfo) Reset

func (x *DefaultNodeInfo) Reset()

func (*DefaultNodeInfo) String

func (x *DefaultNodeInfo) String() string

type DefaultNodeInfoOther

type DefaultNodeInfoOther struct {
	TxIndex    string `protobuf:"bytes,1,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	RpcAddress string `protobuf:"bytes,2,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultNodeInfoOther) Descriptor deprecated

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

Deprecated: Use DefaultNodeInfoOther.ProtoReflect.Descriptor instead.

func (*DefaultNodeInfoOther) GetRpcAddress

func (x *DefaultNodeInfoOther) GetRpcAddress() string

func (*DefaultNodeInfoOther) GetTxIndex

func (x *DefaultNodeInfoOther) GetTxIndex() string

func (*DefaultNodeInfoOther) ProtoMessage

func (*DefaultNodeInfoOther) ProtoMessage()

func (*DefaultNodeInfoOther) ProtoReflect

func (x *DefaultNodeInfoOther) ProtoReflect() protoreflect.Message

func (*DefaultNodeInfoOther) Reset

func (x *DefaultNodeInfoOther) Reset()

func (*DefaultNodeInfoOther) String

func (x *DefaultNodeInfoOther) String() string

type NetAddress

type NetAddress struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Ip   string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*NetAddress) Descriptor deprecated

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

Deprecated: Use NetAddress.ProtoReflect.Descriptor instead.

func (*NetAddress) GetId

func (x *NetAddress) GetId() string

func (*NetAddress) GetIp

func (x *NetAddress) GetIp() string

func (*NetAddress) GetPort

func (x *NetAddress) GetPort() uint32

func (*NetAddress) ProtoMessage

func (*NetAddress) ProtoMessage()

func (*NetAddress) ProtoReflect

func (x *NetAddress) ProtoReflect() protoreflect.Message

func (*NetAddress) Reset

func (x *NetAddress) Reset()

func (*NetAddress) String

func (x *NetAddress) String() string

type ProtocolVersion

type ProtocolVersion struct {
	P2P   uint64 `protobuf:"varint,1,opt,name=p2p,proto3" json:"p2p,omitempty"`
	Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"`
	App   uint64 `protobuf:"varint,3,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolVersion) Descriptor deprecated

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

Deprecated: Use ProtocolVersion.ProtoReflect.Descriptor instead.

func (*ProtocolVersion) GetApp

func (x *ProtocolVersion) GetApp() uint64

func (*ProtocolVersion) GetBlock

func (x *ProtocolVersion) GetBlock() uint64

func (*ProtocolVersion) GetP2P

func (x *ProtocolVersion) GetP2P() uint64

func (*ProtocolVersion) ProtoMessage

func (*ProtocolVersion) ProtoMessage()

func (*ProtocolVersion) ProtoReflect

func (x *ProtocolVersion) ProtoReflect() protoreflect.Message

func (*ProtocolVersion) Reset

func (x *ProtocolVersion) Reset()

func (*ProtocolVersion) String

func (x *ProtocolVersion) String() string

Jump to

Keyboard shortcuts

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