Skip to main content

POST_NU7_POW_AVERAGING_WINDOW

Constant POST_NU7_POW_AVERAGING_WINDOW 

Source
pub const POST_NU7_POW_AVERAGING_WINDOW: usize = 102;
Expand description

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

PostNU7PoWAveragingWindow in ZIP 218. It is six times the pre-NU7 window of 17, so with the target spacing cut to a third, the wall-clock smoothing window doubles from 1,275 to 2,550 seconds. ZIP 218 widens it deliberately: keeping the window at 17 blocks would have left a third of the wall-clock smoothing and tripled the difficulty noise.