A single connected peer, as a value of the peers object in
sync/torrentPeers (see ext/api-map.md §3).
Like the rest of the sync payload this is delta-based, so every field is
nilable (a partial update carries only what changed) and
JSON::Serializable::Unmapped preserves unmodelled keys. Byte counters and
speeds are Int64; progress and relevance are Float64.
Instance methods
client
Client software as reported over the wire.
Sourceconnection
Connection type (e.g. "BT", "μTP", "web").
Sourcecountry
Country name (present when peer-country resolution is enabled).
Sourcedl_speed
Download speed from this peer, bytes/s.
Sourcedownloaded
Total bytes downloaded from this peer.
Sourcefiles
Files the peer is interested in (relative paths).
Sourceflags
Peer flags (short codes, e.g. "D U").
Sourceflags_desc
Human-readable description of the peer flags.
Sourcei2p
Whether the peer was reached over I2P.
Sourcepeer_id_client
Client software inferred from the peer id.
Sourceprogress
Download progress of the peer, 0–1.
Sourcerelevance
Relevance of the peer to this torrent, 0–1.
Sourceshadowbanned
Whether the peer is shadow-banned (qB 5.x).
Sourceup_speed
Upload speed to this peer, bytes/s.
Sourceuploaded
Total bytes uploaded to this peer.
Source