Kagome
Polkadot Runtime Engine in C++17
api_service_impl.cpp File Reference
Include dependency graph for api_service_impl.cpp:

Go to the source code of this file.

Namespaces

 kagome::api
 

Macros

#define UNWRAP_WEAK_PTR(callback)
 

Functions

 kagome::api::KAGOME_DEFINE_CACHE (api_service)
 

Variables

const std::string kagome::api::kRpcEventRuntimeVersion = "state_runtimeVersion"
 
const std::string kagome::api::kRpcEventNewHeads = "chain_newHead"
 
const std::string kagome::api::kRpcEventFinalizedHeads = "chain_finalizedHead"
 
const std::string kagome::api::kRpcEventSubscribeStorage = "state_storage"
 
const std::string kagome::api::kRpcEventUpdateExtrinsic = "author_extrinsicUpdate"
 

Macro Definition Documentation

#define UNWRAP_WEAK_PTR (   callback)
Value:
[wp](auto &&...params) mutable { \
if (auto self = wp.lock()) { \
self->callback(params...); \
} \
}