From 0d0e0d0440f4218e480e916efad723aafa4619d4 Mon Sep 17 00:00:00 2001 From: Krystie Date: Mon, 3 Aug 2026 03:51:31 -0700 Subject: [PATCH] build: bump version to 6.2.5.0 (matches clientversion.h, CMakeLists.txt, CHANGELOG) --- CHANGELOG.md | 21 +++++++++++++++++++++ CMakeLists.txt | 2 +- src/clientversion.h | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b49c3e2..0f7f30b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,27 @@ All notable changes to Triangles (TRI) are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.2.5] - 2026-08-03 + +### Fixed +- **Stake-age soft cap reverted** in `src/kernel.cpp::GetWeight`. The V5-fork + 7-day soft cap (activated 2026-04-12) was the regression that capped + long-dormant coins at 7 days of weight, killing the diamond-hands + incentive. Restored to original Peercoin `min(nAge, nStakeMaxAge)`. + Chain was frozen at block 2,224,763 since 2026-07-18 with no blocks + ever produced under the soft cap, so reverting changes zero historical + block validation results. +- **`ReadUtxo` lazy fallback** in `src/txdb-base.cpp`. The fallback to + `txindex.vSpent[]` exists in `HaveUtxo` but was missing in `ReadUtxo`, + so nodes with incomplete UTXO snapshots could not find pre-snapshot + unspent outputs (chain stalled at 2,224,763 since 2026-07-18). + Added: when UTXO DB misses an entry but `txindex.vSpent[n].IsNull()`, + read the transaction from disk and reconstruct the full CUtxoEntry + including exact block height via `mapBlockIndex` lookup. +- **`DisconnectBlock` height reconstruction** in `src/main.cpp`. Reorg + path now recovers exact block height via `mapBlockIndex` instead of + leaving `nHeight = 0` on restored UTXOs. + ## [6.2.4] - 2026-08-02 ### Changed diff --git a/CMakeLists.txt b/CMakeLists.txt index 023e046..54e61c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ if(POLICY CMP0167) endif() project(Triangles - VERSION 6.1.7 + VERSION 6.2.5 DESCRIPTION "Cryptographic Triangles Wallet" LANGUAGES C CXX ) diff --git a/src/clientversion.h b/src/clientversion.h index 48c765f..510db74 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -8,7 +8,7 @@ // These need to be macros, as version.cpp's and triangles-qt.rc's voodoo requires it #define CLIENT_VERSION_MAJOR 6 #define CLIENT_VERSION_MINOR 2 -#define CLIENT_VERSION_REVISION 4 +#define CLIENT_VERSION_REVISION 5 #define CLIENT_VERSION_BUILD 0 // Converts the parameter X to a string after macro replacement on X has been performed.