p2p

package
v0.0.0-...-891b8cb Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 10 Imported by: 0

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 NodeInfo

type NodeInfo struct {
	ProtocolVersion *ProtocolVersion `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	NodeId          string           `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"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           *NodeInfoOther   `protobuf:"bytes,8,opt,name=other,proto3" json:"other,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetChannels

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

func (*NodeInfo) GetListenAddr

func (x *NodeInfo) GetListenAddr() string

func (*NodeInfo) GetMoniker

func (x *NodeInfo) GetMoniker() string

func (*NodeInfo) GetNetwork

func (x *NodeInfo) GetNetwork() string

func (*NodeInfo) GetNodeId

func (x *NodeInfo) GetNodeId() string

func (*NodeInfo) GetOther

func (x *NodeInfo) GetOther() *NodeInfoOther

func (*NodeInfo) GetProtocolVersion

func (x *NodeInfo) GetProtocolVersion() *ProtocolVersion

func (*NodeInfo) GetVersion

func (x *NodeInfo) GetVersion() string

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

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

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

type NodeInfoOther

type NodeInfoOther 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 (*NodeInfoOther) Descriptor deprecated

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

Deprecated: Use NodeInfoOther.ProtoReflect.Descriptor instead.

func (*NodeInfoOther) GetRpcAddress

func (x *NodeInfoOther) GetRpcAddress() string

func (*NodeInfoOther) GetTxIndex

func (x *NodeInfoOther) GetTxIndex() string

func (*NodeInfoOther) ProtoMessage

func (*NodeInfoOther) ProtoMessage()

func (*NodeInfoOther) ProtoReflect

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

func (*NodeInfoOther) Reset

func (x *NodeInfoOther) Reset()

func (*NodeInfoOther) String

func (x *NodeInfoOther) String() string

type PeerAddressInfo

type PeerAddressInfo struct {
	Address         string                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	LastDialSuccess *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_dial_success,json=lastDialSuccess,proto3" json:"last_dial_success,omitempty"`
	LastDialFailure *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_dial_failure,json=lastDialFailure,proto3" json:"last_dial_failure,omitempty"`
	DialFailures    uint32                 `protobuf:"varint,4,opt,name=dial_failures,json=dialFailures,proto3" json:"dial_failures,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerAddressInfo) Descriptor deprecated

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

Deprecated: Use PeerAddressInfo.ProtoReflect.Descriptor instead.

func (*PeerAddressInfo) GetAddress

func (x *PeerAddressInfo) GetAddress() string

func (*PeerAddressInfo) GetDialFailures

func (x *PeerAddressInfo) GetDialFailures() uint32

func (*PeerAddressInfo) GetLastDialFailure

func (x *PeerAddressInfo) GetLastDialFailure() *timestamppb.Timestamp

func (*PeerAddressInfo) GetLastDialSuccess

func (x *PeerAddressInfo) GetLastDialSuccess() *timestamppb.Timestamp

func (*PeerAddressInfo) ProtoMessage

func (*PeerAddressInfo) ProtoMessage()

func (*PeerAddressInfo) ProtoReflect

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

func (*PeerAddressInfo) Reset

func (x *PeerAddressInfo) Reset()

func (*PeerAddressInfo) String

func (x *PeerAddressInfo) String() string

type PeerInfo

type PeerInfo struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AddressInfo   []*PeerAddressInfo     `protobuf:"bytes,2,rep,name=address_info,json=addressInfo,proto3" json:"address_info,omitempty"`
	LastConnected *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_connected,json=lastConnected,proto3" json:"last_connected,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerInfo) Descriptor deprecated

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

Deprecated: Use PeerInfo.ProtoReflect.Descriptor instead.

func (*PeerInfo) GetAddressInfo

func (x *PeerInfo) GetAddressInfo() []*PeerAddressInfo

func (*PeerInfo) GetId

func (x *PeerInfo) GetId() string

func (*PeerInfo) GetLastConnected

func (x *PeerInfo) GetLastConnected() *timestamppb.Timestamp

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) ProtoReflect

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

func (*PeerInfo) Reset

func (x *PeerInfo) Reset()

func (*PeerInfo) String

func (x *PeerInfo) 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