Author

Topic: Non-standard transactions in the block chain (Read 1247 times)

legendary
Activity: 1232
Merit: 1076
That's fine. As long as they don't use more than:

OP_PUSHDATA1
OP_PUSHDATA2
OP_PUSHDATA4
OP_DUP
OP_DROP
OP_HASH160
OP_EQUALVERIFY
OP_CHECKSIG

(for the time being at least Grin)
legendary
Activity: 1526
Merit: 1134
There are more on the testnet. Also depending on how you define "standard" there's a tx somewhere that has lots of zero value outputs that steganographically encodes the Bitcoin logo. It passes the IsStandard checks but is not financial in nature.
legendary
Activity: 1232
Merit: 1076
Hhahaha! That's why IsStandard exists Smiley

Are those 3 the only non-standard transactions? They're very old it seems.

Thanks for that.

EDIT: How did that transaction not fail? OP_CHECKSIG pops twice from the stack and after the first pass, the stack would be 0 and then fail.
legendary
Activity: 1526
Merit: 1134
See the "strange transactions" list on blockexplorer.com

legendary
Activity: 1232
Merit: 1076
Are we talking about a huge list here or just a select few?

If not, would someone link a random selection of them?

Anything that uses more than:

OP_PUSHDATA1
OP_PUSHDATA2
OP_PUSHDATA4
OP_DUP
OP_DROP
OP_HASH160
OP_EQUALVERIFY
OP_CHECKSIG
administrator
Activity: 5222
Merit: 13032
There are. BitcoinJ only does SPV, though, so it doesn't need to verify everything.
full member
Activity: 372
Merit: 114
Does bitcoinj verify any transactions?

http://code.google.com/p/bitcoinj/source/browse/trunk/src/com/google/bitcoin/core/Script.java

opCheckSig just returns true...
legendary
Activity: 1232
Merit: 1076
Hi,

I noticed that BitcoinJ doesn't verify non standard transactions. Are there any non standard transactions in the current block chain?

When I say standard transactions, I mean only

[sig] [pubkey] OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG

And,

[sig] [pubkey] OP_CHECKSIG

Thanks
Jump to: