order |
---|
6 |
Pex has one channel. The channel identifier is listed below.
Name | Number |
---|---|
PexChannel | 0 |
PexRequest is an empty message requesting a list of peers.
EmptyRequest
PexResponse is an list of net addresses provided to a peer to dial.
Name | Type | Description | Field Number |
---|---|---|---|
addresses | repeated PexAddress | List of peer addresses available to dial | 1 |
PexAddress provides needed information for a node to dial a peer. This is in the form of a URL
that gets parsed
into a NodeAddress
. See ParseNodeAddress for more details.
Name | Type | Description | Field Number |
---|---|---|---|
url | string | See golang url | 1 |
Message is a oneof
protobuf type. The one of consists of two messages.
Name | Type | Description | Field Number |
---|---|---|---|
pex_request | PexRequest | Empty request asking for a list of addresses to dial | 3 |
pex_response | PexResponse | List of addresses to dial | 4 |