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); }