Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_metrics.h
- This file was added.
// Copyright (c) 2020 The Bitcoin developers | |||||
// Distributed under the MIT software license, see the accompanying | |||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | |||||
#ifndef BITCOIN_SCRIPT_SCRIPT_METRICS_H | |||||
#define BITCOIN_SCRIPT_SCRIPT_METRICS_H | |||||
/** | |||||
* Struct for holding cumulative results from executing a script or a sequence | |||||
* of scripts. | |||||
*/ | |||||
struct ScriptExecutionMetrics { | |||||
int nSigChecks = 0; | |||||
}; | |||||
#endif // BITCOIN_SCRIPT_SCRIPT_METRICS_H |