corda / net.corda.core.node / Version / <init>

<init>

Version(major: Int, minor: Int, snapshot: Boolean)

Versions of the same major version but with different minor versions are considered compatible with each other. One exception to this is when the major version is 0 - each different minor version should be considered incompatible.

If two Versions are equal (i.e. equals returns true) but they are both snapshot then they may refer to different builds of the node. NodeVersionInfo.revision would be required to differentiate the two.