6 #ifndef KAGOME_CONSENSUS_BABE_BABECONFIGREPOSITORY 7 #define KAGOME_CONSENSUS_BABE_BABECONFIGREPOSITORY 28 virtual std::shared_ptr<const primitives::BabeConfiguration>
config(
35 #endif // KAGOME_CONSENSUS_BABE_BABECONFIGREPOSITORY
virtual std::shared_ptr< const primitives::BabeConfiguration > config(const primitives::BlockInfo &parent_block, consensus::EpochNumber epoch_number)=0
virtual ~BabeConfigRepository()=default
Keeps actual babe configuration.
virtual EpochLength epochLength() const =0
virtual BabeDuration slotDuration() const =0
uint64_t EpochNumber
number of the epoch in the Babe production
BabeClock::Duration BabeDuration