getPeers
fun getPeers(infoHash: Sha1Hash, wantV4: Boolean, now: Long, noseed: Boolean = false, maxReply: Int = DEFAULT_MAX_PEERS_REPLY): DhtStorage.PeersResult?
Fetch the announced peers for infoHash in the requester's address family. This is the data half of dht_default_storage::get_peers. noseed excludes seeds (for a seeding requester); wantV4 picks peers4 vs peers6. At most maxReply peers are returned, taken in stored order rather than sampled, because sampling is a transport concern. The optional torrent name is returned alongside.
Return
a PeersResult, or null if the info-hash is unknown.
Parameters
now
current time; used only to opportunistically skip already-expired peers without mutating the store (call tick to actually purge).