HomePhabricator

save ScriptExecutionMetrics during CScriptCheck

Description

save ScriptExecutionMetrics during CScriptCheck

Summary:
CScriptCheck represents a full closure of the call to VerifyScript.
Currently it just saves the outputted error code; update it to also save
the metrics return value.

A small test (taking advantage of an existing test that uses CScriptCheck) is
included.

Depends on D4918

Test Plan: ninja all check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Mark Lundeberg <markblundeberg@users.noreply.github.com>Authored on Jan 13 2020, 12:23
markblundebergPushed on Jan 14 2020, 12:34
Reviewer
Restricted Project
Differential Revision
D4920: save ScriptExecutionMetrics during CScriptCheck
Parents
rSTAGING95fb86547648: parameterize ecmult_const over input size
Branches
Unknown
Tags
Unknown
Tasks
T704: sigChecks implementation