aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-01-02 11:08:52 -0500
committerMarcoFalke <falke.marco@gmail.com>2020-01-02 11:09:00 -0500
commit3f8dbcd655479ce2e564a8b17139aca19888ca79 (patch)
treefc7cdf74e8b7a17e5a44db6e3b7dda383a096cdf /src/script
parent0655c7a94cc9bf54d43eceed805e83f1b59e2409 (diff)
parent3bd8db80d8d335ab63ece4f110b0fadd562e80b7 (diff)
downloadbitcoin-3f8dbcd655479ce2e564a8b17139aca19888ca79.tar.xz
Merge #16658: validation: Rename CheckInputs to CheckInputScripts
3bd8db80d8d335ab63ece4f110b0fadd562e80b7 [validation] fix comments in CheckInputScripts() (John Newbery) 6f6465cefcd599c89c00f7b51f42a4b87a5ffb0b scripted-diff: [validation] Rename CheckInputs to CheckInputScripts (John Newbery) Pull request description: CheckInputs() used to check no double spends, scripts & sigs and amounts. Since 832e074, the double spend and amount checks have been moved to CheckTxInputs(), and CheckInputs() now just validates input scripts. Rename the function to CheckInputScripts(). Also fix incorrect comments. ACKs for top commit: MarcoFalke: re-ACK 3bd8db80d8d335ab63ece4f110b0fadd562e80b7, did the rebase myself, checked the scripted diff 👡 promag: ACK 3bd8db80d8d335ab63ece4f110b0fadd562e80b7 :trollface: Tree-SHA512: 7b3f8597d210492798fb784ee8ea47ea6377519111190161c7cc34a967509013f4337304f52e9bedc97b7710de7b0ff8880e08cd7f867754567f82e7b02c794c
Diffstat (limited to 'src/script')
-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 74bd670a64..350a5603d5 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;