external: update RandomX v1.x fixes #11810
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.35) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 160 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.304
Real PR Conversation Timeline
1 comments
"Review active on #11810"
general
weight: 0.35
jpk68
summary
update RandomX from v1.2.3 to upstream
v1.xcommitbefccbf. this includes the ARM64 light-mode JIT fix, which keeps the temporary dataset item on the allocated stack until it is read. on BSD ARM64, a signal could otherwise overwrite it and produce an incorrect hash. the same upstream range fixes cache replacement and detects JIT page-protection failures.the new protection checks can throw after a VM is created.
rx_slow_hashcalls RandomX while holding C rwlocks, so the three affected calls now go through a small C++ guard that aborts on an exception instead of unwinding past a held lock. the successful hash path is unchanged.this stays on RandomX v1; the v2 work in #10038 is separate.
testing
randomx-testspassed in Release and Debug on x86_64 and cross-compiled AArch64 under QEMU, including the JIT hash vectorsmonerod,monero-wallet-rpc,unit_testsandfunctional_testson Debian x86_64unit_testsCTest passedminingpassed, including RandomX seed changes and block reorg/replaymprotectfailure aborts; the control hash succeeds and releases its rwlock