fn ar_scale_damp_factor(height: u64) -> u64 {
	if global::is_testnet() {
		if height < T4_CUCKAROO_HARDFORK {
			DIFFICULTY_DAMP_FACTOR
		} else {
			AR_SCALE_DAMP_FACTOR
		}
	} else {
		// Mainnet (or testing mainnet code).
		AR_SCALE_DAMP_FACTOR
	}
}
/// The AR scale damping factor to use. Dependent on block height
/// to account for pre HF behavior on testnet4.
The AR scale damping factor to use. Dependent on block height
to account for pre HF behavior on testnet4.
The AR scale damping factor to use . Dependent on block height to account for pre HF behavior on testnet4 .
fn ar_scale_damp_factor(height: u64) -> u64 {
	if global::is_testnet() {
		if height < T4_CUCKAROO_HARDFORK {
			DIFFICULTY_DAMP_FACTOR
		} else {
			AR_SCALE_DAMP_FACTOR
		}
	} else {
		// Mainnet (or testing mainnet code).
		AR_SCALE_DAMP_FACTOR
	}
}
fn ar_scale_damp_factor ( height : u64 ) -> u64 { if global :: is_testnet ( ) { if height < T4_CUCKAROO_HARDFORK { DIFFICULTY_DAMP_FACTOR } else { AR_SCALE_DAMP_FACTOR } } else { // Mainnet (or testing mainnet code). AR_SCALE_DAMP_FACTOR } }
The AR scale damping factor to use.
The AR scale damping factor to use .
height
u64