6 #ifndef KAGOME_RUNTIME_GRANDPAAPI 7 #define KAGOME_RUNTIME_GRANDPAAPI 44 virtual outcome::result<std::optional<ScheduledChange>>
pending_change(
55 virtual outcome::result<std::optional<ForcedChange>>
forced_change(
68 virtual outcome::result<primitives::AuthoritySetId>
current_set_id(
74 #endif // KAGOME_RUNTIME_GRANDPAAPI
primitives::BlockNumber BlockNumber
common::SLVector< DigestItem, kMaxItemsInDigest > Digest
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...
interface for Grandpa runtime functions
virtual ~GrandpaApi()=default
primitives::BlockId BlockId
virtual outcome::result< primitives::AuthoritySetId > current_set_id(const primitives::BlockHash &block)=0
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 ...
common::SLVector< Authority, consensus::kMaxValidatorsNumber > AuthorityList
virtual outcome::result< AuthorityList > authorities(const primitives::BlockId &block_id)=0
calls Grandpa_authorities runtime api function
boost::variant< BlockHash, BlockNumber > BlockId
Block id is the variant over BlockHash and BlockNumber.