Function inspect_digest_model

Source
pub fn inspect_digest_model<T: Config<I>, I: 'static>(
    digest: Digest<T>,
    reason: CommitReason<T, I>,
)
Expand description

Determines the digest model classification for a given digest.

Queries whether the specified digest exists as a direct digest, index, or pool under the given reason. The result is wrapped in a DigestVariant and emitted via the Event::DigestModel event.

§Emits

Event::DigestModel: Contains the resolved digest variant

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in [Pallet::inspect_digest_model].