HomePhabricator

If AcceptBlockHeader returns true, pindex will be set.
7c29ec94490aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

If AcceptBlockHeader returns true, pindex will be set.

Assert this instead of checking (and then dref'ing later anyway)
to make sure no one thinks they can change that postcondition of
AcceptBlockHeader..

Details

Provenance
Matt Corallo <git@bluematt.me>Authored on Apr 11 2016, 01:52
deadalnixPushed on May 14 2017, 22:04
Parents
rABC96806c39f4ef: Stop trimming when mapTx is empty
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Corallo <git@bluematt.me> committed rABC7c29ec94490a: If AcceptBlockHeader returns true, pindex will be set. (authored by Matt Corallo <git@bluematt.me>).Jun 19 2016, 08:34