Kagome
Polkadot Runtime Engine in C++17
kagome_application.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_CORE_APPLICATION_KAGOME_APPLICATION_HPP
7 #define KAGOME_CORE_APPLICATION_KAGOME_APPLICATION_HPP
8 
9 namespace kagome::application {
10 
15  public:
16  virtual ~KagomeApplication() = default;
17 
19  virtual int chainInfo() = 0;
20 
22  virtual int recovery() = 0;
23 
25  virtual void run() = 0;
26  };
27 } // namespace kagome::application
28 
29 #endif // KAGOME_CORE_APPLICATION_KAGOME_APPLICATION_HPP
virtual int chainInfo()=0
Prints chain info.
virtual void run()=0
Runs node.
virtual int recovery()=0
Runs recovery mode.