Skip to main content

DidOpSuccessorWitness

Trait DidOpSuccessorWitness 

Source
pub trait DidOpSuccessorWitness: Send + Sync {
    // Required method
    fn authorize_successor(
        &self,
        current: &VerifiedDidOpLog,
        successor: &DidOp,
    ) -> Result<()>;
}
Expand description

Future authorization seam for a post-genesis successor.

#1168–1171 will supply the custody, recovery-window, fork, and witness implementation. The demo directory intentionally exposes no append method, so implementing this trait cannot mutate a log until that policy lands.

Required Methods§

Source

fn authorize_successor( &self, current: &VerifiedDidOpLog, successor: &DidOp, ) -> Result<()>

Implementors§