- const TAU: u64 = 2;
-
- // We choose 1_000 because it is largest number between MIN_EPOCH_LENGTH and MAX_EPOCH_LENGTH that
- // can divide INITIAL_PRIMARY_EPOCH_REWARD and can be divided by ORPHAN_RATE_TARGET_RECIP.
- pub(crate) const GENESIS_EPOCH_LENGTH: u64 = 1_000;
-
- // o_ideal = 1/40 = 2.5%
- const ORPHAN_RATE_TARGET: RationalU256 = RationalU256::new_raw(U256::one(), u256!("40"));
-
- const MAX_BLOCK_INTERVAL: u64 = 48; // 48s
- const MIN_BLOCK_INTERVAL: u64 = 8; // 8s
-
- // cycles of a typical two-in-two-out tx
- pub const TWO_IN_TWO_OUT_CYCLES: Cycle = 3_500_000;
- // bytes of a typical two-in-two-out tx
- pub const TWO_IN_TWO_OUT_BYTES: u64 = 597;
- // count of two-in-two-out txs a block should capable to package
- const TWO_IN_TWO_OUT_COUNT: u64 = 1_000;
- pub(crate) const DEFAULT_EPOCH_DURATION_TARGET: u64 = 4 * 60 * 60; // 4 hours, unit: second
- const MILLISECONDS_IN_A_SECOND: u64 = 1000;
- const MAX_EPOCH_LENGTH: u64 = DEFAULT_EPOCH_DURATION_TARGET / MIN_BLOCK_INTERVAL; // 1800