pull down to refresh

PSTs are a super power! I love how you describe this flow for using them.

Valid bitcoin transactions don't necessarily expire, but there are things that can happen that make it so they don't get confirmed (or become invalid) when you broadcast in the future:

  • if you wait a long time and the network forks in someway that makes your transaction invalid
  • if you spend one of the inputs you used in the transaction in a different transaction before you broadcast this the original signed transaction
  • if you chose a fee rate that was too low and in the future when you broadcast fee rates are much higher (not invalid, just not likely to get confirmed)

Those are the main things I can think of that would make it "expire." Ideally, bitcoin functions along the lines of a valid transaction is always a valid transaction and you can successfully get your signed transaction into a block 20 years from now.

What happens if I sign one transaction without broadcasting it, then sign another? I don't think the first one affects the second one that I actually broadcast. 🤔 then the first transaction would become invalid if I try to broadcast it in the future.

reply

If you have a utxo that you use in one psbt you sign but do not broadcast

and then you use the utxo in another psbt that you do not broadcast

the first one that successfully makes it into a block makes the other invalid.

You can sign as many different transactions using your utxos as you like, but nodes will only recognize the first one they see in a confirmed block.

reply

So it doesn't matter how many times I sign, the block would only care which one I broadcast, right?

reply

Great tutorial! @DarthCoin had already mentioned this possibility, thanks for bringing it up. If you’re offline when you sign, there’s no way the offline device will ever know whether the transaction was broadcast and confirmed. There might be some restriction in the app you use to sign, but in principle there shouldn’t be, since the confirmation never reached that device.

reply

deleted by author

Thanks! I feel like I just discovered the real magic of the internet money.

reply