mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-07 14:17:22 +00:00
Rococo V1 (#2141)
* Update to latest master and use 30 minutes sessions * add bootnodes to chainspec * Update Substrate * Update chain-spec * Update Cargo.lock * GENESIS * Change session length to one hour * Bump spec_version to not fuck anything up ;) Co-authored-by: Erin Grasmick <erin@parity.io>
This commit is contained in:
@@ -33,8 +33,7 @@ pub mod time {
|
||||
use primitives::v0::{Moment, BlockNumber};
|
||||
pub const MILLISECS_PER_BLOCK: Moment = 6000;
|
||||
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
|
||||
// 30 seconds for now
|
||||
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = MINUTES / 2;
|
||||
pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 1 * HOURS;
|
||||
|
||||
// These time units are defined in number of blocks.
|
||||
pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
|
||||
|
||||
Reference in New Issue
Block a user