Bitcoin Forum
May 05, 2024, 02:05:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does a tx contain a timestamp, and/or does a signed tx remain valid forever?  (Read 741 times)
Kazimir (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1001



View Profile
July 31, 2015, 11:02:02 AM
 #1

Suppose I create a tx now, sign it, so I have the raw tx data, but I do not push (broadcast) it yet.

If I were to push the tx in a month or a year from now, would it still be processed normally? Or does the tx (or its signature) contain a timestamp of sorts, so that nodes might ignore or discard the tx as 'too old' or 'expired' or something.

Obviously assuming that the inputs are still unspent.

In theory, there's no difference between theory and practice. In practice, there is.
Insert coin(s): 1KazimirL9MNcnFnoosGrEkmMsbYLxPPob
1714917918
Hero Member
*
Offline Offline

Posts: 1714917918

View Profile Personal Message (Offline)

Ignore
1714917918
Reply with quote  #2

1714917918
Report to moderator
1714917918
Hero Member
*
Offline Offline

Posts: 1714917918

View Profile Personal Message (Offline)

Ignore
1714917918
Reply with quote  #2

1714917918
Report to moderator
1714917918
Hero Member
*
Offline Offline

Posts: 1714917918

View Profile Personal Message (Offline)

Ignore
1714917918
Reply with quote  #2

1714917918
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714917918
Hero Member
*
Offline Offline

Posts: 1714917918

View Profile Personal Message (Offline)

Ignore
1714917918
Reply with quote  #2

1714917918
Report to moderator
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
July 31, 2015, 11:34:13 AM
 #2

Bitcoin transaction does not have a timestamp in it. https://en.bitcoin.it/wiki/Protocol_documentation#tx

Assuming inputs are still unspent and transaction is valid, it will be treated normally.

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1093


View Profile
July 31, 2015, 02:09:15 PM
 #3


If I were to push the tx in a month or a year from now, would it still be processed normally?

It should be. But how about 10 years? 100 years? This is a tough question as that means every rule change in the future must be backward compatible forever.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
hexafraction
Sr. Member
****
Offline Offline

Activity: 392
Merit: 259

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
July 31, 2015, 02:15:51 PM
 #4


If I were to push the tx in a month or a year from now, would it still be processed normally?

It should be. But how about 10 years? 100 years? This is a tough question as that means every rule change in the future must be backward compatible forever.

Not all rule changes are truly backward compatible. There are changes (IIRC) that affected all blocks after a certain block height, that were not backwards-compatible.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
July 31, 2015, 02:48:18 PM
 #5

Assuming that no protocol changes to transactions happens and no one has spent those inputs yet, then that transaction can be broadcast whenever you want. There is no timestamp and the time is not a part of the transaction unless you include a locktime.

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!