pub trait LpMessageRecovery: LpMessageHash {
    // Required methods
    fn initiate_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self;
    fn dispute_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self;
}

Required Methods§

source

fn initiate_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self

Creates a message used for initiating message recovery.

Hash - hash of the message that should be recovered. Router - the address of the recovery router.

source

fn dispute_recovery_message(hash: MessageHash, router: [u8; 32]) -> Self

Creates a message used for disputing message recovery.

Hash - hash of the message that should be disputed. Router - the address of the recovery router.

Object Safety§

This trait is not object safe.

Implementors§