6 #ifndef KAGOME_CORE_PRIMITIVES_SCHEDULED_CHANGE 7 #define KAGOME_CORE_PRIMITIVES_SCHEDULED_CHANGE 32 : authorities(
std::move(authorities)), subchain_length(delay) {}
37 using EpochDigest::EpochDigest;
42 std::pair<uint64_t, uint64_t>
ratio;
61 friend scale::ScaleDecoderStream &
operator>>(scale::ScaleDecoderStream &s,
67 friend scale::ScaleEncoderStream &
operator<<(scale::ScaleEncoderStream &s,
76 uint32_t authority_index = 0;
89 #endif // KAGOME_CORE_PRIMITIVES_SCHEDULED_CHANGE
friend scale::ScaleDecoderStream & operator>>(scale::ScaleDecoderStream &s, ForcedChange &change)
DelayInChain(uint32_t delay)
Data are corresponding to the epoch.
AuthorityListChange()=default
virtual ~DelayInChain()=default
AuthorityListChange(AuthorityList authorities, uint32_t delay)
AuthorityList authorities
std::pair< uint64_t, uint64_t > ratio
boost::variant< Unused< 0 >, NextConfigDataV1 > NextConfigData
friend scale::ScaleEncoderStream & operator<<(scale::ScaleEncoderStream &s, const ForcedChange &change)
ForcedChange(AuthorityList authorities, uint32_t delay, BlockNumber delay_start)