Crate polkadot_node_network_protocol[][src]

Expand description

Network protocol types for parachains.

Modules

Accessing authority discovery service Authority discovery service interfacing.

Peer-sets and protocols used for parachains. All peersets and protocols used for parachains.

Request/response protocols used in Polkadot. Overview over request/responses as used in Polkadot.

v1 protocol types.

Macros

Construct a new OurView with the given chain heads, finalized number 0 and disabled jaeger::Span’s.

Construct a new view with the given chain heads and finalized number 0.

Structs

Specialized wrapper around View.

Identifier of a peer of the network.

Description of a reputation adjustment for a node.

A succinct representation of a peer’s view. This consists of a bounded amount of chain heads and the highest known finalized block number.

An error indicating that this the over-arching message type had the wrong variant

Enums

When sending a request, what to do on a disconnected recipient.

The advertised role of a node.

Unified annoyance cost and good behavior benefits.

Constants

The minimum amount of peers to send gossip messages to.

Type Definitions

A version of the protocol.