Bitcoin Forum
May 21, 2024, 02:12:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: OP_VERIFY question  (Read 691 times)
TierNolan (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
April 25, 2014, 10:38:44 AM
 #1

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?

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8421



View Profile WWW
April 26, 2014, 10:01:51 AM
 #2

It doesn't matter, someone was being overly detailed while documenting there.
TierNolan (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
April 26, 2014, 10:41:02 AM
 #3

Thanks, I guess it is better that it is over detailed than under-detailed.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!