pub struct CrossChainValidator;Expand description
Cross-chain consignment validator
Implementations§
Source§impl CrossChainValidator
impl CrossChainValidator
Sourcepub fn validate_cross_chain_consistency(
anchors: &[Anchor],
) -> Result<(), CrossChainError>
pub fn validate_cross_chain_consistency( anchors: &[Anchor], ) -> Result<(), CrossChainError>
Validate a consignment that spans multiple chains
Ensures that commitments are consistent across all chains and that each chain’s proof is valid.
Auto Trait Implementations§
impl Freeze for CrossChainValidator
impl RefUnwindSafe for CrossChainValidator
impl Send for CrossChainValidator
impl Sync for CrossChainValidator
impl Unpin for CrossChainValidator
impl UnsafeUnpin for CrossChainValidator
impl UnwindSafe for CrossChainValidator
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