Bitcoin Forum
May 12, 2024, 12:48:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Internal version number  (Read 1371 times)
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6723


View Profile
September 23, 2010, 04:19:08 PM
 #1

In the next release (0.3.13), I'm going to change the format of the internal version number integer from 313 to 31300, for instance 31305 = 0.3.13.5.  The last number represents changes on the SVN between releases and ought to be properly represented in the version number.  Otherwise, it would be a pain if we had a mistake or something in one of the sub versions that needed to be worked around.
1715518103
Hero Member
*
Offline Offline

Posts: 1715518103

View Profile Personal Message (Offline)

Ignore
1715518103
Reply with quote  #2

1715518103
Report to moderator
1715518103
Hero Member
*
Offline Offline

Posts: 1715518103

View Profile Personal Message (Offline)

Ignore
1715518103
Reply with quote  #2

1715518103
Report to moderator
1715518103
Hero Member
*
Offline Offline

Posts: 1715518103

View Profile Personal Message (Offline)

Ignore
1715518103
Reply with quote  #2

1715518103
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001


View Profile
September 23, 2010, 04:48:04 PM
 #2

In the next release (0.3.13), I'm going to change the format of the internal version number integer from 313 to 31300, for instance 31305 = 0.3.13.5.  The last number represents changes on the SVN between releases and ought to be properly represented in the version number.  Otherwise, it would be a pain if we had a mistake or something in one of the sub versions that needed to be worked around.

Thanks for the heads up. I'm actually checking version on my web apps, to assert if backupwallet is available, but as my private version is now widespread, it should be very simple to cope with that change.
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6723


View Profile
September 23, 2010, 06:46:20 PM
 #3

I don't think it should cause any problems for version comparisons.  31300 > 312.
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001


View Profile
September 23, 2010, 06:51:19 PM
 #4

I don't think it should cause any problems for version comparisons.  31300 > 312.

obviously, *ahem* just checking if you were paying attention, that's all Wink
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!