Hi everyone,
I've been looking at the script parts now of the Bitcoin protocol and have the following questions about it:
1) Right now there are only two (I think) different scripts whitelisted and it's not possible to do custom scripts. If a miner starts accepting transactions with non-standard scripts and creates a new block using them, will they also be accepted by the Bitcoin client?
I'm guessing they will, because the transactions being in a block already means they are valid transactions. I'm just asking for confirmation.
Exactly.
2) If I create a nonstandard transaction, with a valid and normal TxIn but with a special TxOut that has a script that always evaluate to true, everyone will be able to claim those bitcoins and use them for their own needs. In this situation, I'm assuming the first person that has a transaction in a valid block will be the "winner" and all the others that tried to use those coins will have their transactions never confirmed?
Again correct, but I'm not sure the default client will be able to create a corresponding txIn 9even though it's trivial).