Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: TierNolan on April 25, 2014, 10:38:44 AM



Title: OP_VERIFY question
Post by: TierNolan on April 25, 2014, 10:38:44 AM
The description for OP_VERIFY is "Marks transaction as invalid if top stack value is not true. True is removed, but false is not. "

Why does it matter what happens if false is removed or not?  If the top of the stack was false, then the transaction fails, so no further processing is required.

Is this to handle a situation where OP_VERIFY fails in the sigScript?  Does that not mark the transaction as invalid anyway?


Title: Re: OP_VERIFY question
Post by: gmaxwell on April 26, 2014, 10:01:51 AM
It doesn't matter, someone was being overly detailed while documenting there.


Title: Re: OP_VERIFY question
Post by: TierNolan on April 26, 2014, 10:41:02 AM
Thanks, I guess it is better that it is over detailed than under-detailed.