Bitcoin Forum
May 06, 2024, 09:45:49 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Are old-style transactions still accepted?  (Read 558 times)
Cryddit (OP)
Legendary
*
Offline Offline

Activity: 924
Merit: 1129


View Profile
April 14, 2015, 05:30:11 PM
 #1


Transactions made with current clients have outputs like

OP_DUP OP_HASH160 <pubkey hash> OP_EQUALVERIFY OP_CHECKSIG

where transactions made in the early blocks of the block chain have outputs like

<uncompressed-public-key> OP_CHECKSIG

And under the hood, these are treated the same way.  This is simply pushed onto the script interpreter stack when it's spent and then the spend script operates on the stack.

And the same spend script - namely

<signature> <pubkey>

works to spend either kind of output. 

Is there any problem with a transaction containing an old-style txOut if it were made today?  Would it be considered non-standard and not relayed? 
1714988749
Hero Member
*
Offline Offline

Posts: 1714988749

View Profile Personal Message (Offline)

Ignore
1714988749
Reply with quote  #2

1714988749
Report to moderator
1714988749
Hero Member
*
Offline Offline

Posts: 1714988749

View Profile Personal Message (Offline)

Ignore
1714988749
Reply with quote  #2

1714988749
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714988749
Hero Member
*
Offline Offline

Posts: 1714988749

View Profile Personal Message (Offline)

Ignore
1714988749
Reply with quote  #2

1714988749
Report to moderator
1714988749
Hero Member
*
Offline Offline

Posts: 1714988749

View Profile Personal Message (Offline)

Ignore
1714988749
Reply with quote  #2

1714988749
Report to moderator
1714988749
Hero Member
*
Offline Offline

Posts: 1714988749

View Profile Personal Message (Offline)

Ignore
1714988749
Reply with quote  #2

1714988749
Report to moderator
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1093


View Profile
April 14, 2015, 05:46:41 PM
 #2


Transactions made with current clients have outputs like

OP_DUP OP_HASH160 <pubkey hash> OP_EQUALVERIFY OP_CHECKSIG

where transactions made in the early blocks of the block chain have outputs like

<uncompressed-public-key> OP_CHECKSIG

And under the hood, these are treated the same way.  This is simply pushed onto the script interpreter stack when it's spent and then the spend script operates on the stack.

And the same spend script - namely

<signature> <pubkey>

works to spend either kind of output. 

Is there any problem with a transaction containing an old-style txOut if it were made today?  Would it be considered non-standard and not relayed? 

"<uncompressed-public-key> OP_CHECKSIG" is spent by "<signature>", not "<signature> <pubkey>"

anyway, it's still standard.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
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!