Page MenuHomePhabricator

Merge #8665: Assert all the things!
ClosedPublic

Authored by jasonbcox on Mar 21 2019, 18:10.

Details

Summary

4d51e9b Assert ConnectBlock block and pIndex are the same block (NicolasDorier)
972714c pow: GetNextWorkRequired never called with NULL pindexLast (Daniel Cousens)
cc44c8f ContextualCheckBlockHeader should never have pindexPrev to NULL (NicolasDorier)

Tree-SHA512: 7cc568bf9417267c335f21ec3d1505b26e56e5b3d5f4d3dbb555279489800aaa65a3bcd7bc376e274dd102912aec16ddbb18de2e2060b2667b41eb979cd9321e

Backport of Core PR 8665
https://github.com/bitcoin/bitcoin/pull/8665/files

Test Plan

make check
test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr8665
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5266
Build 8595: Bitcoin ABC Buildbot (legacy)
Build 8594: arc lint + arc unit