PDA

View Full Version : firmware version


korda
10-10-2009, 07:17 PM
GetInfo() function with 5,6,7 parameters.
From manual.
5 = Version (Major)
6 = Version (Minor)
7 = Version (Build)

In 2.1 we sum Major*100+Minor*10+Build and passed as int in RPC call. It worked well.
In 2.2 it does not work, since Build number is already 14.
Do you have any rules for the numbers here?
Thanks

mgenti
10-12-2009, 04:50 PM
Really the only rules are that the numbers will be increasing over time.

A major version number change indicates that this version maybe completely incompatible with previous versions. For example, SNAP version 1.x.x is not compatible with 2.x.x.

A minor version number change indicates that there are new features from a previous minor version number. These additional features are not compatible with the previous version but existing features should be. For example 2.1.8 SNAP nodes can still make RPC calls to SNAP nodes running 2.2.14, however 2.1.8 SNAP nodes cannot participate in trace routes.

A build number change, after an official release, just indicates bug fixes.

In the case of 2.2.14 versus 2.1.8 we just happened to make more incremental builds while working on 2.2 versus 2.1