Page MenuHomePhabricator

refactor: Avoid magic value of all-zeros in assumeutxo base_blockhash
ClosedPublic

Authored by PiRK on Apr 11 2022, 15:53.

Details

Summary
Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Apr 11 2022, 15:53
Fabien requested changes to this revision.Apr 11 2022, 18:40
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/validation.cpp
4999 ↗(On Diff #33157)

There is a dependency missing: https://github.com/bitcoin/bitcoin/pull/21523 which causes this PR backport to be incomplete

src/validation.h
769 ↗(On Diff #33157)

Unrelated note: the explicit is not very useful here

This revision now requires changes to proceed.Apr 11 2022, 18:40
PiRK edited the summary of this revision. (Show Details)

rebase onto D11334, add missing change and add dependency

This revision is now accepted and ready to land.Apr 12 2022, 20:45