Kagome
Polkadot Runtime Engine in C++17
kagome::primitives::ForcedChange Struct Referencefinal

#include <scheduled_change.hpp>

Inheritance diagram for kagome::primitives::ForcedChange:
Collaboration diagram for kagome::primitives::ForcedChange:

Public Member Functions

 ForcedChange ()=default
 
 ForcedChange (AuthorityList authorities, uint32_t delay, BlockNumber delay_start)
 
- Public Member Functions inherited from kagome::primitives::AuthorityListChange
 SCALE_TIE (2)
 
 AuthorityListChange ()=default
 
 AuthorityListChange (AuthorityList authorities, uint32_t delay)
 
virtual ~AuthorityListChange ()=default
 

Public Attributes

BlockNumber delay_start
 
- Public Attributes inherited from kagome::primitives::AuthorityListChange
AuthorityList authorities {}
 
uint32_t subchain_length = 0
 

Friends

scale::ScaleDecoderStream & operator>> (scale::ScaleDecoderStream &s, ForcedChange &change)
 
scale::ScaleEncoderStream & operator<< (scale::ScaleEncoderStream &s, const ForcedChange &change)
 

Detailed Description

Definition at line 51 of file scheduled_change.hpp.

Constructor & Destructor Documentation

kagome::primitives::ForcedChange::ForcedChange ( )
default
kagome::primitives::ForcedChange::ForcedChange ( AuthorityList  authorities,
uint32_t  delay,
BlockNumber  delay_start 
)
inline

Definition at line 54 of file scheduled_change.hpp.

Friends And Related Function Documentation

scale::ScaleEncoderStream& operator<< ( scale::ScaleEncoderStream &  s,
const ForcedChange change 
)
friend

Definition at line 67 of file scheduled_change.hpp.

scale::ScaleDecoderStream& operator>> ( scale::ScaleDecoderStream &  s,
ForcedChange change 
)
friend

Definition at line 61 of file scheduled_change.hpp.

Member Data Documentation

BlockNumber kagome::primitives::ForcedChange::delay_start

Definition at line 59 of file scheduled_change.hpp.


The documentation for this struct was generated from the following file: