| 
    Kagome
    
   Polkadot Runtime Engine in C++17 
   | 
 
interface for Grandpa runtime functions More...
#include <grandpa_api.hpp>
Public Member Functions | |
| virtual | ~GrandpaApi ()=default | 
| virtual outcome::result< std::optional< ScheduledChange > > | pending_change (primitives::BlockHash const &block, const Digest &digest)=0 | 
| calls Grandpa_pending_change runtime api function, which checks a digest for pending changes.  More... | |
| virtual outcome::result< std::optional< ForcedChange > > | forced_change (primitives::BlockHash const &block, const Digest &digest)=0 | 
| calls Grandpa_forced_change runtime api function which checks a digest for forced changes  More... | |
| virtual outcome::result< AuthorityList > | authorities (const primitives::BlockId &block_id)=0 | 
| calls Grandpa_authorities runtime api function  More... | |
| virtual outcome::result< primitives::AuthoritySetId > | current_set_id (const primitives::BlockHash &block)=0 | 
Protected Types | |
| using | Digest = primitives::Digest | 
| using | ScheduledChange = primitives::ScheduledChange | 
| using | BlockNumber = primitives::BlockNumber | 
| using | AuthorityList = primitives::AuthorityList | 
| using | ForcedChange = primitives::ForcedChange | 
| using | BlockId = primitives::BlockId | 
interface for Grandpa runtime functions
Definition at line 26 of file grandpa_api.hpp.
      
  | 
  protected | 
Definition at line 31 of file grandpa_api.hpp.
      
  | 
  protected | 
Definition at line 33 of file grandpa_api.hpp.
      
  | 
  protected | 
Definition at line 30 of file grandpa_api.hpp.
      
  | 
  protected | 
Definition at line 28 of file grandpa_api.hpp.
      
  | 
  protected | 
Definition at line 32 of file grandpa_api.hpp.
      
  | 
  protected | 
Definition at line 29 of file grandpa_api.hpp.
      
  | 
  virtualdefault | 
      
  | 
  pure virtual | 
calls Grandpa_authorities runtime api function
Implemented in kagome::runtime::GrandpaApiImpl.
      
  | 
  pure virtual | 
Implemented in kagome::runtime::GrandpaApiImpl.
      
  | 
  pure virtual | 
calls Grandpa_forced_change runtime api function which checks a digest for forced changes
| digest | digest to check | 
Implemented in kagome::runtime::GrandpaApiImpl.
      
  | 
  pure virtual | 
calls Grandpa_pending_change runtime api function, which checks a digest for pending changes.
| digest | digest to check | 
Implemented in kagome::runtime::GrandpaApiImpl.