pub trait ReportProofBuilder<Index, Message, Account, Proof> {
    // Required method
    fn proof(index: &Index, message: &Message, sender: &Account) -> Proof;
}
Expand description

Report proof maker.

Required Methods§

source

fn proof(index: &Index, message: &Message, sender: &Account) -> Proof

Make proof of technical report agrement parameter.

Implementors§

source§

impl<Index, A, AccountId, Signature, AppSigner, M> ReportProofBuilder<Index, M, AccountId, Signature> for AppProofSigner<AppSigner>where AppSigner: AppCrypto<AccountId, Signature>, A: IdentifyAccount<AccountId = AccountId>, Signature: Verify<Signer = A>, AccountId: Clone, Index: Encode, M: Encode,

source§

impl<Index, Account, AccountId, Signature, TPair, M> ReportProofBuilder<Index, M, TPair, Signature> for ProofSigner<TPair>where Index: Encode, TPair: Pair<Public = Account, Signature = Signature>, Account: IdentifyAccount<AccountId = AccountId> + Public + Hash, Signature: Verify<Signer = Account>, M: Encode,