Attributable

Trait Attributable 

Source
pub trait Attributable {
    // Required method
    fn signer(&self) -> u32;
}
Expand description

Attributable is a trait that provides access to the signer index. This is used to identify which participant signed a given message.

Required Methods§

Source

fn signer(&self) -> u32

Returns the index of the signer (validator) who produced this message.

Implementors§