snark/user_command_verify_effectful/
mod.rs1mod snark_user_command_verify_effectful_actions;
2pub use snark_user_command_verify_effectful_actions::*;
3
4mod snark_user_command_verify_effects;
5
6mod snark_user_command_verify_service;
7pub use snark_user_command_verify_service::*;
8
9use serde::{Deserialize, Serialize};
10
11pub struct SnarkUserCommandVerifyIdType;
12impl mina_core::requests::RequestIdType for SnarkUserCommandVerifyIdType {
13 fn request_id_type() -> &'static str {
14 "SnarkUserCommandVerifyId"
15 }
16}
17
18pub type SnarkUserCommandVerifyId = mina_core::requests::RequestId<SnarkUserCommandVerifyIdType>;
19
20#[derive(Serialize, Deserialize, Debug, Clone, thiserror::Error)]
21pub enum SnarkUserCommandVerifyError {
22 #[error("verification failed")]
23 VerificationFailed,
24 #[error("validator thread crashed")]
25 ValidatorThreadCrashed,
26}