Skip to content

Security: UTXO Migration Precision Fix#2926

Closed
MichaelSovereign wants to merge 65 commits intoScottcjn:mainfrom
MichaelSovereign:security-fix/utxo-migration-precision
Closed

Security: UTXO Migration Precision Fix#2926
MichaelSovereign wants to merge 65 commits intoScottcjn:mainfrom
MichaelSovereign:security-fix/utxo-migration-precision

Conversation

@MichaelSovereign
Copy link
Copy Markdown
Contributor

Summary

This PR fixes a potential precision loss vulnerability during the migration from account-based balances to UTXO boxes.

Changes

  1. Decimal Conversion: Replaced insecure SQL (float-to-int multiplication) with in Python for the fallback balance loading path. This ensures that fractional RTC balances are accurately converted to micro-RTC (nanoRTC) units without rounding errors that could lead to fund discrepancies or failed integrity checks.
  2. Robustness: Improved the handling of alternate database schemas during migration.

Closes #7416

…o prevent replay during potential state drifts
… PDF generator to prevent misleading certificates
…es to prevent MitM via certificate tampering
@MichaelSovereign MichaelSovereign requested a review from Scottcjn as a code owner May 2, 2026 05:56
@github-actions github-actions Bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) consensus Consensus/RIP-200 related node Node server related tests Test suite changes size/XL PR: 500+ lines labels May 2, 2026
@Scottcjn
Copy link
Copy Markdown
Owner

Scottcjn commented May 3, 2026

Closing as part of Tier 0 hard-ban cleanup — see #3074 / #3104 / #3169 for the documented incident chain. All MichaelSovereign PRs are closed unread per the Tier 0 contract. No review path; no future PRs from this account will be processed. (See feedback_michaelsovereign_tier0_2026-05-02.md.)

@Scottcjn Scottcjn closed this May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) consensus Consensus/RIP-200 related node Node server related size/XL PR: 500+ lines tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants