You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the spec, what is the definition of an “evaluation” for the purposes of hitting the hash ops limit? For example, a p2sh:
(1) evaluates the locking script, hashing the redeemscript via e.g. OP_HASH160 or whatever.
(2) then it evaluates the redeemscript (which itself may contain further hashing op codes).
When (2) begins evaluating redeemscript, is the hash count reset to 0 or does it continue where (1) left off for the counts?
EDIT: So far in my test implementation, I am having it not reset to 0 as it proceeds to the redeemscript, thus the hashOps count is 1 when the redeemScript begins execution in the p2sh case.
The text was updated successfully, but these errors were encountered:
In the spec, what is the definition of an “evaluation” for the purposes of hitting the hash ops limit? For example, a p2sh:
(1) evaluates the locking script, hashing the redeemscript via e.g. OP_HASH160 or whatever.
(2) then it evaluates the redeemscript (which itself may contain further hashing op codes).
When (2) begins evaluating redeemscript, is the hash count reset to 0 or does it continue where (1) left off for the counts?
EDIT: So far in my test implementation, I am having it not reset to 0 as it proceeds to the redeemscript, thus the hashOps count is 1 when the redeemScript begins execution in the p2sh case.
The text was updated successfully, but these errors were encountered: