diff --git a/src/blocks/block.rs b/src/blocks/block.rs index ccf1b83..c120f2f 100644 --- a/src/blocks/block.rs +++ b/src/blocks/block.rs @@ -123,8 +123,8 @@ impl UnminedBlock { } fn asert_target(anchor_target: u64, height_delta: u32, time_delta: i128) -> u64 { - // Deterministic fixed-point ASERT calculation. The polynomial is the - // BCH ASERT approximation for 2^x, avoiding platform-dependent floats. + // Deterministic fixed-point ASERT calculation. The polynomial + // approximates 2^x without platform-dependent floats. let expected_time = height_delta as i128 * TARGET_BLOCK_SECONDS; let time_error = time_delta - expected_time; let exponent = (time_error << ASERT_RADIX_BITS) / ASERT_HALF_LIFE_SECONDS;