Module runtime_common::constants[][src]

Re-exports

pub use currency::*;

Modules

Structs

Same as Polkadot Relay Chain.

Constants

We assume that ~10% of the block weight is consumed by on_initalize handlers. This is used to limit the maximal weight of a single extrinsic.

We allow for 0.5 seconds of compute with a 6 second average block time.

This determines the average expected block time that we are targeting. Blocks will be produced at a minimum duration defined by SLOT_DURATION. SLOT_DURATION is picked up by pallet_timestamp which is in turn picked up by pallet_aura to implement fn slot_duration().

We allow Normal extrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics.

28 eras for unbonding (28 days). Six sessions in an era (24 hours)

Functions