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
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING96806c39f4ef: Stop trimming when mapTx is empty
Branches
Unknown
Tags
Unknown

Event Timeline

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