diff options
author | Jeremy Rubin <j@rubin.io> | 2022-01-12 09:53:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 09:53:55 -0800 |
commit | 526e9797a782cc81ae41cb548ad0ecc7004147f8 (patch) | |
tree | be956c93b79db6b1579d78271ca64e6c29d9a91c /bip-0119.mediawiki | |
parent | 9f642244b9a5e5f89faf264833c85a0bbc16e380 (diff) |
[BIP-119] Complete fragmented sentence
Co-authored-by: flack <flack@contentcontrol-berlin.de>
Diffstat (limited to 'bip-0119.mediawiki')
-rw-r--r-- | bip-0119.mediawiki | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bip-0119.mediawiki b/bip-0119.mediawiki index 9649065..1068e24 100644 --- a/bip-0119.mediawiki +++ b/bip-0119.mediawiki @@ -171,7 +171,9 @@ Where bool CheckDefaultCheckTemplateVerifyHash(const std::vector<unsigned char>& 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); } |