3 ms·
But the mutated version necessarily has the same outputs, right? How does mutating then make your rent payment invalid? edit: To clarify, once the mutated tran
by Traubert 13y ago
But the mutated version necessarily has the same outputs, right? How does mutating then make your rent payment invalid?
edit: To clarify, once the mutated transaction is on the blockchain even once, the wallet should be able to figure out what the correct transaction is now. True, when it's not on the blockchain at all, the transaction can get rejected.
- Groxx 13y agoI'm still working through the details at the moment, but: your rent payment depends on the previous transaction's signature. Since that was changed, it's no longer valid. They effectively forked the sandwich payment, and your rent payment is only valid on your branch. The rent money will come back under your control because the transaction will be refused, but you'll have to make a new transaction (on top of the now-valid mutated branch) to actually pay it.
- Traubert 13y agoIt's true that the rent payment depends on the previous transaction's signature, but if that payment (even if mutated) has made it into even one block, the wallet software that generates the rent transaction is able to figure out which transaction on the blockchain is responsible for the change it intends to use.
- Groxx 13y agoThat's correct. You should probably wait a block or two for safety, or more for really sensitive things, but regardless the main point here stands: because of this you cannot safely immediately spend the output of a transaction. That hasn't been a warning in essentially anything I've seen.