pub async fn validate_operation<S, L, E, TP>(
store: &S,
operation: &Operation<E>,
log_id: &L,
prune_flag: bool,
) -> Result<(), IngestError>where
S: Transaction + OperationStore<Operation<E>, Hash> + LogStore<AnyOperation, VerifyingKey, L, u32, Hash> + TopicStore<TP, VerifyingKey, L>,
L: LogId,
E: Extensions,Available on crate feature
ingest only.Expand description
Checks an incoming operation to ensure correct formatting and log integrity.