Bitcoin Forum
May 05, 2024, 12:12:29 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
1714867949
Hero Member
*
Offline Offline

Posts: 1714867949

View Profile Personal Message (Offline)

Ignore
1714867949
Reply with quote  #2

1714867949
Report to moderator
1714867949
Hero Member
*
Offline Offline

Posts: 1714867949

View Profile Personal Message (Offline)

Ignore
1714867949
Reply with quote  #2

1714867949
Report to moderator
1714867949
Hero Member
*
Offline Offline

Posts: 1714867949

View Profile Personal Message (Offline)

Ignore
1714867949
Reply with quote  #2

1714867949
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714867949
Hero Member
*
Offline Offline

Posts: 1714867949

View Profile Personal Message (Offline)

Ignore
1714867949
Reply with quote  #2

1714867949
Report to moderator
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



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!