Bitcoin Forum
May 26, 2024, 02:35:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there a mechanism to broadcast a future transaction in the present?  (Read 132 times)
nullama (OP)
Hero Member
*****
Offline Offline

Activity: 994
Merit: 957



View Profile
March 14, 2022, 11:07:30 PM
Merited by vapourminer (2), ABCbits (1)
 #1

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.

███████████████████████████████
███████████████████████████████
█████████
▀▀▀▀▀█▀█▀▀▀▀▀█████████
███
▄▀▀▀   ▄▄▄▄   ▄▄▄▄   ▀▀▀▄███
███████
▀▀▀████▌ ▐████▀▀▀███████
█████
███▀█▀██▌ ▐██▀█▀████████
████
███▀▄▀▄███▌ ▐███▄▀▄▀███████
█████
██▄██▄██   ██▄██▄███████
███████
▄▄▄████   ████▄▄▄███████
██████████
▀▀▀▀   ▀▀▀▀██████████
██████████
▄▄▄▄▄▄▄▄▄▄▄██████████
███████████████████████████████
███████████████████████████████
█▀▀▀











█▄▄▄
#1 RATED CRYPTO
CASINO IN THE WORLD
██ ██ ██ ██ █Trustpilot
▀▀▀█











▄▄▄█
▄█████████████████████████████
██████████████████▀▀█████▀▀████
█████████████████▀█████████▀███
██████████████████████████████
███████████████████████████▄███
█████████████████████████▄▄████
███████████████████████████████
█████████████░░░███████████████
███████████░░░█████████████████
█████████░░████████████████████
█████░░░██████████████████████
███░░█████████████████████████
▀░░░█████████████████████████▀
.
SIGN UP & INSTANTLY
RECEIVE BONUS

[ NO DEPOSIT REQUIRED ]
█▀▀▀











█▄▄▄
▀▀▀█











▄▄▄█
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 15, 2022, 02:06:59 AM
 #2

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.
pooya87
Legendary
*
Offline Offline

Activity: 3458
Merit: 10593



View Profile
March 15, 2022, 06:18:47 AM
Merited by ABCbits (2)
 #3

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
OcTradism
Hero Member
*****
Offline Offline

Activity: 1750
Merit: 806



View Profile WWW
March 15, 2022, 11:49:01 AM
 #4

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.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!