Bitcoin Forum
November 13, 2018, 08:23:06 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about locktime  (Read 52 times)
Brennus101
Jr. Member
*
Offline Offline

Activity: 32
Merit: 3


View Profile
January 04, 2018, 08:43:02 AM
 #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?
1542097386
Hero Member
*
Offline Offline

Posts: 1542097386

View Profile Personal Message (Offline)

Ignore
1542097386
Reply with quote  #2

1542097386
Report to moderator
1542097386
Hero Member
*
Offline Offline

Posts: 1542097386

View Profile Personal Message (Offline)

Ignore
1542097386
Reply with quote  #2

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

Posts: 1542097386

View Profile Personal Message (Offline)

Ignore
1542097386
Reply with quote  #2

1542097386
Report to moderator
1542097386
Hero Member
*
Offline Offline

Posts: 1542097386

View Profile Personal Message (Offline)

Ignore
1542097386
Reply with quote  #2

1542097386
Report to moderator
1542097386
Hero Member
*
Offline Offline

Posts: 1542097386

View Profile Personal Message (Offline)

Ignore
1542097386
Reply with quote  #2

1542097386
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1582
Merit: 1739


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
January 05, 2018, 01:23:07 AM
 #2

It's an arbitrary large number.

Brennus101
Jr. Member
*
Offline Offline

Activity: 32
Merit: 3


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

Thanks!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!