Source: docs/lotus-v2/research/plans/lotus-v2-constants-audit.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 consensus constants audit

On this page

Status: research for owner decisions (2026-11-18). This note changes no normative file and no code. Nothing was built or checked out.

The owner's goal: "I want to not have to touch this again. Bitcoin died because of needing fixes that couldn't get done politically."

The rule

Every consensus constant must be in one of three classes:

  1. Fixed by nature. It describes the thing itself, so it never needs changing: encodings, hash tags, field widths, ratios defined against the reference operation, VM semantics, the address format.
  2. Self-adjusting. It is derived from signals consensus can check: work and difficulty, issuance, block cost history, timestamps.
  3. Pre-agreed change mechanism. It changes only through a mechanism specified in full before launch: the scalar-parameter vote, or a soft-fork path such as opcode assignment or a raised C_enforce.

A constant that fits none of these is UNCLASSED. It is a future political fight. The owner also rejects caps, clips and magic numbers on principle.

Two facts shape the classification:

Sources


Summary table

Counts:

Class Rows
UNCLASSED 29
1, fixed by nature 36
2, self-adjusting 8
3, pre-agreed mechanism (once U1 and U5 exist) 4

Policy-only rows (Avalanche, Snowstorm, transport) are included because they can split or stall the network even though they do not decide block validity. Where they are counted, they are marked "policy".

UNCLASSED

"Code" is the value at fd10cf77a7. "≠" marks a spec and code mismatch.

# Constant Value (spec / code) Class Action
X1 Block-size limit in V2 block validation spec: none (C25, P04) / code: header size > node-local excessiveblocksize is invalid; default 32 MB, with -adaptiveblocksize up to 1 GB (validation.cpp:9102, :9199-9205; lotus_v2/fee_hysteresis.h:38-41) ≠ UNCLASSED (cap, node-local) Remove from V2 validation. This is Bitcoin's 1 MB fight, and it is node-local, so it can also split the chain. The P05 burn floor already prices size.
X2 MAX_TX_SIZE spec: none / code: 1,000,000 bytes in consensus/tx_check.cpp:38 (consensus.h:15) ≠ UNCLASSED (cap) Remove for V2. Confirm which V2 paths reach tx_check.cpp. The parabolic C_tx replaces it.
X3 Transport caps spec: 2 MiB per command; 16 MiB negotiation ceiling; ABC u32 message length (peering.md §6) / code: MAX_PROTOCOL_MESSAGE_LENGTH = 2 MiB (protocol.h:27); block messages get the block limit plus 256 KiB UNCLASSED (de facto block cap) A chunked block-transfer protocol is needed before launch. A design block is about 3 GB and the worst launch block about 8.3 GB, past even u32 framing. The spec admits that a valid block above the cap cannot sync.
X4 MAX_INVOCATION_COST spec: recommended 2^22 cu; dev profile 10^8 / code: 1,000,000 (validation.cpp:452) ≠ UNCLASSED (cap) Remove. Rely on the parabolic C_tx and checked u128 arithmetic. Keeping it means any later price rise can strand coins (EIP-1884).
X5 E_min = E_0 2^34 cu (spec rec.; code network_profile.h:97-98) UNCLASSED (capacity anchor) Pending the fee-floor note. It is the "design capacity" in cu, and it is frozen while hardware grows. Suggested: concentration measured against max(E_n, E_min) (the note's §6.3 with F = E_min, so no new constant).
X6 S_linear, S_quad 32 / 32 (approved) / code: unset on main and test (network_profile.h:99-100) UNCLASSED (atom price of a cu) Pending the fee-floor note: index the price by I_n, and the concentration term by S_n·(C/E_min)².
X7 MIN_FEE_PER_KB 1,000 atoms/kB (spec; code network_profile.h:102; the owner kept it per the code comment) / issuance note recommends 100,000 UNCLASSED (nominal atoms) Pending the fee-floor note. Index it, or put its working value under the vote.
X8 DUST_LIMIT 546 atoms (spec, code :103) / issuance note 54,600 UNCLASSED (nominal; vote unspecified) Index it for non-coinbase outputs, as the fee-floor note proposes. Keep coinbase dust fixed. Specify the vote (U5).
X9 Token-output burn multiple 2 × DUST_LIMIT per token output (C14a; code monetary.cpp:163) UNCLASSED (magic "2") Derive it: price a token output's burn as its state-key cu at the floor price, or state why 2.
X10 CLEANING_CREW_REWARD 2,000 atoms (code sparse_state.h:30, network_profile.h:104); not named in consensus.md UNCLASSED (nominal atoms) Derive it from the erase cost of the swept coin's state key at the current floor price, or index it with I_n. Spec it in C16.
X11 MAX_EXPIRY_SWEEPS_PER_BLOCK code: 1,024 (sparse_state.h:29); not in spec UNCLASSED (cap, code only) Remove it (sweeps pay cu), or spec it. A cap on sweeps lets expired coins pile up under load.
X12 UTXO_MIN_LIFESPAN_BLOCKS 131,400 blocks = 182.5 days (P02; code sparse_state.h:26, comment wrongly says 3 months) UNCLASSED (magic) Owner decision: freeze it as a permanent value with a stated rationale, and add a spec rule that no soft fork shortens the expiry of existing coins.
X13 UTXO_MAX_LIFESPAN_BLOCKS 21,024,000 blocks = 79.9 years; also the fixed coinbase lifespan (P02; code :27, comment says 40 years) UNCLASSED (cap) Remove the min() cap (saturate at u64, as P02 already does for the sum). Decide coinbase lifespan by rule, not by a number (options in the details).
X14 UTXO_RENT_ATOMS_PER_BLOCK 1 atom per block (P02; code :28) UNCLASSED (nominal atoms) Pending the fee-floor note (UTXO_RENT_n = I_n).
X15 T_min, T_max tail clip spec still has T_g/4, 32·T_g (C16, C16a, P06, D10) / code: clamp in monetary.cpp:92, network_profile.h:76,92-93 / reference monetary.py:123 UNCLASSED (clip; owner removed it 2026-11-18) Remove from the spec, the code and the reference. Restate C16a's 1,000-year bound and G3 (the pricing note §2 gives the restatement).
X16 Tail above u64 unspecified; T_n passes MAX_MONEY at about 1.5×10^20 W_g, and u64 at about 2.4×10^21 UNCLASSED (a checked-overflow reject would be a hidden cap) Before genesis: widen tail_subsidy and the entitlement to u128 in MonetaryState (free now), pay S_n across several outputs each ≤ MAX_MONEY.
X17 ASERT half-life 172,800 s (P04 working value "not yet a calibration"; code kernel/chainparams.cpp:219) UNCLASSED (magic; DAA changes are historically contested) Freeze it as a class-1 control-loop constant, with the simulation written into P04 (expressed as 1,440 τ). There is no safe on-chain signal for it.
X18 POW_LIMIT reference placeholder 2^224−1; code main 00000000ffff… (chainparams.cpp:210) UNCLASSED (placeholder; sets the minimum tail, so G3) Derive it: the largest target at which a coinbase-only block can still pay its floor from the tail alone, or the codec maximum with G3 restated.
X19 COINBASE_MATURITY spec: "at least one, uncalibrated" (P01) / code: 100 (consensus/consensus.h:33), dev 2 ≠ UNCLASSED (open / inherited magic) Pick the smallest value justified by the h→h+1 pipeline and Avalanche finality. Raising it later is a soft fork (class 3 once U1 exists).
X20 K_expiry_margin used in C22a; no value anywhere; not in code UNCLASSED (undefined) Define it. It is policy: derive it from the maturity or the Avalanche finalization depth.
X21 Future-time limit spec: OPEN (P04); dev 7,200 s / code MAX_FUTURE_BLOCK_TIME = 7,200 s (chain.h:28) UNCLASSED (open) Specify it as 60 τ, with its bound on the difficulty effect (2^(7200/172800) = 2.9%), as eligibility, not validity.
X22 Staker / treasury reward ratios 25% / 25%, "configurable in the network profile" (P06) / code policy/block/stakingrewards.h:26, avalanche/treasury.h:48 UNCLASSED (policy; "configurable" invites a fight) Put them under a stake vote carried in the proofs, like the treasury slate, with bounds. Otherwise freeze them in the spec as permanent policy.
X23 Avalanche stake dust / quorum 10^11 / 10^13 atoms on main (dev profile; code network_profile.h:105-106) / issuance note 10^12 / 10^14 UNCLASSED (policy; nominal atoms) Index them, for example to a fraction of issued supply (R_0 − R_n plus the tail sum), or to I_n.
X24 Default treasury slate unset on main and test (kernel/chainparams.cpp:226,329) UNCLASSED (policy placeholder) Owner multisig. The launch plan already tracks it.
X25 VM structural bounds with no mainnet value: MAX_SCRIPT_BYTES, MAX_ARGUMENTS, MAX_STACK_ITEMS, MAX_ALTSTACK_ITEMS, MAX_VM_BYTES, MAX_AST_DEPTH spec: no mainnet values; dev 8192 / 64 / 256 / 256 / 1 MiB / 64 / code 10,000 / 65,535 / 1,000 / 1,000 / 65,536 / 64 (validation.cpp:445) ≠ UNCLASSED (open caps) Derive each from MAX_ELEMENT_BYTES and the loop bound, and leave room for a ~50 KB post-quantum witness. Then they are class 1.
X26 MAX_TX_CLAIM_PAIRS 4,096 (deferred-checks; code deferred_checks.h:281) UNCLASSED (minor; no stated derivation) State it as 16 × 256 (branches × outputs) or derive it; then class 1.
X27 S_tx_knee spec 17 (C24, P05, dev) / approved 18 / code 17 (network_profile.h:95) ≠ UNCLASSED (minor magic) Set 18. Optionally derive it as log2(E_min) − 16 = 18, so it follows E_min if that becomes usage-relative.
X28 MAX_STATEHASH_ITEMS 64 (code vm.cpp:619, reference vm.py:188, addendum O1); not in P03 UNCLASSED (minor; unspecified) Put it in P03 with its derivation; then class 1.
X29 Policy floor defaults in fee_hysteresis.h DEFAULT_CONSENSUS_FLOOR_PER_KCU 1,000, burn shifts 32/60, EMA min 4, target 25M cu (fee_hysteresis.h:32-44) UNCLASSED (policy shadow of consensus values) Derive every relay floor from the consensus profile. A second set of shifts invites divergence.

Class 1: fixed by nature

# Constant Value Class Action
F1 COIN 10^6 atoms (P06; code consensus/amount.h:155) 1 —
F2 MAX_MONEY 2^62 atoms, half of i64 (C16a; code amount.h:177) 1 (width) Keep. Restate C16a without T_max (X15).
F3 Hash construction and domain tags BLAKE3(tag ‖ 00 ‖ x); P02 registry 1 —
F4 Header layout 134 bytes; version 2; u48 time; u64 nonce; u32 bits; u64 size and height (P04; code lotus_v2/header.h:14-16) 1 —
F5 Height bound u32 in the coinbase, so 2^32 − 1 blocks ≈ 16,300 years (P01, P04) 1 —
F6 Transaction version, lock kinds, input flags 7; lock kinds 0..2; flags 01/02/03; everything else rejects (P01) 1 (closed set; extending is a hard fork) List the closed sets in one place (U3).
F7 Output flags bits 0..2; bits 3..7 must be zero (C05) 1 (closed) As F6.
F8 Signing modes 00, 01, 02, closed (P01) 1 (closed; new modes come as opcodes) —
F9 CHECKDATASIG profiles 0..3, closed (P03) 1 —
F10 MAX_OUTPUT_BRANCHES, MAX_OUTPUT_PATHS 16 / 16, the uint16_t path bitmask (C09; code output.h:18-19) 1 —
F11 Output and coin size 844 / 917 bytes max, derived 1 Fix the stale 868/900 figures (M10).
F12 MAX_INPUTS, MAX_OUTPUTS, MAX_MINTS 256, equal to the loop bound (C06; code lotus_v2/transaction.h:20-21,78) 1 —
F13 Loop depth and bound 2 and 256 (C22; code vm.cpp:162, :1321) 1 —
F14 MAX_BRANCH_PROOF_DEPTH 64, so 2^64 leaves (P05; code transaction.cpp:90) 1 —
F15 Numeric widths 16..1,024 bytes; MUL to 2,048 (P03; code vm.h:32-34) 1 —
F16 MAX_ELEMENT_BYTES 8,192 (P05; code vm.h:31) 1, provided multi-element operands are allowed for future opcodes (U2) State that in P03.
F17 CoinbaseData 0 or 1 element of ≤ 8,192 bytes (P01) 1 —
F18 Block transaction count u32 (P04; code block_wire.cpp:54) 1 MAX_BLOCK_TXS in the P05 manifest can be deleted.
F19 UTXO tree 256-bit key, prefix-compressed (P02; code sparse_state.h:216). Fast-sync shards (fast_sync.h:21-24) are not consensus. 1 —
F20 OutpointKey layout txid with the index XORed into bytes 28..31 (P02) 1 —
F21 Header history tree MMR with 64 levels (spec; code header_history.h:21) 1 —
F22 MonetaryState 56/88 bytes (P02) 1 Widen the tail field (X16).
F23 MTP window 11 (P01; code header_context.cpp:23) 1 —
F24 Absolute lock 56-bit value (P01) 1 —
F25 Relative lock 16-bit d, 512-second units (P01, inherited from BIP68) 1 (width) Review before freeze: at 2-minute blocks the height lock tops out at 91 days and the time lock at 388 days. Widening is free now and a hard fork later.
F26 Block interval τ 120 s (P04; code chainparams.cpp:214) 1 (defines the clock) —
F27 EMA shift w 10, a ~1.4-day time constant (P05; code network_profile.h:96) 1 (control-loop constant, in blocks) —
F28 Fee split 50% of remaining fees burned (C16; code monetary.cpp:262-274) 1 (structural: the anti-self-dealing half) Say in the spec that it is permanent.
F29 Genesis anchors k_boot = 20; R_0 = 2^20·150,000 XPI; T_g = 378 XPI; W_g from 0x1a280830 (P06; code network_profile.h:89-94) 1 (immutable profile inputs; the tail then self-adjusts) —
F30 The cu 1 cu = one two-compression tagged BLAKE3 hash (owner, 2026-11-18) 1 Write it into P05 (M3).
F31 cu weights BIP340/ECDSA 210, P-256 620, Ed25519 49,400, invocation 6 + 1 per script byte, read 64, state key pending (pricing note) / code: not defined 1 (ratios to the reference op) Raises are class 3 via C_enforce. The state key still needs measuring (gate 3).
F32 Wire byte 2 cu (owner, 2026-11-13) / spec says 1 cu ≠ 1 (declared design ratio) Fix C24, P05, D08 (M2).
F33 C_envelope 286 + 2F + 7N (approved) / code: stand-in 138 + 64N 1 (derived) —
F34 Address format types 0 and 1; 2–30 reserved; 31 escape 1 Specify the type-31 encoding ("still open").
F35 Avalanche finalization and vote constants score 128; 8-vote window needing more than 6; stake confirmations 2,016 (code avalanche/voterecord.h:19, proof.h:38) 1 (policy, inherited from ABC) —
F36 Snowstorm constants B_root 30 bits, B_tx 10, β_max 0.20, K_min/K_max relative to D, T = 25 (snowstorm.md) / code: none exist 1 (policy; security targets) —

Class 2: self-adjusting

# Constant or rule Value Class Action
S1 Adaptive tail T = isqrt(T_g²·W/W_g) (P06; code monetary.cpp:85-93) 2 Drop the clamp (X15).
S2 Bootstrap B_n = max(1, R_n >> 20), telescoping (P06; code monetary.cpp:104-108) 2 (a height schedule; exact by construction) —
S3 ASERT target genesis-anchored ASERT (P04) / code anchors at height 1 at powLimit ≠ 2 Fix the code (M5).
S4 EMA E_n E' = E − (E >> w) + (C >> w) 2 —
S5 Parabolic C_tx L + (L² >> S_tx_knee) 2 (derived) Knee per X27.
S6 Block burn floor (C·max(E, E_min)) >> S_linear + C² >> S_quad 2 in shape Its constants are X5 and X6.
S7 Cleaning-crew bounty bound min(m·CCR, ⌊F/2⌋, G − ⌊G/2⌋) 2 (bounded by the block's own fees) Its base is X10.
S8 Work-indexed fee floor I_n S_n·W_g / (T_g·W_(n−1)) 2 (pending that note) —

Class 3: pre-agreed mechanism (once U1 and U5 exist)

# Mechanism Value Class Action
P1 Opcode extension space 30 single-byte OP_SUCCESS_N plus 256 EXT2 codes (P03; registry has 226 assigned) 3 Needs U1. Fix "31" in D07 (M11).
P2 Price raises C_enforce ≥ C_account (P05) 3 Needs U1. Make P05 cover outer charges (U4).
P3 Frozen minimums raised by vote DUST_LIMIT, fee floor 3 in intent Needs U5. Until then X7 and X8 stay UNCLASSED.
P4 Coinbase maturity raise a soft fork 3 Needs U1. The value itself is X19.

Upgrade-path checklist

A path counts as specified only if the spec says what changes, what old nodes do with it, and how it activates. No activation mechanism of any kind is specified today. P03 says "Activation/signalling remains a separate network-upgrade decision". The header has no version bits, because P04 deliberately keeps no reserved bytes. Unknown header and transaction versions reject. So every path below stops at the same missing piece.

# Path Mechanism in the spec today Specified? What is missing
U1 Activation and signalling for any soft fork None No Who signals: miners in CoinbaseData, stakers in their Avalanche proofs (where they already vote a treasury slate), or a flag height. Also the threshold, the window, and what happens on failure. Without it, every other row needs an off-chain coordination fight.
U2 New signature schemes (quantum risk) Assign a success byte or an EXT2 code to a new verify opcode, under P03's soft-fork contract. CHECKDATASIG selectors are closed on purpose, and P03 points future crypto at success bytes. MAX_ELEMENT_BYTES was sized for SLH-DSA-128s (7,856-byte signature). Partly (a) U1. (b) Larger schemes do not fit one stack item: SLH-DSA-128f is 17,088 bytes and the 192/256 sets are 16–50 KB. P03 should let a new opcode take one operand split across several items. The outer witness limits (X25) apply even to success invocations, so their values must leave room. (c) A rescue path for coins whose only branch is a revealed BIP340 key. A later soft fork that disables EC spends strands them. A commit-then-reveal rescue (prove the key preimage under a hash commitment made before the freeze) should be designed now. (d) PQ verification would be priced in C_enforce but enters the EMA only as a structural charge (see C_account drift below).
U3 New VM opcodes and profiles Same mechanism; NOP stays a no-op Partly (a) U1. (b) P03 still presents both two-byte encodings ("Candidate A" MSB and "Candidate B" EXT2). The registry has 0xff = EXT2, so close A explicitly. (c) There are no versioned outputs. Output flag bits, the transaction version, lock kinds and signing modes are closed sets, so a new output kind, field, lock kind or signing mode is a hard fork. That is a sound trade-off (new semantics arrive through revealed scripts), but the spec should list these hard-fork-only sets in one place.
U4 Soft-fork price raises (frozen C_account, higher C_enforce) P05: C_enforce ≥ C_account; the floor and the invocation limit use C_enforce; the EMA uses C_account; no activation may lower an earlier enforcement charge Partly (a) U1. (b) P05 ties C_enforce to "after an extension activates". It should say outright that a soft fork may raise any existing opcode's charge and the outer charges: bytes, state keys, reads and C_envelope. (c) Raises can strand scripts under MAX_INVOCATION_COST (X4). (d) Lowering a price is a hard fork. For VM operations, assigning a new, cheaper opcode with the same semantics achieves it, and P05 should say so. The calibration note already expects to want lower prices ("the case for the hard fork that lowers the prices"). For outer charges there is no such route, so measure them on the node path before freeze.
U5 The scalar-parameter vote C14a and C14c state the intent: consensus freezes a minimum, and a later non-consensus vote raises the working value, enforced by Avalanche parking. "A way to vote on scalar parameters such as this is still to be designed." No Everything: which parameters it covers; who votes (stake in proofs is the obvious template); the window and quorum; the bounds (tightening only, above the frozen minimum, with a maximum step per window); enforcement by parking, so syncing nodes never see it; behaviour when Avalanche is not finalizing; and parameters that cut both ways (E_min, X5).
U6 Re-anchoring what consensus cannot observe (hashes per kWh, η) The fee-floor note suggests the scalar vote for a rare re-anchoring after an ASIC step No (needs U5) Pending that note and U5.

The transport cap (X3) belongs with these. It needs a chunked transfer protocol before launch, not an upgrade path after.


Spec and code mismatches

These are values that disagree. Three groups: spec against code, spec against owner decisions, and spec against itself.

# Item Spec Code at fd10cf77a7 or other source Note
M1 Tail clip C16, P06, D10: T_min = T_g/4, T_max = 32·T_g code clamps (monetary.cpp:92); reference clamps (monetary.py:123); owner removed both 2026-11-18 Spec, code and reference all lag the owner.
M2 Bytes in cu C24, P05, D08: 1 cu per wire byte owner: 2 cu (2026-11-13) Spec edit owed.
M3 Unit of a cu P05: normalized to bytes owner: one two-compression tagged BLAKE3 hash Spec edit owed.
M4 S_tx_knee 17 approved 18; code 17 (network_profile.h:95)
M5 ASERT anchor P04: genesis target and time, fixed anchor, no testnet min-difficulty exception GetNextWorkRequired gives block 1 powLimit, then classic aserti32d anchored at height 1 (pow/pow.cpp:37-45, pow/aserti32d.cpp:14). The testnet min-difficulty rule after 240 s is still present (aserti32d.cpp:48-52). The genesis-anchored asert_candidate.* is not called by the node. Consensus mismatch. Mainnet difficulty would start at powLimit, not at W_g, so the tail at block 2 would be computed from powLimit work.
M6 Block size none (C25) node-local excessive-size check (X1) Consensus mismatch.
M7 Tx size none MAX_TX_SIZE 1 MB (X2)
M8 MAX_INVOCATION_COST rec. 2^22; dev 10^8 1,000,000
M9 VM bounds dev 8192 / 64 / 256 / 256 / 1 MiB / 64 10,000 / 65,535 / 1,000 / 1,000 / 65,536 / 64 X25.
M10 Coin size C05, P05: 868 / 900 bytes, "917 with the Coin-v2 extension" P02: one Coin encoding with lifespan always present; reference coin.py:31-32: 885 / 917 Spec is internally inconsistent. P05's "225 KiB for 256 coins" uses 900.
M11 Opcode count D07: "226 assigned … plus 31 generic success bytes" P03 and C28: 30; registry opcodes.json: 226 assigned, so 30 226 + 31 = 257 is impossible.
M12 cu schedule P05 / pricing note: per-primitive weights code: every opcode base 1, structural 1, ENFORCEOUTPUT 32 per output (validation.cpp:449-465); block cost uses the stand-ins on every network (primitives/block.cpp:189-196) Main and test refuse to start until set (network_profile.h:147-160, pow.cpp:105-127).
M13 Ed25519 weight approved 49,400 reference resources.py:220: 49,200
M14 Coinbase maturity open, "at least one" 100 (consensus/consensus.h:33); dev 2
M15 Fee floor P05: 1,000 atoms/kB issuance note recommends 100,000; the pricing note's atom figures assume 100,000; code 1,000, with a comment that the owner kept 1,000; reference monetary.py:66 rejects anything other than 1,000 The owner's choice needs writing down; the notes then need their figures redone.
M16 Lifespan comments 131,400 blocks ≈ 182 days, 21,024,000 ≈ 80 years at 120 s sparse_state.h:26-27 comments say 3 months and 40 years (1-minute blocks) Comment only, but it shows the constants were picked for another block interval.
M17 Treasury guide — guides/treasury-multisig.md:111-112 says DUST_LIMIT = 3 atoms on the branch, and a recommendation of 1,000,000/kB and 546,000 atoms "for 10^9-atom XPI" Stale.
M18 Development profile development-profile.md:337: "the T_max = 32·T_g cap is still under discussion" owner removed it Stale.
M19 Snowstorm parameters in snowstorm.md; K = 37 in the launch plan no Snowstorm code exists in lotusd at this commit (it is on snowstorm/host-v2C) Not a mismatch at this commit, but the constants should be checked on that branch.
M20 Avalanche amounts dev profile 10^11 / 10^13 atoms issuance note recommends 10^12 / 10^14; code 10^11 / 10^13 Owner chose the code values (code comment).

Details

X1–X3: hidden size caps

The spec removed MAX_TX_BYTES and MAX_BLOCK_BYTES and prices size through the parabolic cost and the burn floor. Three caps survive.

X1: block size. CheckBlockHeader-level code rejects a header whose size exceeds getExcessiveBlockSize() (validation.cpp:9102). The default is 32 MB. With -adaptiveblocksize, on by default, CheckBlock raises its own limit to at least 1 GB (:9199-9205), but the header check uses the unmodified option. The limit is a node setting, so two honest nodes with different settings disagree on validity. This is the exact mechanism of Bitcoin's block-size war. Remove it from V2 validation. If a sanity bound is wanted before allocation, derive it from what the block can pay: a block whose floor exceeds S_n + F can be rejected on its header-declared size.

X2: transaction size. MAX_TX_SIZE = 1,000,000 is still a consensus check in consensus/tx_check.cpp:38, next to the V2 input and output caps, which "apply to every transaction version". Remove it for V2 and confirm which V2 transaction paths reach tx_check.cpp.

X3: transport. The design block at 100k tx/s is about 3 GB, and the worst launch-subsidy block about 8.3 GB (pricing note). Messages are capped at 2 MiB per command, with a 16 MiB negotiation ceiling, and u32 framing tops out at 4 GiB. peering.md §6 admits the consequence: "If every reachable peer refuses it, this first implementation cannot synchronize past that block." A valid block that cannot propagate is a chain halt or split, and raising the cap afterwards is a coordinated network change. A chunked, request-driven transfer that keeps exact block bytes and u64 lengths is needed before launch. It is transport, not consensus, but without it consensus capacity is fiction.

X4: MAX_INVOCATION_COST

It is a cap. Its job is to bound the serial work of one invocation, which cannot be parallelized. The parabolic C_tx already prices that: a 2^22-cu transaction pays 17 times its linear cost at knee 18. A larger one pays more, but it is not forbidden. The static charge is computed before execution in checked u128, so the fee check can come first and nothing unpaid ever runs.

The cap also has a cost. Every later price rise (U4) must prove that no existing script crosses it, or coins become unspendable. That is Ethereum's EIP-1884 problem, and the pricing note's principle 8 ("leave headroom under hard caps").

Recommendation: remove it. The arithmetic width (the charge must fit u64 after the u128 composition) is the only bound, and that is fixed by nature.

X5, X6: the burn-floor constants (pending the fee-floor note)

E_min / 2^S_linear is the quiet-chain atom price of a cu, 4 atoms. C² >> S_quad is the concentration surcharge, in atoms. Both are nominal amounts. Their real value moves with XPI's price and, without T_max, drifts without bound as work grows. The fee-floor note recommends indexing the linear term by I_n and the concentration term by S_n·(C/E_min)², with no new constant.

That leaves E_min as the design capacity in cu. It is frozen while validator hardware improves. Over 20 years, design capacity should grow perhaps tenfold. With E_min fixed, a 10× design block would burn 100 subsidies forever, and a vote to raise E_min lowers the burn, so it loosens validity and cannot be a tightening-only vote. This is the block-size fight in a new form.

This note suggests the fee-floor note's §6.3 usage-relative knee, with F = E_min rather than a new constant: concentration is measured against max(E_n, E_min). Capacity is then cheap from day one, as now, and grows with sustained demonstrated use. Monero's long-term median shows that this resists ratcheting. The decision belongs to the fee-floor lane.

X7–X10, X14: atom-denominated amounts

These are fixed in atoms: the fee floor, dust, the token burn, the cleaning bounty, and UTXO rent. Their real value drifts with price. The issuance note shows the dangerous direction: at a Bitcoin-scale √ equilibrium, a payment fee is about $9 and the dust limit about $20, and "both can only be lowered by hard fork". The fee-floor note's second stage indexes them by I_n, keeping K and coinbase dust fixed for liveness. The cost is that a transaction's validity then depends on its block's index (about 3% between siblings).

Either route works. Index them (class 2), or keep them as very low frozen minimums and specify the tightening vote (class 3). They cannot stay as they are.

The token-burn multiple "2" (X9) has no derivation. A native output must hold DUST_LIMIT of value, and a token output holds none, so one DUST_LIMIT is the obvious equivalent. If two are meant to cover creation and the eventual sweep, the spec should say so, or the burn should be the cu of one state-key insert and erase at the current floor price, which self-adjusts.

The cleaning bounty (X10) should likewise be the erase cost of the swept key at the floor price, so that "a sweep pays for itself" holds by construction rather than by a 2,000-atom guess.

X11–X13: coin expiry

Expiry is consensus and confiscatory, so its constants are the most politically sensitive in the protocol.

The owner should pick one by principle, not by number.

X15, X16: the tail without a clip

The owner removed T_min and T_max. Three things remain:

  1. The spec (C16, C16a, P06, D10, the development profile), the code (monetary.cpp:92, network_profile.h:76,92-93) and the reference (monetary.py) still clip.
  2. C16a's 1,000-year bound is written with T_max. Without it, total issuance over finite time is bounded only by work. The pricing note §2 gives the replacement statements for the EMA and G3.
  3. Beyond u64. With no clip, T_n passes MAX_MONEY at about 1.5×10^20 W_g and u64 at about 2.4×10^21 W_g (pricing note). A checked-overflow reject there would be a supply cap by another name. Before genesis, widen tail_subsidy and the entitlement arithmetic to u128, which is a free format change now, and require the coinbase to pay any S_n above MAX_MONEY across several outputs, each within MoneyRange. MAX_MONEY stays a per-amount limit (class 1).

X17, X18, X21: time and difficulty

X19, X20: maturity and the expiry margin

The coinbase is already inserted one block late (h → h+1), and Avalanche finalizes blocks. Bitcoin's 100 is a magic number inherited through consensus.h:33. Choose the smallest value the reorg argument supports. Raising it later is a tightening soft fork, so erring low is the recoverable direction. K_expiry_margin (C22a) has no value anywhere. It is mempool policy; tie it to the same finality depth.

X22–X24: payout policy

The 50/25/25 split is soft parking policy, "configurable in the network profile". A percentage that a release can change is exactly the kind of number that miners and stakers will fight over. Stakers already vote a treasury slate inside their proofs. The ratios could ride the same stake-weighted vote, with bounds and a step limit, or the spec can declare them permanent policy. The stake dust and quorum are nominal atoms and should follow supply or I_n.

X25–X28: structural bounds

The bounds a parser needs before allocation are legitimate, but each should be derived and stated, not picked:

The code's values (10,000 / 65,535 / 1,000 / 1,000 / 65,536 / 64) are ABC-flavoured and differ from the development profile. They must also leave room for a post-quantum witness of about 50 KB split over several items (U2). Once derived, they are class 1.

C_account drift

P05 freezes C_account forever, and the EMA uses only C_account. A newly assigned opcode is a success byte in that view, so it carries only its structural charge. If most load ever moves to new opcodes (post-quantum verification, for example), the EMA, which is the chain's measure of sustained load, under-reports real work while C_enforce still prices the floor correctly. This is not a reason to change the design, since it keeps old and new nodes on identical state roots. But the scalar vote or the fee-floor index should not rely on E_n as a faithful load signal after extensions. Record it as a known limitation in P05.

What this audit does not establish