New to Bitcoin. Looking at a tx structure, the entry is signed to “unlock” it. What's to stop an attacker from taking that and spending as they please? In other words, Alice wants to send 1 BTC to Bob out of the 2 BTCs she owns (the output of another tx), she therefore creates a tx with her signature on the 2 BTCs and 2 outputs: 1 for Bob, 1 for itself (neglecting costs here). Just before transmitting the tx, Charlie sniffs the signature, creates a new tx referencing these 2 BTC and with Alice's signature, and where the output is addressed to him and sends it. What's stopping him?
transactions – Expense security
![](https://definewsnetwork.com/wp-content/uploads/2024/04/apple-touch-icon@2.png)
Sign Up For Daily Newsletter
Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Leave a comment
![banner](https://foxiz.themeruby.com/tech/wp-content/uploads/sites/3/2022/01/sb-light-banner.jpg)
![banner](https://foxiz.themeruby.com/tech/wp-content/uploads/sites/3/2022/01/sb-banner.jpg)
Create an Amazing Newspaper
Discover thousands of options, easy to customize layouts, one-click to import demo and much more.
Learn More