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

Event Timeline

Mark Lundeberg <markblundeberg@users.noreply.github.com> committed rABC8bbb45003d06: save ScriptExecutionMetrics during CScriptCheck (authored by Mark Lundeberg <markblundeberg@users.noreply.github.com>).Jan 14 2020, 09:03