16
7
I am playing with bitcoin transaction a bit now.
I have a question. Normally, the output script looks like
OP_DUP OP_HASH160 (hash) OP_EQUALVERIFY OP_CHECKSIG
Now that is understandable. However, when I slightly change the script with an outgoing translation to
OP_DUP OP_DROP OP_DUP OP_HASH160 (hash) OP_EQUALVERIFY OP_CHECKSIG
this transaction is never relayed (as far as I can say) and never reaches any miner, even when it's 100% legal.
What is going on? Why is it not relayed? I even added quite large fee on it.
And a second question - if my suspicion is correct and it is actually never relayed - what would happen if some miner actually accepted it and this transaction ended in the blockchain? Would it be a valid transaction? Would the client be able to "see it" when he is not able to relay it?
How did you change the script? I've been trying to figure out how to do that – imichaelmiers – 2012-08-31T19:22:30.183
with playing with the source code. – Karel Bílek – 2012-09-01T00:48:40.453