Uses of Package
com.privatechain.network.peer

Package
Description
Transaction gossip and block broadcast — propagates newly submitted transactions and mined blocks to connected peers (FR-NET-02, FR-NET-03).
Peer lifecycle management — maintains the list of connected peers, runs heartbeat checks, and prunes unresponsive connections (FR-NET-01, FR-NET-07).
Netty TCP server, client, and NDJSON message codec — the transport layer of the P2P networking stack (FR-NET-01, ADR-001).
Chain synchronization and fork resolution — brings a node's local chain up to date with the network on startup and after a network partition (FR-NET-04, FR-NET-05).