We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f64224 commit 526e979Copy full SHA for 526e979
bip-0119.mediawiki
@@ -171,7 +171,9 @@ Where
171
172
bool CheckDefaultCheckTemplateVerifyHash(const std::vector<unsigned char>& hash) {
173
// note: for anti-DoS, a real implementation *must* cache parts of this computation
174
- // to avoid quadratic hashing DoS, including
+ // to avoid quadratic hashing DoS all variable length computations must be precomputed
175
+ // including hashes of the scriptsigs, sequences, and outputs. See the section
176
+ // "Denial of Service and Validation Costs" below.
177
return GetDefaultCheckTemplateVerifyHash(current_tx, current_input_index) == uint256(hash);
178
}
179
0 commit comments