Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
account.hpp
apply_result.hpp
arithmetic_error.cpp
arithmetic_error.hpp
author_api_primitives.hpp
authority.hpp
authority_discovery_id.hpp
babe_configuration.hpp
block.hpp
block_data.hpp
block_header.cpp
block_header.hpp
block_id.hpp
check_inherents_result.hpp
code_substitutes.hpp
common.hpp
compact_integer.hpp
digest.hpp
event_types.hpp
extrinsic.hpp
inherent_data.cpp
inherent_data.hpp
justification.hpp
math.hpp
opaque_metadata.hpp
parachain_host.hpp
rpc_methods.hpp
runtime_dispatch_info.hpp
scheduled_change.hpp
session_key.hpp
ss58_codec.cpp
ss58_codec.hpp
strobe.hpp
token_error.cpp
token_error.hpp
transaction.hpp
transaction_validity.cpp
transaction_validity.hpp
transcript.hpp
version.cpp
version.hpp
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
session_key.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_SESSION_KEY_HPP
7
#define KAGOME_SESSION_KEY_HPP
8
9
#include "
crypto/ed25519_types.hpp
"
10
#include "
crypto/sr25519_types.hpp
"
11
12
namespace
kagome::primitives
{
13
14
// TODO(kamilsa): id types should be different for Babe and Grandpa
15
using
GenericSessionKey
=
common::Blob<32>
;
16
17
using
BabeSessionKey
= crypto::Sr25519PublicKey;
18
using
GrandpaSessionKey
= crypto::Ed25519PublicKey;
19
20
}
// namespace kagome::primitives
21
22
#endif // KAGOME_SESSION_KEY_HPP
kagome::primitives::BabeSessionKey
crypto::Sr25519PublicKey BabeSessionKey
Definition:
session_key.hpp:17
kagome::common::Blob< 32 >
kagome::primitives
Definition:
author_api.hpp:19
ed25519_types.hpp
sr25519_types.hpp
kagome::primitives::GrandpaSessionKey
crypto::Ed25519PublicKey GrandpaSessionKey
Definition:
session_key.hpp:18
core
primitives
session_key.hpp
Generated by
1.8.11