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, 09:03
Reviewer
Restricted Project
Differential Revision
D4920: save ScriptExecutionMetrics during CScriptCheck
Parents
rABC95fb86547648: parameterize ecmult_const over input size
Branches
Unknown
Tags
Unknown
Reverted By
D5065: Revert "save ScriptExecutionMetrics during CScriptCheck"