3 ms·
If the first "design error" you list is a bug it seems like you don't understand the concept: > Early version of bitcoind allows you to spend any coin by using
by ailideex 8y ago
If the first "design error" you list is a bug it seems like you don't understand the concept:
> Early version of bitcoind allows you to spend any coin by using "op_true op_return" as signature.
- tomtomtom777 8y agoHe does. Early versions allowed you to spend anybody else's money by using this script as "signature". Spending money involves prepending the input script to the output script, then executing and checking the result. Normally the output script is something like "[pubkey] OP_CHECKSIG" (for the old P2PK), and the only input script to cause the combination to succeed would be the valid signature, such that "[sig] [pubkey] OP_CHECKSIG" succeeds. With "OP_TRUE OP_RETURN" instead of [sig] it would also succeed as OP_RETURN would stop execution. This was fixed by ensuring OP_RETURN stops execution AND fails the script.
- ailideex 8y agoHow is this not a bug?