Author

Topic: Is there a mechanism to broadcast a future transaction in the present? (Read 146 times)

hero member
Activity: 1722
Merit: 801
I have never used it but you can check this one

Using Locktime for inheritance planning, backups or gifts. Please make sure you test it with a small Bitcoin before you actually set it up with a big amount of Bitcoin you have and want to give it to another person.
legendary
Activity: 3472
Merit: 10611
The mechanism is to use nlocktime field and broadcast the signed transaction when the time is close.
The rest is one of those "preferences" of full nodes, like standard rules, minrelaytxfee, their mempool size, etc. The nodes prefer not to hold on to a transaction that can not be mined in the near future so they reject it. That means you have to broadcast that transaction close to the time when it could actually be mined.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
No, this isn't achievable at the moment.

You'd have to set a locktime on the transaction and notify yourself later or generate a time locked input that can't be spent until a certain point.
hero member
Activity: 1008
Merit: 960
Let's say I want to move a certain amount of coins from address A to address B in a week. Is there any way that I can set it up today somehow, and forget about it, and then the coins are received on address B after a week?

I've looked into the concept of Timelock, but it seems to me that you need to broadcast the transaction in the future to actually make it happen. My understanding is that using timelock basically makes the signed transaction invalid until the relevant date passes. Any intent of broadcasting it beforehand is simply rejected. That means that you would have to wait, and then actively broadcast the transaction to make it work.

Of course you could create some custom code or cron job that executes this, but I'm wondering if there's anything in the Bitcoin network itself that would allow this use case these days.
Jump to: