Skip to main content

Crate pir_client

Crate pir_client 

Source
Expand description

PIR client library for private Merkle path retrieval.

Provides PirClient which connects to a pir-server instance and retrieves circuit-ready ImtProofData without revealing the queried nullifier to the server.

Structs§

ImtProofData
Circuit-compatible IMT non-membership proof for punctured-range leaves (K=2).
NoteTiming
Per-note timing breakdown covering both tier 1 and tier 2 YPIR queries.
PirClient
PIR client that connects to a pir-server instance over HTTP.
PirClientBlocking
Synchronous wrapper around PirClient for use from non-async code.
TierTiming
Per-tier timing breakdown for a single YPIR query, measuring each stage of the client-server round trip.
TransportResponse

Traits§

Transport

Functions§

fetch_proof_local
Perform a complete local PIR proof retrieval without HTTP.

Type Aliases§

TransportFuture