Module constants

Source
Expand description

These constants are specific to FRAME, and the current implementation of its various components. For example: FRAME System, FRAME Executive, our FRAME support libraries, etc…

Structs§

BlockExecutionWeight
Weight of executing an empty block. Calculated by multiplying the Average with 1.0 and adding 0.
ExtrinsicBaseWeight
Weight of executing a NO-OP extrinsic, for example System::remark. Calculated by multiplying the Average with 1.0 and adding 0.
ParityDbWeight
ParityDB can be enabled with a feature flag, but is still experimental. These weights are available for brave runtime engineers who may want to try this out as default.
RocksDbWeight
By default, Substrate uses RocksDB, so this will be the weight used throughout the runtime.

Constants§

WEIGHT_PROOF_SIZE_PER_KB
WEIGHT_PROOF_SIZE_PER_MB
WEIGHT_REF_TIME_PER_MICROS
WEIGHT_REF_TIME_PER_MILLIS
WEIGHT_REF_TIME_PER_NANOS
WEIGHT_REF_TIME_PER_SECOND