v2.0.0: proof-native contracts, block capacity and scheduled issuance #40
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pool
post-quantum
question
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ignotusnemo/parano1d!40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Mandatory protocol upgrade: v2 activates at mainnet block 210,537. Nodes, GUI wallets, block-producing pool nodes and exchange infrastructure must update before that height. Updated software switches automatically; v1.1 software cannot validate v2 blocks.
This PR promotes the v2 release branch into main. It adds proof-native smart contracts, replaces the active block classes, moves to a 30-second target and introduces a transparent height-based issuance schedule. The existing genesis, live balances and wallet secrets are preserved.
The planning estimate for activation is October 10, 2026, 11:59 PM PDT (October 11, 06:59 UTC). The activation rule is block height.
Protocol impact
1. Proof-native smart contracts
From live value to live rights. A live output can commit to a program, authorities and persistent counters. Contract execution and authorization are checked inside the shared recursive block proof. Nodes can verify the current result after old transaction bodies have been pruned.
u64counters, two scratch registers, checked arithmetic, conditions and access to inclusion height. Custom applications use the same core and matrices.Participants retain public terms and receipts for application recovery. A shared contract file carries terms and at most one matching receipt; additional receipts can be imported independently. A missed interaction whose body has already been pruned can be recovered from a participant's retained receipt.
2. Block capacity and consensus
Change the target interval from 20 to 30 seconds. ASERT uses a six-block reference epoch and a 180-second half-life, accounting for both intervals across activation. The historical v1 → v1.1 rules remain unchanged.
The limits apply together. A contract call consumes one page and one input; ordinary transactions can consume several pages and inputs. Small holds up to 63 one-page payments or 63 calls. Large holds up to 206 one-page payments, or 63 calls plus 143 one-page payments, within the shared input budget. The primary coinbase has a separate page; an additional mandatory system page consumes one of the listed user pages.
Large production requires
--v2-large-blockson the producing server. The flag permits fee-based selection; every node verifies both classes. Both classes support the same contract programs and call limit.Retain the 144-block transaction epoch, 18-block finality boundary, 17-block maximum reorg and 42/36-block body/undo retention. Their target-time equivalents follow the new interval. Wallet preflight, mempool admission and block construction enforce the authenticated class budgets, including changes across activation and rollback.
3. Tokenomics
Replace reward reductions tied to State expansion with the exact gross subsidy schedule:
16 → 11.30 → 8 → 5.65 → 4 → 2.83 → 2 → 1.41 → 1 NOID per block.
The first tier starts at H210537. Each subsequent reduction occurs after 1,051,200 blocks, nominally one year at the 30-second target. After eight reductions, the permanent tail is 1 NOID per block. State expansion does not advance or reset this schedule.
Early mainnet operation showed that live State occupancy does not provide a predictable monetary clock: payments, consolidation and contract updates can reuse slots while activity continues. Height gives issuance a visible horizon. State occupancy continues to price net-new live slots; the growth fee is burned, and consolidation frees slots and avoids that charge.
Recalculate existing height-based allocation timing for 30-second blocks while preserving the percentage split and the original three-year horizon from genesis.
Proof transition, network and storage
--blocks.Documentation and release metadata
Set all workspace packages to 2.0.0 and add mandatory release notes. Update the README and English, Russian and Chinese documentation with the v2 profile, the live-rights concept, contract core, six templates, API, CLI, GUI, receipts and network economics. Keep historical profiles in the archive and mark the activation height at the entry points. Bundle contract instructions with the native packages.
Verification
cargo fmt --all -- --checkpasses on the PR branch. Recorded qualification includes:Commands, source identities, artifact hashes and results are retained in the final-bank qualification report and the two-wallet and package report.