Piece missing Piece verified Hash mismatch (rejected) Honest peer Blacklisted peer
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

BitTorrent Swarm: Piece Verification & IP Exposure

BitTorrent has no central server to trust, so it defends file integrity with per-piece SHA-1 hashing: every peer is assumed hostile until the bytes it sends hash-check against the value published in the torrent's own metadata. This simulator renders a live swarm — a ring of peer nodes around a piece mosaic — where pieces stream in, get verified in real time, and a peer that keeps sending corrupted data gets locally blacklisted, exactly like a real BitTorrent client. A separate "IP exposure" overlay demonstrates the protocol's real privacy weak point: the same peer-list exchange that lets verification work at all also means every participant's address is visible to the whole swarm, which is the actual source of torrenting's legal and privacy risk rather than any flaw in the hash-checking itself.