[][src]Crate ic_p2p

Overview

The peer-to-peer (P2P) component implements a gossiping mechanism for subnets and creates and validates ingress message payloads for the Consensus layer. It contains the following sub-components:

Bounded-time/Eventual Delivery

Performance

Ingress Manager

Dependencies

P2P relies on the following components:

Component Diagram

The following diagram depicts the interfaces between the P2P components and other components. The interaction with the Registry is omitted for simplicity's sake as all components rely on it.


Modules

p2p

The P2P module exposes the peer-to-peer functionality.

Macros

use_gossip_malicious_behavior_on_chunk_request

A macro to choose between running malicious code or the normal replica code.