Author

Topic: Are old-style transactions still accepted? (Read 581 times)

legendary
Activity: 1792
Merit: 1111
April 14, 2015, 12:46:41 PM
#2

Transactions made with current clients have outputs like

OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG

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

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



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? 

" OP_CHECKSIG" is spent by "", not " "

anyway, it's still standard.
legendary
Activity: 924
Merit: 1132

Transactions made with current clients have outputs like

OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG

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

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



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? 
Jump to: