HomePhabricator

Improve block validity/ConnectBlock() comments
2f1990532407Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Improve block validity/ConnectBlock() comments

Previously didn't make clear that the ContextualCheckBlock* functions
meant the block headers as context - not the UTXO set itself - and that
ConnectBlock() also did UTXO-related validity checks (in the future we
may split that functionality into a separate UTXO-specific contextual
check block function).

Also, reordered to put validity checks first for better readability.

Details

Provenance
Peter Todd <pete@petertodd.org>Authored on Jan 31 2016, 05:40
deadalnixPushed on May 14 2017, 22:04
Parents
rABCa6771fc9734a: Merge #7441: Use Debian 8.3 in gitian build guide
Branches
Unknown
Tags
Unknown

Event Timeline

Peter Todd <pete@petertodd.org> committed rABC2f1990532407: Improve block validity/ConnectBlock() comments (authored by Peter Todd <pete@petertodd.org>).Jan 31 2016, 05:40