Kagome
Polkadot Runtime Engine in C++17
session_key.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_SESSION_KEY_HPP
7 #define KAGOME_SESSION_KEY_HPP
8 
10 #include "crypto/sr25519_types.hpp"
11 
12 namespace kagome::primitives {
13 
14  // TODO(kamilsa): id types should be different for Babe and Grandpa
16 
17  using BabeSessionKey = crypto::Sr25519PublicKey;
18  using GrandpaSessionKey = crypto::Ed25519PublicKey;
19 
20 } // namespace kagome::primitives
21 
22 #endif // KAGOME_SESSION_KEY_HPP
crypto::Sr25519PublicKey BabeSessionKey
Definition: session_key.hpp:17
crypto::Ed25519PublicKey GrandpaSessionKey
Definition: session_key.hpp:18