- client-side implementation of peer queries