Author

Topic: Can I broadcast a signed transaction at any time? (Read 275 times)

brand new
Activity: 0
Merit: 0
yes, that's possible, but if one or more of the inputs have been spend, the your transaction will fail. By the way, lot of sites have an easy tool to push transactions, so you don't even need bitcoin core to push that transaction.
legendary
Activity: 3192
Merit: 2979
Top Crypto Casino
I singed a transaction yesterday with bitkey setup.

Two Electrum wallets. One watcher only one on another PC cold. https://bitkey.io/

So I have the file on the shuttle USB with the signed transaction. My guess is I can broadcast it any time I want to, even a year later. But I just want to ask to make sure.

If the input's haven't been spent, then yes, that's possible, but if one or more of the inputs have been spend, the your transaction will fail. By the way, lot of sites have an easy tool to push transactions, so you don't even need bitcoin core to push that transaction.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
Hi all, I have created an ANDROID app that broadcasts transaction from QR code (base43 or hex) and hex string.

-snip-

All feedback is appreciated.
I'm not against piggyback posts but what you're doing is going too far.
I've been seeing this same reply on over 8 post as I'm typing this, most of them have bumped old treads with disclosed topics.
That could count as spam, or "necroposting".

It would probably be best if you start your own thread in the Project Development Board and use whatever method to link your others posts to that thread, your signature and website link in your profile will do too.
It's for your own sake.
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
At what point does the transaction get kicked out of the mempool?
What transaction?

There is no "the" mempool; all nodes have their mempool.

However, the default expiry time for a bitcoin node to kick out an unconfirmed transaction from the mempool is 2 weeks, although this can be configured locally by the node operator to either less than or way more than 2 weeks.
full member
Activity: 347
Merit: 109
At what point does the transaction get kicked out of the mempool?
full member
Activity: 280
Merit: 100
Organic PR on Tier 1 media
yes you can but only drawback is if network is congested and fees goes up then your transaction might stuck in a limbo for some time.
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
Thanks guys. Well be reading up on the locktime thing later unless anyone will give me a quick and easy version.

So lets assume it gets rejected, then my wallet will show the coins as in never transfered and I just can make another transaction?
nLockTime transactions are non standard and won't be mined until the lock time has elapsed, then it can be propagated by the nodes and then mined.

The bolded is correct.
Anytime you make a transaction, as long as it hasn't been added to a block then it's still "present in your wallet" (although your wallet won't show you) until it has been mined and the ownership transferred to someone else.
jr. member
Activity: 103
Merit: 1
Thanks guys. Well be reading up on the locktime thing later unless anyone will give me a quick and easy version.

So lets assume it gets rejected, then my wallet will show the coins as in never transfered and I just can make another transaction?
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
Technically, you can, but only if the nLockTime of the transaction has been reached.
If you publish a transaction whose lock time hasn't reached then it will be rejected by nodes on the network and won't make it into a block until that time has reached.
full member
Activity: 378
Merit: 197
My guess is I can broadcast it any time I want to, even a year later. But I just want to ask to make sure.

Yes you can. The only caveat is that if the fees go up, your (lower fee) transaction might not be included in a block ... or it could take a loooong time. You might have to contact a miner and pay him to include your transaction.

I read about one guy, who had an old signed transaction with a very low fee and he was having problems trying to get it confirmed in December 2017, when fees were very high.... 
He did succeed in the end  Smiley
legendary
Activity: 2954
Merit: 4158
Yes. If your inputs are still valid (ie. still unspent and confirmed), then you can still broadcast your signed transaction whenever you like.

Check your receiving address though, you won't be able to retrieve it if you have lost the key or the service has a time-limit for deposits.
jr. member
Activity: 103
Merit: 1
I singed a transaction yesterday with bitkey setup.

Two Electrum wallets. One watcher only one on another PC cold. https://bitkey.io/

So I have the file on the shuttle USB with the signed transaction. My guess is I can broadcast it any time I want to, even a year later. But I just want to ask to make sure.
Jump to: