mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 07:31:08 +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 {
|
pub mod key_types {
|
||||||
use super::KeyTypeId;
|
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");
|
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");
|
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");
|
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");
|
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");
|
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");
|
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");
|
pub const STAKING: KeyTypeId = KeyTypeId(*b"stak");
|
||||||
/// A key type ID useful for tests.
|
/// A key type ID useful for tests.
|
||||||
pub const DUMMY: KeyTypeId = KeyTypeId(*b"dumy");
|
pub const DUMMY: KeyTypeId = KeyTypeId(*b"dumy");
|
||||||
|
|||||||
Reference in New Issue
Block a user