Kagome
Polkadot Runtime Engine in C++17
service.hpp File Reference
#include <string>
#include "primitives/common.hpp"
Include dependency graph for service.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kagome::telemetry::TelemetryService
 

Namespaces

 kagome::telemetry
 

Typedefs

using kagome::telemetry::Telemetry = std::shared_ptr< TelemetryService >
 

Enumerations

enum  kagome::telemetry::BlockOrigin {
  kagome::telemetry::BlockOrigin::kGenesis, kagome::telemetry::BlockOrigin::kNetworkInitialSync, kagome::telemetry::BlockOrigin::kNetworkBroadcast, kagome::telemetry::BlockOrigin::kConsensusBroadcast,
  kagome::telemetry::BlockOrigin::kOwn, kagome::telemetry::BlockOrigin::kFile
}
 

Functions

void kagome::telemetry::setTelemetryService (Telemetry service)
 Sets an instance of telemetry service for latter usage by reporters. More...
 
std::shared_ptr< TelemetryService > kagome::telemetry::createTelemetryService ()
 Returns preliminary initialized instance of telemetry service. More...