Sessions/epochs are 1 hour not 4. (#630)

This commit is contained in:
Gavin Wood authored and GitHub committed 2019-11-28 13:16:32 +00:00
1 parent d63f20434e
commit 48c5d5ce19
1 file changed
+4 -2
+4 -2
View File
@@ -32,8 +32,10 @@ pub mod time {
// Testnet
// pub const MILLISECS_PER_BLOCK: Moment = 1000;
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
// Kusama & mainnet
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 4 * HOURS;
// Kusama
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 1 * HOURS;
// Mainnet
// pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 4 * HOURS;
// Testnet
// pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 10 * MINUTES;