Skip to main content

CommitSigner

Trait CommitSigner 

Source
pub trait CommitSigner {
    // Required method
    fn sign(
        &self,
        payload_hash: Hash,
        commit: &Commit,
    ) -> Result<CommitSignature>;
}

Required Methods§

Source

fn sign(&self, payload_hash: Hash, commit: &Commit) -> Result<CommitSignature>

Implementors§