logoalt Hacker News

lcnPylGDnU4H9OF01/21/20251 replyview on HN

Is there something stopping a malicious peer client from lying about those numbers?

Genuinely curious; I've been wondering about how to make a zero-knowledge P2P protocol for turn-based imperfect knowledge games and this sounds directly applicable to that.


Replies

loa_in_01/23/2025

I would imagine that would be tracked by a crypto ledger, externally. Customer payment confirmation hashed with timestamp, driver's info, restaurant info, order info and of course the previous ledger block. Who would hash it (compute)? The same devices that run the app I imagine.