☰
AuthoritySignature
Trait Implementations
BeefyVerify<MsgHash>
In sp_beefy::crypto
?
Type Definition
sp_beefy
::
crypto
::
AuthoritySignature
source
·
[
−
]
pub type AuthoritySignature =
Signature
;
Expand description
Signature for a BEEFY authority using ECDSA as its crypto.
Trait Implementations
§
source
§
impl<MsgHash:
Hash
>
BeefyVerify
<MsgHash> for
AuthoritySignature
where <MsgHash as
Hash
>::
Output
:
Into
<[
u8
;
32
]>,
§
type
Signer
=
Public
Type of the signer.
source
§
fn
verify
(&self, msg: &[
u8
], signer: &Self::
Signer
) ->
bool
Verify a signature.
Read more