aboutsummaryrefslogtreecommitdiff
path: root/src/script/standard.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-08-19 11:55:38 -0400
committerJohn Newbery <john@johnnewbery.com>2019-11-07 13:50:58 -0500
commit6f6465cefcd599c89c00f7b51f42a4b87a5ffb0b (patch)
tree9b57ba3019b860971c29794a499d067f27b8bdcf /src/script/standard.h
parent270616228bc9a3856a0a82dea26ac3480b7585cd (diff)
downloadbitcoin-6f6465cefcd599c89c00f7b51f42a4b87a5ffb0b.tar.xz
scripted-diff: [validation] Rename CheckInputs to CheckInputScripts
CheckInputs() used to check no double spends, scripts & sigs and amounts. Since 832e0744cb8b1e1625cdb19b257f97316ac16a90, the double spend and amount checks have been moved to CheckTxInputs(), and CheckInputs() now just validates input scripts. Rename the function to CheckInputScripts(). -BEGIN VERIFY SCRIPT- sed -i -E -e 's/CheckInputs\b/CheckInputScripts/g' $(git grep -l CheckInputs | grep -v doc/) -END VERIFY SCRIPT-
Diffstat (limited to 'src/script/standard.h')
-rw-r--r--src/script/standard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/standard.h b/src/script/standard.h
index 6db28dbc2d..5931e82b9d 100644
--- a/src/script/standard.h
+++ b/src/script/standard.h
@@ -47,7 +47,7 @@ extern unsigned nMaxDatacarrierBytes;
* but in the future other flags may be added, such as a soft-fork to enforce
* strict DER encoding.
*
- * Failing one of these tests may trigger a DoS ban - see CheckInputs() for
+ * Failing one of these tests may trigger a DoS ban - see CheckInputScripts() for
* details.
*/
static const unsigned int MANDATORY_SCRIPT_VERIFY_FLAGS = SCRIPT_VERIFY_P2SH;