Skip to main content

POW_AVERAGING_WINDOW

Constant POW_AVERAGING_WINDOW 

Source
pub const POW_AVERAGING_WINDOW: usize = 17;
Expand description

The averaging window for difficulty threshold arithmetic mean calculations, before NU7.

PoWAveragingWindow in the Zcash specification.

Use NetworkUpgrade::averaging_window instead of this constant for consensus checks: from NU7 onward the window is POST_NU7_POW_AVERAGING_WINDOW (ZIP 218).