Module sp_runtime::key_types[][src]

Re-export this since it’s part of the API of this crate. Known key types; this also functions as a global registry of key types for projects wishing to avoid collisions with each other.

It’s not universal in the sense that all key types need to be mentioned here, it’s just a handy place to put common key types.

Constants

ACCOUNT

Key type for controlling an account in a Substrate runtime, built-in. Identified as acco.

AURA

Key type for Aura module, built-in. Identified as aura.

AUTHORITY_DISCOVERY

Key type for AuthorityDiscovery module, built-in. Identified as audi.

BABE

Key type for Babe module, built-in. Identified as babe.

DUMMY

A key type ID useful for tests.

GRANDPA

Key type for Grandpa module, built-in. Identified as gran.

IM_ONLINE

Key type for ImOnline module, built-in. Identified as imon.

REPORTING

Key type for equivocation reporting, built-in. Identified as fish.

STAKING

Key type for staking, built-in. Identified as stak.