mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 15:27:57 +00:00
Document crypto key identifiers (#5750)
This commit is contained in:
@@ -992,19 +992,19 @@ impl sp_std::fmt::Display for CryptoTypePublicPair {
|
||||
pub mod key_types {
|
||||
use super::KeyTypeId;
|
||||
|
||||
/// Key type for Babe module, build-in.
|
||||
/// Key type for Babe module, built-in. Identified as `babe`.
|
||||
pub const BABE: KeyTypeId = KeyTypeId(*b"babe");
|
||||
/// Key type for Grandpa module, build-in.
|
||||
/// Key type for Grandpa module, built-in. Identified as `gran`.
|
||||
pub const GRANDPA: KeyTypeId = KeyTypeId(*b"gran");
|
||||
/// Key type for controlling an account in a Substrate runtime, built-in.
|
||||
/// Key type for controlling an account in a Substrate runtime, built-in. Identified as `acco`.
|
||||
pub const ACCOUNT: KeyTypeId = KeyTypeId(*b"acco");
|
||||
/// Key type for Aura module, built-in.
|
||||
/// Key type for Aura module, built-in. Identified as `aura`.
|
||||
pub const AURA: KeyTypeId = KeyTypeId(*b"aura");
|
||||
/// Key type for ImOnline module, built-in.
|
||||
/// Key type for ImOnline module, built-in. Identified as `imon`.
|
||||
pub const IM_ONLINE: KeyTypeId = KeyTypeId(*b"imon");
|
||||
/// Key type for AuthorityDiscovery module, built-in.
|
||||
/// Key type for AuthorityDiscovery module, built-in. Identified as `audi`.
|
||||
pub const AUTHORITY_DISCOVERY: KeyTypeId = KeyTypeId(*b"audi");
|
||||
/// Key type for staking, built-in.
|
||||
/// Key type for staking, built-in. Identified as `stak`.
|
||||
pub const STAKING: KeyTypeId = KeyTypeId(*b"stak");
|
||||
/// A key type ID useful for tests.
|
||||
pub const DUMMY: KeyTypeId = KeyTypeId(*b"dumy");
|
||||
|
||||
Reference in New Issue
Block a user