pub(crate) enum ProofReplayStoreSelection {
LegacyPdsPostgres,
SingleVerifierMemory,
Unavailable,
}Expand description
Install the v16 proof admission substrate: the rotating server challenge and the replay admission store (§4.6, §4.7).
Called from the same startup path as the envelope verify config, so every entrypoint that serves RPC installs both. Both registrations are first-write-wins and neither is auto-installed by dispatch: an absent challenge manager or replay store denies at admission rather than admitting under a guarantee nobody made.
Deployment note. The in-memory store declares
SingleVerifierInstance, which is the honest guarantee for a node that
admits requests for its own service domain by itself. A domain served by
several verifier instances needs a shared linearizable backend installed
here instead — the same trait, a different substrate. Installing this one
across several instances would silently weaken “admitted once per domain”
to “once per node”, so the log line below states the guarantee in force.
The optional shared-postgres implementation uses a durable admission table
and role-scoped, CA-pinned PostgreSQL connection.
Variants§
Trait Implementations§
Source§impl Clone for ProofReplayStoreSelection
impl Clone for ProofReplayStoreSelection
Source§fn clone(&self) -> ProofReplayStoreSelection
fn clone(&self) -> ProofReplayStoreSelection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProofReplayStoreSelection
impl Debug for ProofReplayStoreSelection
Source§impl PartialEq for ProofReplayStoreSelection
impl PartialEq for ProofReplayStoreSelection
Source§fn eq(&self, other: &ProofReplayStoreSelection) -> bool
fn eq(&self, other: &ProofReplayStoreSelection) -> bool
self and other values to be equal, and is used by ==.impl Copy for ProofReplayStoreSelection
impl Eq for ProofReplayStoreSelection
impl StructuralPartialEq for ProofReplayStoreSelection
Auto Trait Implementations§
impl Freeze for ProofReplayStoreSelection
impl RefUnwindSafe for ProofReplayStoreSelection
impl Send for ProofReplayStoreSelection
impl Sync for ProofReplayStoreSelection
impl Unpin for ProofReplayStoreSelection
impl UnsafeUnpin for ProofReplayStoreSelection
impl UnwindSafe for ProofReplayStoreSelection
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<T> JaggedSlice<T> for T
impl<T> JaggedSlice<T> for T
§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].