Skip to main content

LN2_SCALED

Constant LN2_SCALED 

Source
pub const LN2_SCALED: u64 = 6_931_680_000;
Expand description

10^10 * ln 2, rounded so that Mainnet’s PostBlossomHalvingInterval of 1,680,000 blocks gives a BLOCK_SUBSIDY_FRACTION numerator of exactly 4126.

The halving-preserving issuance ZIP states BLOCK_SUBSIDY_FRACTION as a function of the halving schedule, so that the NSM value balance’s half-life is one halving period whatever the target spacing is. With ZIP 218’s PostNU7HalvingInterval of 5,040,000 blocks the numerator is 1375, with no separate constant.