From 526e9797a782cc81ae41cb548ad0ecc7004147f8 Mon Sep 17 00:00:00 2001 From: Jeremy Rubin Date: Wed, 12 Jan 2022 09:53:55 -0800 Subject: [PATCH] [BIP-119] Complete fragmented sentence Co-authored-by: flack --- bip-0119.mediawiki | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bip-0119.mediawiki b/bip-0119.mediawiki index 9649065c..1068e24c 100644 --- a/bip-0119.mediawiki +++ b/bip-0119.mediawiki @@ -171,7 +171,9 @@ Where bool CheckDefaultCheckTemplateVerifyHash(const std::vector& hash) { // note: for anti-DoS, a real implementation *must* cache parts of this computation - // to avoid quadratic hashing DoS, including + // to avoid quadratic hashing DoS all variable length computations must be precomputed + // including hashes of the scriptsigs, sequences, and outputs. See the section + // "Denial of Service and Validation Costs" below. return GetDefaultCheckTemplateVerifyHash(current_tx, current_input_index) == uint256(hash); }