Skip to content

Rincoin-Sim v1.0.6.1: Customized Halving & MWEB Proof of Concept

Pre-release
Pre-release

Choose a tag to compare

@Aevust Aevust released this 28 Apr 03:15
bbb286f

🔬 Rincoin-Sim v1.0.6.1: Full MWEB Lifecycle Validation & Automated Scripts

This release completes the MWEB validation suite by adding Peg-out and
Chain Reorganization (Reorg) testing, and introduces fully automated
simulation scripts for reproducible one-command verification.


✨ What's New in v1.0.6.1

1. Automated Simulation Scripts

  • scripts/sim-ch.sh — Fully automated Customized Halving BVA
    validation. Handles daemon initialization, wallet creation, block
    generation, and boundary value reporting in a single command.
  • scripts/sim-mweb.sh — Complete MWEB lifecycle simulation.
    Validates Peg-in, Peg-out (with wallet isolation), and Chain
    Reorganization resilience end-to-end.
# Customized Halving
./scripts/sim-ch.sh

# MWEB Full Lifecycle
./scripts/sim-mweb.sh

2. MWEB Full Lifecycle Validation (Peg-out & Reorg Added)

The MWEB test suite has been extended beyond Peg-in to cover the
complete transaction lifecycle, including fund recovery and chain
resilience.

Test Result
Peg-in: Transparent → MWEB (10 RIN) ✅ PASS
Peg-out: MWEB → Transparent (5 RIN) PASS (New)
Reorg: invalidateblock + re-mine PASS (New)
MWEB change address obfuscation ✅ PASS
===== Peg-out Results =====
Transparent 2 received : 5.00000000 RIN (expect ~5.0)
MWEB remaining         : 4.99991600 RIN (expect ~4.999)

[6/6] Reorg Test: Invalidating Peg-out block...
  After invalidate: height=451 (expect 451)
  Re-mining replacement block...
  After re-mine: height=452 (expect 452)

===== Simulation Complete =====
Validated: Transparent → MWEB (Peg-in) → Transparent (Peg-out) + Reorg

3. HogEx Assert: Fail-Fast Security Hardening

Replaced the silent skip-and-return guard in mweb_miner.cpp with an
explicit assert(!hogExTransaction.vout.empty()). An empty vout at
this stage indicates a critical invariant violation; the node now fails
loudly rather than silently emitting an invalid block.

This implementation adopts the fail-fast approach proposed by
@takologi, based on the original investigation by @Aevust.

4. Binary Path Auto-Detection Fix

Simulation scripts now correctly resolve binary paths whether running
from a cloned source build (src/) or an extracted release tarball
(bin/). Error messages updated to reflect the correct working
directory.


✅ Previously Validated (v1.0.6)

Customized Halving (Scenario II)

Full BVA at 1/1000 scaled block heights:

Block (sim) Block (mainnet) RIN Result
839 → 840 839,000 → 840,000 6.25 → 4.00 ✅ CH Activated
2,099 → 2,100 2,100,000 4.00 → 2.00 ✅ CH Halving 1
4,199 → 4,200 4,200,000 2.00 → 1.00 ✅ CH Halving 2
6,299 → 6,300 6,300,000 1.00 → 0.60 ✅ Terminal

Built-in Killswitch

Both Mainnet and Testnet are physically disabled at the code level.

Network Status
./rincoind -regtest ✅ Allowed
./rincoind -testnet ❌ Error & exit
./rincoind (mainnet) ❌ Error & exit

🛠️ Quick Start (Linux)

# Extract
tar -xzf rincoin-sim-v1.0.6.1-linux-x86_64.tar.gz
cd rincoin-sim-v1.0.6.1-linux-x86_64/

# Run automated validation
./scripts/sim-ch.sh    # Customized Halving
./scripts/sim-mweb.sh  # MWEB Full Lifecycle

See README.md
for manual step-by-step instructions.


📦 Release Assets

File Description
rincoin-sim-v1.0.6.1-linux-x86_64.tar.gz Linux x86_64 (tarball)

Contains:

  • bin/rincoind — Full node daemon
  • bin/rincoin-cli — RPC command-line interface
  • bin/rincoin-tx — Transaction utility
  • bin/rincoin-wallet — Wallet tool
  • scripts/sim-ch.sh — Customized Halving simulation script
  • scripts/sim-mweb.sh — MWEB full lifecycle simulation script

🔐 SHA256 Checksums

380c9c5b27b9f84d7b6a604f22578e05fc3e3a7f66c2da187151a4cb842b3790  rincoin-sim-v1.0.6.1-linux-x86_64.tar.gz

Verification command:

echo "380c9c5b27b9f84d7b6a604f22578e05fc3e3a7f66c2da187151a4cb842b3790  rincoin-sim-v1.0.6.1-linux-x86_64.tar.gz" | sha256sum -c

GPG Signature: SHA256SUMS.txt.asc (signed by Aevust)


⚠️ Important Notice

This is a simulation environment only (regtest exclusively).
The 1/1000 scaled parameters will cause immediate consensus rejection
by standard Rincoin nodes.

The production-ready Rincoin Core v1.0.6 mainnet release will
follow separately.


Pre-Release Date: 2026-04-28
Validated by: Aevust
In collaboration with: 七夕凛 (Founder, @ysmreg)