2
1
I'm reading the technical FAQs on the wiki, and what I don't see is, if I create a transaction with signed prev_outs and new outputs, do I also sign the ENTIRE new tx before broadcasting? I don't see any field in the spec for a final overall signature.
So what I'm asking is, if I receive a tx from a peer, what is stopping me from altering that tx message so the output is now my own address, and trying to broadcast my new fraudulent tx to the network faster and to more peers than the original honest tx?
Thanks. For some reason I thought scriptsig just signed the output of the old tx, didn't realize it was a sort of combo of old and new TXs together. – pinhead – 2014-01-05T01:14:32.727