HomePhabricator

fix AreInputsStandard sigops counting

Description

fix AreInputsStandard sigops counting

Summary:
There is a better sigops counter for P2SH already provided (the
one used by consensus code), and also along the lines of D5061
and D5076 we want all sigops counts to be contextual, never using
internal hardcoded flags.

Test Plan:

ninja bench-bitcoin check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Maniphest Tasks: T704

Differential Revision: https://reviews.bitcoinabc.org/D5160

Details

Provenance
Mark Lundeberg <markblundeberg@users.noreply.github.com>Authored on Feb 5 2020, 10:20
markblundebergPushed on Feb 6 2020, 02:35
Reviewer
Restricted Project
Differential Revision
D5160: fix AreInputsStandard sigops counting
Parents
rABC2bda491fbac6: Merge #16538: test: Add missing sync_blocks to feature_pruning
Branches
Unknown
Tags
Unknown

Event Timeline

Mark Lundeberg <markblundeberg@users.noreply.github.com> committed rABCc0dcb98975da: fix AreInputsStandard sigops counting (authored by Mark Lundeberg <markblundeberg@users.noreply.github.com>).Feb 6 2020, 02:35