pub struct TapretVerificationResult {
pub is_valid: bool,
pub output_key: Option<[u8; 32]>,
pub internal_key: Option<[u8; 32]>,
pub commitment_found: bool,
pub script_valid: bool,
pub error: Option<String>,
}Expand description
Result of Tapret commitment verification
Fields§
§is_valid: boolWhether the Tapret commitment is valid
output_key: Option<[u8; 32]>The verified output key (if verification succeeded)
internal_key: Option<[u8; 32]>The verified internal key (if verification succeeded)
commitment_found: boolWhether the commitment was found in the script
script_valid: boolWhether the script structure is valid
error: Option<String>Detailed error message if verification failed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TapretVerificationResult
impl RefUnwindSafe for TapretVerificationResult
impl Send for TapretVerificationResult
impl Sync for TapretVerificationResult
impl Unpin for TapretVerificationResult
impl UnsafeUnpin for TapretVerificationResult
impl UnwindSafe for TapretVerificationResult
Blanket Implementations§
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
Mutably borrows from an owned value. Read more