Repository navigation
RCPU Core v1.5.0 release notes
Consensus-neutral DoS hardening release. No consensus changes, no reindex,
no wallet migration, no RPC behavior change.
Full-block PoW outside cs_main (M-02)
Before this release, ProcessNewBlock held cs_main while
CheckBlock(fCheckPOW=true) ran. For Etchash blocks,
CheckProofOfWorkEtchash(POW_VERIFY_FULL) computes HashimotoLight before
comparing hashRandomX, so an unsolicited block with a plausible header could
hold the global lock for roughly 1鈥? ms (about 100 ms on an epoch-cache miss).
R-01 fixed the P2P header path but left the full-block path under the lock.
v1.5.0 splits ProcessNewBlock into three phases:
- Under
cs_main: duplicate/early-availability check, parent lookup,
unknown/failed-parent rejection andContextualCheckBlockHeader. - Without
cs_main:CheckBlockHeaderwithfCheckPOW=trueperforms the
FULL RandomX/Etchash hash. This is a pure PoW check; it does not touch
CBlock::fChecked. - Under
cs_mainagain: re-check the parent and contextual rules, run
CheckBlockwithfCheckPOW=false(merkle/transaction checks remain under
the lock), thenAcceptBlockwithpow_already_checked=trueso
AcceptBlockHeaderdoes not repeat the FULL hash.
If the parent disappears or becomes invalid between phases, the block is
rejected; the normal download path can retry. Direct CheckBlock callers
(tests/benchmarks) keep the old locked behavior.
This removes the global-lock hold; it does not add a separate block-PoW
budget for unsolicited blocks. That remains a follow-up (the header path already
has a budget). No consensus rule, block format or on-disk format changed.
Verification
- Existing
validation_block_tests,blockmanager_testsand the functional
suite exerciseProcessNewBlock; CI is the gate. - The design note is in
doc/design/block-pow-outside-cs-main.md.
Not changed
- M-04 full Authenticode verification in
verify.py(release tooling). - M-05 coinstats historical
confidential_outputs(per-height DB schema). - Remaining Low/Info audit items.
Compatibility
- Consensus: unchanged. No reindex.
- Wallet/RPC/P2P: unchanged.
- On-disk format: unchanged.
Upgrade
Recommended for all nodes as a DoS-hardening update. v1.4.37 remains the last
1.4.x maintenance release; v1.5.0 is the first release with the full-block PoW
outside cs_main.
Windows binaries in this release
The Windows installer and portable archive are published with an explicit
-unsigned suffix: the Authenticode certificate is not configured for this
repository. Linux tarball and AppImage artifacts are covered by the GPG-signed
SHA256SUMS.txt; do not expect a Windows Authenticode signature on these files.