Source: docs/lotus-v2/research/plans/lotus-v2-issuance-calibration.md
Research — non-normative. This page records an investigation. It defines no rule; a research result enters the specification only through a decision recorded in decision history.

Lotus V2 issuance calibration

On this page

Status: recommended, awaiting owner sign-off (2026-11-11). This note picks numbers for D10 (P06). It is not a genesis freeze. One command reproduces every number (see the end). The spec carries the genesis values marked "recommended, awaiting owner sign-off". Set A is the working default; the owner has not yet chosen between A, B and C. Revised 2026-11-18: the owner removed the tail floor T_min and cap T_max, so the tail is isqrt(T_g² W / W_g) with no clip. The text below is updated for that: every bound that used T_max is now stated at a sustained work level.

What the owner decided

On 2026-11-11 the owner set these goals:

  1. 1 XPI = 10^6 atoms, the unit P06 already uses and the RPC already shows. Wallets show 2 decimals by default.
  2. Every issuance amount is 100 times the first calibration: about 100 billion XPI after about 4 years. The first calibration aimed at 1 billion XPI and a 2-dollar break-even. Scaling all issuance by 100 leaves a miner's revenue per block in dollars unchanged, so the break-even price becomes about 2 cents per XPI.
  3. No supply cap and no clip. Nothing in consensus can stop issuance. Instead, the chosen parameters must make an unreasonable total impossible (see the issuance bound). Since 2026-11-18 there is no tail clip either, so only work bounds the total.
  4. A per-amount limit: MAX_MONEY = 2^62 atoms bounds each output, fee and stake amount through MoneyRange. It replaces the MAX_MONEY = 21000000 * COIN V2 inherited from ABC (C16a).
  5. Early miners should earn more, as in Bitcoin: a large bootstrap that decays, then the work-coupled tail.
  6. The tail is calibrated with the paper's own method, so that at launch-era energy costs and GPU hash rates a miner breaks even at the target price. The protocol cannot enforce a dollar price. The calibration sets a starting point, and the tail then pushes back against drift relative to the cost of energy.

The working-default numbers (set A)

Constant Value
Denomination 1 XPI = 1,000,000 atoms
Per-amount limit MAX_MONEY 2^62 = 4,611,686,018,427,387,904 atoms (4.61 trillion XPI)
Bootstrap shift k_boot 20 (half-life 2.76 years)
First bootstrap payment B_0 150,000 XPI = 150,000,000,000 atoms
Bootstrap reserve R_0 = B_0 × 2^20 157,286,400,000 XPI = 157,286,400,000,000,000 atoms
Genesis target (compact bits) 0x1a280830
Genesis work W_g 1,800,000,641,450,944 (expected hashes per block)
Genesis tail T_g 378 XPI = 378,000,000 atoms
Tail floor and cap none (removed 2026-11-18); the tail is 94.5 XPI at W_g / 16 and 12,096 XPI at 1,024 W_g
Block 1 gross subsidy B_0 + T_g 150,378 XPI
Supply after 4 / 10 years, flat work, no burns 100.0 / 145.5 billion XPI
Tail-only break-even at W_g 0.02 dollars per XPI

The genesis target is the work 1,000 GPUs do in 120 seconds. At that work the tail alone pays a miner just enough, at 2 cents per XPI, to cover power and hardware. On top of that, block 1 pays 150,000 XPI of bootstrap. At launch a miner therefore breaks even at about 0.005 cents per XPI; at 2 cents a launch miner is paid about 400 times their cost. That is the early-adopter reward. As the bootstrap runs out, the tail takes over.

Inputs and where they come from

Input Value Source
Block spacing 120 s; 262,980 blocks per 365.25-day year P04 working value
Bootstrap and tail rules B_n = max(1, R_n >> k_boot); T_n = isqrt(T_g² W_(n-1) / W_g), no clip P06; exact code in tools/lotus-v2-reference
Calibration method "Reference equilibrium" and "Initializing and bounding the tail state" Paper main.tex, SHA-256 60f845adc6b3645722e97cad3b7f8e315cc557d4ab4b27f851eba0770ef4dacd (read, not modified)
Measured V2 hash rate 2.24 GH/s on an Apple M5 Max 40-core GPU (five 30-second runs; 2.13 GH/s over 120 s) daemon/docs/evidence/miner-v2-hashrate.md (miner lane, measured 2026-11-11)
Discrete-GPU hash rate 15 GH/s per GPU (estimate, not measured) Scaled from the M5 Max; see below
GPU power at the wall 450 W (estimate) RTX 4090/5090-class card
GPU cost 1,800 dollars, written off over 3 years (estimate) Retail price
Electricity 0.10 dollars per kWh (estimate) Between typical industrial and home rates
All-in mining cost 0.1134 dollars per GPU-hour, 2.10 dollars per 10^15 hashes Derived from the four lines above
Miner share of the coinbase 50% D11 policy: about 50% miner, 25% staker, 25% treasury
Fees at launch about zero Minimum fees are tiny next to the subsidy (see burns)
Launch fleet 1,000 GPUs, about 15 TH/s and 450 kW (assumption) No V2 network exists yet
Proof-of-work limit 2^224 - 1 Placeholder V2 chain params in phase6-legacy; used only to encode the genesis target

Why keep 15 GH/s for a discrete GPU. The only measured rate is the M5 Max's. Miners at scale will use discrete cards, so the calibration needs their rate, and none has been measured. Scaling by integer throughput gives a range. An RTX 4090 has 16,384 32-bit lanes at about 2.5 GHz. The M5 Max has 5,120 (40 cores of 128). Lanes times clock alone suggest 5 to 6 times the M5 Max, or 11 to 13 GH/s. NVIDIA's three-input logic instruction and funnel-shift rotate fit BLAKE3's add-xor-rotate rounds, which pushes the figure up. 15 GH/s sits inside that range. It is an estimate, good to perhaps 50%. Measuring the kernel on a discrete card is still the first thing to do before freezing.

Sensitivity to the hash rate. The dollar figures matter only through one number, the cost of a hash. Set A's anchors stay fixed in every row below. The M5 Max row uses the measured rate, but its power draw (about 120 W at the wall for a GPU-bound Mac Studio-class machine) and price (2,500 dollars) are estimates; the power has not been measured.

Hardware Cost per 10^15 hashes Tail-only break-even at W_g Work of 1,000 such machines Tail at that work Break-even at that work
Discrete GPU, 15 GH/s (default) 2.10 dollars 0.020 dollars 1.80 × 10^15 378 XPI 0.020 dollars
Discrete GPU, 10 GH/s 3.15 dollars 0.030 dollars 1.20 × 10^15 309 XPI 0.024 dollars
Discrete GPU, 20 GH/s 1.58 dollars 0.015 dollars 2.40 × 10^15 436 XPI 0.017 dollars
Apple M5 Max, 2.24 GH/s measured 13.28 dollars 0.126 dollars 2.69 × 10^14 146 XPI 0.049 dollars

An M5 Max costs about 6.3 times as much per hash as the assumed discrete card. If the network at genesis work were made of M5 Max machines, the tail would break even at about 13 cents. If the launch fleet were 1,000 M5 Max machines, the genesis difficulty would be 6.7 times too high and ASERT would lower it. The tail at that lower work breaks even at about 5 cents. Either way the same parameters pay the cheaper hardware first, which is what a proof-of-work market does.

How the paper's method is applied

The paper sets the miner's revenue equal to the miner's cost at a reference point:

P* × (R* + (1 − β) F*) ≈ W* × k_e*
R_tail* ≈ R* − R_boot*

Here P* is the target price, W* the reference work per block, k_e* the cost of one unit of work, F* fees and R_boot* the bootstrap paid at that point. V2 makes two adjustments:

The first calibration used P* = 2 dollars and gave T_g = 3.78 XPI. The owner then scaled every issuance amount by 100. That is the same as P* = 0.02 dollars: T_g = 378 XPI. The tail is not recalibrated to 2 dollars.

With the absolute tail, the tail is a fixed curve of work: T(W) = T_g × sqrt(W / W_g). At a price P, the tail alone pays for exactly the work at which revenue equals cost, which is

W_eq = W* × (P / P*)²

So if XPI trades at 2 cents, the tail alone sustains the reference fleet. At 4 cents it sustains four times that work, and pays twice as much XPI per block. If hashing gets cheaper (better GPUs, ASICs, cheaper power), the tail sustains more work at the same price and so pays more XPI per block. The extra supply pushes the price back toward the cost of energy. That is the "resists drift against energy cost" the paper describes. With no clip, the response continues at every work level.

For set A, the reference work W* is the genesis work: the owner asked that a miner break even "at launch-era energy costs and miner hash rates". The genesis target is the launch fleet's expected work, so the genesis difficulty is realistic on day one.

No tail bounds. This note first recommended the paper's suggestion R_min = η R_tail* with η = 1/4 (T_min = T_g / 4, binding below 1/16 of the launch fleet) and a cap T_max = 32 × T_g (binding above 1,024 times the launch work). The owner removed both on 2026-11-18. Without the cap, a sudden ASIC jump raises issuance as the square root of the work, and only work bounds the total (see the issuance bound). Without the floor, the tail at very low work falls toward zero; liveness is then stated against the current tail (P05's G3).

Choosing B_0, R_0 and the bootstrap shift

Any shift can reach 100 billion XPI at year 4 by sizing R_0. What the shift changes is how fast supply keeps growing after year 4. Flat work, A's tail, no burns, billion XPI at year end:

Shift B_0 (XPI) Half-life Year 1 Year 2 Year 4 Year 6 Year 10 Total bootstrap R_0
19 220,000 1.38 y 45.59 73.24 100.23 110.25 115.57 115.34
20 150,000 2.76 y 34.99 62.24 100.01 122.96 145.47 157.29
21 120,000 5.53 y 29.76 56.02 99.66 133.66 180.84 251.66

Keep the shift at 20. It already front-loads more than Bitcoin (Bitcoin issued half its coins in 4 years; shift 20 issues 63% of the bootstrap in 4 years). It still pays miners well through the first decade (supply grows about 45% between years 4 and 10, falling each year), so security does not collapse onto the small tail all at once. Shift 19 pays 40% of its bootstrap in year one (shift 20 pays 22%) and leaves miners mostly on the tail by year 6. Shift 21 keeps growing to 2.5 times its year-4 supply.

B_0 = 150,000 XPI is a round number that lands on 100.0 billion at year 4. The bootstrap pays R_0 to the atom over its life, so its whole contribution is 157,286,400,000 XPI.

The three candidate sets

All three are 100 times the first calibration's amounts, with the same shift, genesis work and tail ratios.

A: working default B: larger tail C: faster bootstrap
Shift k_boot 20 20 19
B_0 150,000 XPI 149,000 XPI 220,000 XPI
R_0 157,286,400,000 XPI 156,237,824,000 XPI 115,343,360,000 XPI
Genesis target / W_g 0x1a280830 / 1.8 × 10^15 same same
Tail breaks even at 2 cents at 1,000 GPUs (launch) 10,000 GPUs 1,000 GPUs
T_g 378 XPI 1,195 XPI 378 XPI
Tail at W_g / 16 / 1,024 W_g (no clip) 94.5 / 12,096 XPI 298.75 / 38,240 XPI 94.5 / 12,096 XPI
Launch break-even, tail only 0.0200 dollars 0.0063 dollars 0.0200 dollars
Launch break-even, bootstrap + tail 0.000050 dollars 0.000050 dollars 0.000034 dollars
Fleet the subsidy pays for at 2 cents: launch / year 4 / tail alone 397,663 / 146,459 / 1,000 GPUs 397,179 / 147,650 / 3,160 GPUs 582,773 / 79,233 / 1,000 GPUs
Total after 1,000 years at a sustained 1,024 W_g (see below) 3.34T XPI, 72% of 2^62 10.21T XPI, above INT64_MAX 3.30T XPI, 71% of 2^62
Largest sustained work whose 1,000-year total stays inside 2^62 2,008 W_g 201 W_g 2,046 W_g

The miners' pay falls a long way as the bootstrap ends. At 2 cents, A pays the miner 2,722 dollars a day from the tail alone, against about 1.08 million dollars a day at launch. These dollar amounts are the same as in the first calibration. Whether the tail-only security of 1,000 GPUs (A) or 10,000 GPUs (B) is enough is the main judgement this note leaves to the owner. The formula is the same either way; only the reference fleet changes.

The ratio levers

The owner wants to discuss three ratios. Each one below changes one ratio of set A and leaves the rest alone.

1. The bootstrap/tail split, B_0 / T_g. A pays about 397 times as much bootstrap as tail in block 1. With B_0 fixed, changing T_g moves the split and the break-even price together, because the break-even price is inversely proportional to T_g:

T_g B_0 / T_g Tail-only break-even Year 4 Year 10 Tail's share of year-10 supply 1,000-year total at 1,024 W_g Crosses 2^62 at 1,024 W_g
37.8 XPI 3,968 0.20 dollars 99.65B 144.58B 0.1% 10% of 2^62 14,003 years
378 XPI 397 0.02 dollars 100.01B 145.47B 0.7% 72% of 2^62 1,400 years
3,780 XPI 40 0.002 dollars 103.58B 154.42B 6.4% 693% of 2^62 140 years

In the first decade the bootstrap dominates whatever the tail is. The split matters after it: the tail is what pays for security once the reserve is spent. A larger tail buys more long-run security, but it also issues more for good, and the issuance bound at any work level grows in proportion.

2. Sustained work. There is no tail cap (removed 2026-11-18), so total issuance depends on how much work is sustained. At k² W_g the tail is k T_g:

Sustained work Tail Total after 1,000 years Crosses 2^62 Crosses INT64_MAX
64 W_g 8 T_g 0.95T XPI (21%) 5,601 years 11,400 years
256 W_g 16 T_g 1.75T XPI (38%) 2,801 years 5,700 years
1,024 W_g 32 T_g 3.34T XPI (72%) 1,400 years 2,850 years
4,096 W_g 64 T_g 6.52T XPI (141%) 700 years 1,425 years
16,384 W_g 128 T_g 12.88T XPI (279%) 350 years 713 years
3.3 × 10^8 W_g (Bitcoin's work per block today) about 18,200 T_g (6.87 million XPI) 1,806T XPI (39,000%) 2.5 years 5 years

The tail keeps responding to any rise in mining. The 1,000-year total stays inside 2^62 while work stays below about 2,008 W_g.

3. The break-even price. This is the same lever as the split, seen in dollars: the tail pays the reference fleet's cost at a price P, and T_g is proportional to 1/P. The owner's ×100 scaling moved the break-even price from 2 dollars to 2 cents without changing the dollar revenue per block. Scaling all issuance again (bootstrap and tail together) would move the price the same way and leave the split, the shape and the dollar figures unchanged. Only the XPI amounts, and the issuance bounds in XPI, would change.

Supply year by year, before burns

Billion XPI at the end of each year. "Work" is per-block work as a multiple of the genesis work. In the 10× and 100× cases it rises smoothly (by the same factor each day) over the first 4 years, then stays level.

A (working default)

Work Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
flat 34.99 62.24 83.47 100.01 112.90 122.96 130.80 136.93 141.72 145.47
10× 35.00 62.31 83.64 100.35 113.46 123.73 131.80 138.14 143.15 147.11
100× 35.02 62.41 83.96 101.16 114.95 125.90 134.64 141.66 147.35 152.00

B (larger tail)

Work Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
flat 34.97 62.25 83.56 100.20 113.22 123.43 131.44 137.74 142.72 146.66
10× 35.02 62.48 84.11 101.30 115.01 125.89 134.58 141.56 147.22 151.84
100× 35.08 62.81 85.13 103.85 119.71 132.74 143.58 152.71 160.51 167.28

C (faster bootstrap)

Work Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
flat 45.59 73.24 90.03 100.23 106.45 110.25 112.59 114.05 114.97 115.57
10× 45.61 73.31 90.20 100.58 107.01 111.03 113.59 115.26 116.40 117.21
100× 45.63 73.42 90.53 101.39 108.50 113.20 116.43 118.79 120.60 122.10

In the first decade the bootstrap dominates, so more mining changes supply only a little: 100× work raises A's year-10 supply by 4.5%. The tail matters after the bootstrap. At 100× work A's tail is 3,780 XPI per block, about 994 million XPI a year.

If XPI really traded at 2 cents from launch, the bootstrap would pay for about 400 times the launch fleet. The 100× row is therefore closer to what a 2-cent price would bring than the flat row. At 400× work A's tail is 7,560 XPI per block.

Two effects are left out of these tables. Blocks are assumed to arrive exactly every 120 seconds. When mining grows fast, ASERT lags and blocks come early, and because the bootstrap is paid by height, it then runs ahead of the calendar. Second, the genesis difficulty can be wrong. Roughly: if the real launch fleet is 10 times larger than assumed, ASERT (two-day half-life) takes about 1.7 days and 4,565 blocks to come within 2× of the right difficulty, paying 0.43% of R_0 (about 680 million XPI) in that time instead of over the 6.3 days those blocks should take. If the fleet is 10 times smaller, blocks start 10 times slow, and the first 1,221 blocks take about 6.3 days instead of 1.7.

Burn sensitivity

Burns reduce circulating supply one for one. Set A, steady external burn budget, XPI bought at 2 cents, net billion XPI:

Work Burn budget per year XPI burned per year Year 4 Year 10
flat 0 dollars 0 100.01 145.47
flat 1 million dollars 50 million 99.81 144.97
flat 10 million dollars 500 million 98.01 140.47
flat 100 million dollars 5 billion 80.01 95.47
100× 0 dollars 0 101.16 152.00
100× 1 million dollars 50 million 100.96 151.50
100× 10 million dollars 500 million 99.16 147.00
100× 100 million dollars 5 billion 81.16 102.00

After the bootstrap, supply stays level when burns match the tail. At 2 cents that takes 1.99 million dollars a year of burns at launch work (99 million XPI), 6.29 million dollars at 10× work and 19.88 million dollars at 100× work.

Everyday fees burn very little. Half of each minimum fee is burned. At the recommended minimum fee (100 atoms per byte, below), 250-byte payments burn about 0.46 million XPI a year at 100,000 a day, 4.6 million at a million a day and 46 million at ten million a day. At the spec's current 1 atom per byte, each figure is 100 times smaller. Supply is set by the subsidy and by deliberate burns (IS_BURN outputs, burn-to-speak, the parabolic block burn floor under load), not by ordinary fees.

The issuance bound

Nothing in consensus caps or clips issuance. There is no running supply total in MonetaryState, which keeps its four fields. Since the tail has no cap, no parameter bounds what can ever be issued; work does.

The bound at a sustained work level. The bootstrap pays R_0 to the atom over its whole life, and the tail rises with work. So if no block's work exceeds W, after Y years with nothing burned gross issuance is at most

R_0 + isqrt(T_g² W / W_g) × 262,980 × Y

For comparison, 2^62 atoms is 4.61 trillion XPI and INT64_MAX (2^63 − 1 atoms) is 9.22 trillion XPI. At a sustained 1,024 times the launch work (the level the removed cap stopped at):

Set After 1,000 years Share of 2^62 After 100,000 years Multiple of INT64_MAX Crosses 2^62 Crosses INT64_MAX
A 3.34T XPI 72% 318.3T XPI 34.5× year 1,400 year 2,850
B 10.21T XPI 221% 1,005.8T XPI 109.0× year 443 year 902
C 3.30T XPI 71% 318.2T XPI 34.5× year 1,413 year 2,863

tests/test_calibration.py asserts these bounds for A, that A's 1,000-year total stays inside 2^62 below about 2,008 W_g (B: 201 W_g), and that one block's tail reaches 2^62 only at about 1.5 × 10^20 W_g.

What this means. For A, at sustained thousand-fold mining with no burns, no total of coins can exceed the per-amount limit for 1,400 years; at genesis work A issues 99 million XPI a year and would take about 45,000 years. At much higher work the guarantee is shorter: at Bitcoin's work per block today (about 3.3 × 10^8 W_g) the tail is 6.9 million XPI a block and the total passes 2^62 in about 2.5 years. No fixed parameters can bound the tail below 64 bits for all time, since the tail pays something at any work. Over such spans burns, a hard fork or a new scalar-parameter vote will matter more than this bound.

Per-amount checks. For A, the largest stored amount at launch is R_0, 3.4% of 2^62, and block 1's subsidy, B_0 + T_g = 150,378 XPI, is about 3.3 × 10^-8 of it. One block's tail reaches MAX_MONEY only at about 1.5 × 10^20 W_g, and passes u64 at about 2.4 × 10^21 W_g; what happens there is an open item in P06. The tail numerator T_g² × W at W = 2^256 − 1 needs 313 bits (317 for B), inside P06's u384.

The per-amount limit (C16a)

MAX_MONEY = 2^62 atoms bounds each spendable native output value, each fee, and each stake amount, through MoneyRange. It limits amounts, not supply. It replaces the inherited MAX_MONEY = 21000000 * COIN: in daemon/lotusd branch phase6-legacy, COIN is still 10^8, so that limit is 2.1 × 10^15 atoms, about 2.1 billion XPI. Set A passes that total in about 14,000 blocks, under 20 days, and one large output or stake could hit it. That is a launch bug.

2^62 is half the signed 64-bit range, but two maximal amounts add to 2^63, one past INT64_MAX. So each sum of amounts should use a checked addition, or compare against MAX_MONEY − sum before adding, as defence in depth. At sustained work up to about 2,000 times the launch work, honest sums cannot reach 2^62 for 1,000 years; the checks stop a crafted input set, a bug, or a much higher work level from overflowing first.

Constants denominated in atoms

The spec's atom constants are back at their 10^6 values. Dollars below are at the 2-cent break-even price.

Constant Where Spec value XPI Dollars Recommended XPI Dollars
MIN_FEE_PER_KB C14b, P05 1,000 atoms/kB (1 atom/byte) 0.001/kB 0.00002/kB 100,000 atoms/kB (100 atoms/byte) 0.1/kB 0.002/kB
Minimum fee, 250-byte payment C14b 250 atoms 0.00025 0.000005 25,000 atoms 0.025 0.0005 (a twentieth of a cent)
Minimum fee, 2,000-byte transaction C14b 2,000 atoms 0.002 0.00004 200,000 atoms 0.2 0.004
Coinbase byte charge K (about 250 bytes) P05 about 250 atoms 0.00025 0.000005 about 25,000 atoms 0.025 0.0005
DUST_LIMIT (working value) C14c, P05 546 atoms 0.000546 0.000011 54,600 atoms 0.0546 0.0011
Token-output burn 2 × DUST_LIMIT C14a 1,092 atoms 0.001092 0.000022 109,200 atoms 0.1092 0.0022
Cleaning-crew bounty per swept coin (CLEANING_CREW_BASE_REWARD_ATOMS) daemon only 2,000 atoms 0.002 0.00004 200,000 atoms 0.2 0.004
Avalanche stake dust (PROOF_DUST_THRESHOLD) daemon policy 10,000,000,000 atoms 10,000 200 1,000,000,000,000 atoms 1,000,000 20,000
Avalanche minimum quorum stake daemon policy 1,000,000,000,000 atoms 1,000,000 20,000 100,000,000,000,000 atoms 100,000,000 2,000,000
Block burn floor shifts S_linear, S_quad C25, P05 not chosen calibrate after the fee floor
Visible wallet decimals P06 2 shown, 4 hidden unchanged

Why 100 times the spec's fees. Issuance is now 100 times larger in XPI, so XPI is worth a hundredth as much at the same dollar revenue. At the spec's 1 atom per byte a payment would cost 0.0005 cents, effectively free. The recommended 100 atoms per byte makes a 250-byte payment 25,000 atoms: 0.025 XPI, a twentieth of a cent at 2 cents per XPI. MIN_FEE_PER_KB and DUST_LIMIT are frozen consensus minimums: a later policy can raise the working value, but nothing can lower it without a hard fork. So the minimum belongs at the low end of "a fraction of a cent". If XPI rose tenfold, the minimum payment fee would still be half a cent. DUST_LIMIT and the token burn keep their ratio to the fee floor (546 bytes' worth). The cleaning-crew bounty follows the fee floor so a sweep still pays for itself.

The stake dust and quorum values are Avalanche policy, not consensus, and can change in any release. The spec's values are ABC's defaults read as atoms. Recommended values follow issuance (×100) so that a proof still costs about 20,000 dollars and a quorum about 2 million dollars at the break-even price: 0.001% and 0.1% of the year-4 supply.

The spec still states the old fee, dust and token-burn values; this note recommends the change and does not make it. The development profile and the private-testnet fixtures keep their atom values.

Daemon code changes (not made here)

Another lane owns daemon/lotusd. These changes follow from this note, against phase6-legacy:

  1. src/consensus/amount.h: set COIN = 1,000,000 * SATOSHI for V2 and MAX_MONEY = (int64_t{1} << 62) * SATOSHI. Today COIN is 10^8 while the XPI display unit is already 10^6 (Currency XPI in src/consensus/amount.cpp), so every COIN-scaled constant is wrong for XPI.
  2. Checked additions at the sum sites, as defence in depth: replace += on Amount with Amount::CheckedAdd (it exists) or a MAX_MONEY − sum comparison, rejecting on overflow, in consensus/tx_check.cpp (output sum), consensus/tx_verify.cpp (both input sums), validation.cpp (both block fee sums), avalanche/treasury.cpp (MoneyRange(sum + out.nValue) adds before it checks), the V2 coinbase entitlement and payout sums in src/lotus_v2/ (the spec and reference use checked u128 there), mempool ancestor and descendant fee sums, and wallet balance sums. Supply totals that are not consensus (gettxoutsetinfo total_amount, Chronik aggregates) should saturate or use 128 bits; at a sustained 1,024 W_g they pass INT64_MAX after 2,850 years, and much sooner at higher work.
  3. avalanche/proof.cpp, getStakedAmount: static_assert(MAX_MONEY <= INT64_MAX / 2) fails at exactly 2^62 (INT64_MAX / 2 = 2^62 − 1), because the clamped running total plus a clamped stake can reach 2^63. Replace the plain add with a saturating one, total = stake >= MAX_MONEY − total ? MAX_MONEY : total + stake, and drop the assert.
  4. Proof::amountToScore: today it returns 100 * amount / COIN in uint32_t. At 2^62, 100 * MAX_MONEY overflows int64_t and the score would be 4.6 × 10^14. Use a score unit of 2,000 XPI, amount / (2000 * COIN), with no multiplication, and static_assert(MAX_MONEY / (2000 * COIN) <= UINT32_MAX) (2^62 / (2 × 10^9) = 2,305,843,009). The recommended stake dust (1,000,000 XPI) is then score 500, the recommended quorum score 50,000. Rounding loses under 0.2% of a minimum proof. Network score totals stay inside uint32_t up to 8.6 trillion XPI staked. Update MIN_VALID_PROOF_SCORE and avalanche/test/proof_tests.cpp.
  5. PROOF_DUST_THRESHOLD = 100 * COIN and AVALANCHE_DEFAULT_MIN_QUORUM_STAKE: set them in atoms explicitly (the recommended 1,000,000 XPI and 100,000,000 XPI), so they no longer depend on COIN.
  6. src/lotus_v2/monetary.{h,cpp}: MonetaryState and the tail cache are unchanged. If the owner adopts the recommended fee floor, change ValidateProfile's min_fee_per_kb == 1000 to 100,000, and CLEANING_CREW_BASE_REWARD_ATOMS in src/lotus_v2/sparse_state.h to 200,000.
  7. Chain params (src/kernel/chainparams.cpp): give each V2 network an explicit monetary profile with the signed-off k_boot, R_0, T_g, W_g (no T_min or T_max); set the mainnet genesis target to the signed-off bits (0x1a280830 for all three sets); remove the placeholder genesis's 50 * COIN output (P02 requires zero native issuance) and the legacy GetBlockSubsidy halving path for V2.
  8. Policy and wallet: DUST_RELAY_TX_FEE, default relay and minimum fee rates, and wallet fee defaults expressed in COIN or atoms. RPC amounts already use 6 decimals.
  9. Tests and fixtures: src/test/lotus_v2_tests.cpp, src/lotus_v2/test_*.cpp, wallet fixtures, development-profile manifests and their digests.

What this does not establish

Reproduce

From the repository root, with the standard library only (about two seconds):

PYTHONPATH=tools/lotus-v2-reference python3 -m lotus_v2_reference.calibration
PYTHONPATH=tools/lotus-v2-reference python3 -m unittest tools/lotus-v2-reference/tests/test_calibration.py

The module is tools/lotus-v2-reference/lotus_v2_reference/calibration.py. It uses the reference package's exact bootstrap recurrence, absolute tail and compact-target codec. Change CostModel or a Candidate to try other inputs.