Bitcoin Forum
May 08, 2024, 03:28:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about locktime  (Read 159 times)
Brennus101 (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile
January 04, 2018, 08:43:02 AM
Merited by ABCbits (1)
 #1

According to my understanding, if the the locktime field has a value lower than 500 million, it is interpreted as specifying the lowest block height at which the transaction will be made, and if it is higher than 500 million, it represents the earliest point in time, counted in seconds from Jan 1 1970 (Epoch Time), that the transaction will be made.

What are the reasons behind the choice of 500 million? There are more than 31 million second in a year, so when Bitcoin was launched on Jan 3 2009, the Epoch Time must have been larger than 39*31 million = 1209 million. In fact, the Epoch Time on Jan 3 2009 at 0 am is around 1230 million. Hence it seems like you could have picked the limit 1200 million rather than 500 million.

I understand that 500 million blocks is quite sufficient, since you can specify block heights roughly 9500 years in the future, assuming 6 blocks per hour. Still, given what was pointed out above, 500 million seems rather arbitrary.

Thoughts?
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715182120
Hero Member
*
Offline Offline

Posts: 1715182120

View Profile Personal Message (Offline)

Ignore
1715182120
Reply with quote  #2

1715182120
Report to moderator
1715182120
Hero Member
*
Offline Offline

Posts: 1715182120

View Profile Personal Message (Offline)

Ignore
1715182120
Reply with quote  #2

1715182120
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
January 05, 2018, 01:23:07 AM
Merited by ABCbits (1)
 #2

It's an arbitrary large number.

Brennus101 (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile
January 05, 2018, 10:21:58 PM
 #3

Thanks!
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!