pub use crate::pir_snapshot::{
classify_pir_snapshot_height, matching_pir_snapshot_endpoints, select_pir_snapshot_endpoint,
PirSnapshotEndpointDiagnostic, PirSnapshotEndpointStatus, PirSnapshotResolution,
};
pub type PirEndpoint = String;
pub fn select_pir_endpoint(
diagnostics: &[PirSnapshotEndpointDiagnostic],
snapshot_height: u64,
match_index: u64,
) -> Result<PirSnapshotResolution, crate::types::VotingError> {
select_pir_snapshot_endpoint(diagnostics, snapshot_height, match_index)
}
pub use pir_client::{
ImtProofData, PirClient, PirClientBlocking, Transport, TransportFuture, TransportResponse,
};