1 // Copyright (c) The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 5 #ifndef MP_VERSION_H
6 #define MP_VERSION_H
7 8 //! @file
9 //! @brief Major and minor version numbers
10 //!
11 //! Versioning uses a cruder form of SemVer where the major number is
12 //! incremented with all significant changes, regardless of whether they are
13 //! backward compatible, and the minor number is treated like a patch level and
14 //! only incremented when a fix or backport is applied to an old branch.
15 16 //! Major version number. Should be incremented after any release or external
17 //! usage of the library (like a subtree update) so the previous number
18 //! identifies that release. Should also be incremented before any change that
19 //! breaks backward compatibility or introduces nontrivial features, so
20 //! downstream code can use it to detect compatibility.
21 //!
22 //! Each time this is incremented, a new stable branch should be created. E.g.
23 //! when this is incremented to 8, a "v7" stable branch should be created
24 //! pointing at the prior merge commit. The /doc/versions.md file should also be
25 //! updated, noting any significant or incompatible changes made since the
26 //! previous version.
27 #define MP_MAJOR_VERSION 12
28 29 //! Minor version number. Should be incremented in stable branches after
30 //! backporting changes. The /doc/versions.md file should also be updated to
31 //! list the new minor version.
32 #define MP_MINOR_VERSION 0
33 34 #endif // MP_VERSION_H
35