No actual code for potential HF14 and HF15 yet. Just a plan for now.
Conversation with AI agent:
Can you look at the privacy setting that Nerva currently offers and compare it to Monero?
Let me explore the codebase to understand Nerva’s privacy implementation.
Agent: Nerva vs Monero privacy feature analysis
Analyze the Nerva cryptocurrency codebase at d:\Code\Crypto\Nerva\nerva for privacy features. I need a thorough comparison vs Monero. Specifically look for:
1. RingCT implementation — what ring size is used? Where is it configured? (look in cryptonote_config.h, src/ringct/, any MIN_MIXIN or ring size constants)
1. Ring size: 5 vs 16 Nerva’s DEFAULT_MIXIN = 4 gives ring size 5. Monero upgraded to ring size 16 in 2022. A larger ring makes statistical decoy analysis harder — with ring size 5, tracing heuristics are significantly more effective.
2. MLSAG instead of CLSAG Nerva still uses the older MLSAG signature scheme. Monero migrated to CLSAG (Concise Linkable Spontaneous Anonymous Group) in October 2020. CLSAG reduces tx size by ~25% and is considered more efficient, but both provide the same theoretical privacy guarantee.
3. Bulletproofs v2 instead of Bulletproofs+ Monero upgraded to Bulletproofs+ in August 2022, which are ~5–7% faster to verify and ~6% smaller. Nerva is on the older v2.
4. No Triptych / Seraphis roadmap features Monero is working toward Seraphis/Jamtis which would further increase ring sizes and improve privacy. Nerva has no equivalent research effort.
Bottom Line
Nerva’s privacy model is solid but dated — roughly equivalent to Monero circa 2020. The stealth address + RingCT + Dandelion++ foundation is sound. The practical weaknesses are the small ring size (5) and MLSAG vs CLSAG. These are the highest-leverage improvements if you wanted to close the gap with Monero’s current privacy posture.
What changes would you make to update/improve Nerva’s privacy?
Three changes, ranked by impact:
1. Ring size 5 → 16 (highest priority) This is the single biggest practical privacy improvement. Small rings are vulnerable to EAE (Eve-Alice-Eve) tracing and chain-reaction deanonymization. Monero’s analysis showed ring size 11+ breaks most known heuristics; they settled on 16. The cost is ~3x larger ring signature data per tx, which increases blockchain growth rate and sync time — already a concern for Nerva given the post-930k slowdown.
2. MLSAG → CLSAG Well-proven migration — Monero did it in October 2020, the code is battle-tested. You’d get ~25% smaller ring signatures and faster verification. This partially offsets the size increase from a larger ring. The implementation effort is moderate: the Monero CLSAG code could be backported directly since Nerva is a fork.
3. Bulletproofs+ (replacing v2) Smallest gain of the three — roughly 6% smaller range proofs, 5–7% faster verification. Worth doing if you’re already touching the ringct layer for CLSAG, since it’s a contained change with no protocol-level downside.
The natural order would be: CLSAG + Bulletproofs+ together (they touch the same layer), then ring size increase as a separate hardfork since it has the largest chain-size impact and needs its own performance analysis against Nerva’s already-slow sync.
Want me to sketch out what the implementation would look like, or discuss the sync impact first?
Sketch out the implementation.
Good — CLSAG doesn’t exist in this codebase at all, which means it’s a full backport, not a modification. Here’s the complete implementation sketch:
Implementation Plan: 3 Privacy Upgrades
Overview
These are delivered as two sequential hardforks to keep each change isolated and auditable:
HF14 — CLSAG + Bulletproofs+
HF15 — Ring size 16 (separate fork because it has chain-size implications that deserve independent community discussion)
Change 1: CLSAG (replaces MLSAG for new transactions)
CLSAG doesn’t exist here. The full implementation lives in Monero’s src/ringct/clsag.h and clsag.cpp as of their October 2020 hardfork. This is a direct file copy + wiring job.
New files to add:
src/ringct/clsag.hsrc/ringct/clsag.cpp
The Monero implementation exports four functions — these are exactly what you’d copy:
Add the clsag struct serialization and wire proveRctCLSAGSimple / verRctCLSAGSimple into the existing genRctSimple / verRctNonSemanticsSimple dispatch:
// In genRctSimple — add CLSAG branchif (rct_config.clsag) {rv.p.CLSAGs.push_back(proveRctCLSAGSimple(...));} else {rv.p.MGs.push_back(MLSAG_Gen(...));}// In verRctNonSemanticsSimple — add CLSAG branch if (rv.type == RCTTypeCLSAG) {return verRctCLSAGSimple(message, rv.p.CLSAGs[i], rv.mixRing[i], ...);}
src/ringct/rctTypes.h: Add the BulletproofPlus struct (structurally similar to Bulletproof but with different field counts — copy exactly from Monero).
if (hf_version >= HF15_VERSION) {if (key_offsets.size() < DEFAULT_RINGSIZE_HF15) {MERROR_VER("Ring size too small for HF15: " << key_offsets.size());return false;}}
The natural order is to do CLSAG and Bulletproofs+ together as one PR (they activate at the same hardfork and both touch rctSigs), then ring size as a follow-on.
Want me to implement this?
Yesterday, you did CryptoNight-NX algo change to make Nerva’s algo more ASIC/GPU resistant. Where would you put that in the hard forks?
It’s already slotted as HF13 from the previous session — the hardfork table in src/cryptonote_config.h has {13, 1100000} as a placeholder.
The full sequence would be:
HF
Change
Height
HF12
Last existing Nerva fork
~930,000
HF13
CryptoNight-NX (ASIC/GPU resistance)
1,100,000 (placeholder)
HF14
CLSAG + Bulletproofs+ (privacy upgrade)
TBD
HF15
Ring size 16 (anonymity set)
TBD
The ordering makes sense for two reasons: mining algorithm changes should stabilize before touching the transaction signing layer, and CLSAG needs to be live before increasing ring size so the larger rings don’t make tx size even worse with MLSAG.
The 1,100,000 height for HF13 is still a placeholder — you’d want to confirm what the current chain height is and give the community enough lead time (typically 2-4 weeks) before setting it in stone.
NervaOne Wallet and Miner, version 0.8.5.0 has just been released.
New functionality includes the ability to run as wallet only by connecting to remote node and Net Hash Threshold. It also includes some bug fixes and other minor improvements.
A few days ago, one of our community members launched Nerva Quest, a community rewards platform where you can earn points by completing simple quests that support Nerva ecosystem.
Complete Daily and Epic Quests, submit proof and claim real Nerva (XNV) as rewards.
After loosing both exchanges in 2025, Nerva was deactivated on CoinGecko, showed as preview page on CoinMarketCap and did not show chart or pricing info on other crypto tracking websites.
After NonKyc exchange listing, XNV is being tracked again and shows price history and market cap going back to 2018.