Skip to main content

Crate arc_malachitebft_network

Crate arc_malachitebft_network 

Source

Modules§

behaviour
handle
peer_scoring
Gossipsub Peer Scoring Implementation
pubsub
validator_proof
Validator Proof Protocol

Structs§

Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
ChannelNames
Config
GossipSubConfig
Keypair
Identity keypair of a node.
LocalNodeInfo
Local node information
MessageId
Multiaddr
Representation of a Multiaddr.
NetworkIdentity
Node identity bundling all node-specific information.
NetworkStateDump
Public network state dump for external consumers
PeerId
Identifier of a peer of the network.
PeerInfo
Peer information without slot number (for State, which has no cardinality limits)
PeerType
Type of peer for labeling and scoring Peers can be validators (in current validator set), persistent (configured), both, or neither (full nodes)
ProtocolNames
PubSubMaxSizePerTopic
This structure contains optional application-payload limits for GossipSub topics.
ValidatorIdentity
Validator identity with optional pre-serialized proof.
ValidatorInfo
Validator information passed from consensus to network layer

Enums§

Channel
CtrlMsg
Event
sync event details:
PersistentPeerError
Errors that can occur during persistent peer operations
PersistentPeersOp
Operation to perform on a persistent peer
PubSubMaxSizeError
This error reports that a per-topic payload limit does not fit the global wire limit.
PubSubProtocol
TransportProtocol

Traits§

PeerIdExt

Functions§

spawn

Type Aliases§

BootstrapProtocol
BoxError
DiscoveryConfig
Selector