Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1// Copyright (c) The Bitcoin Core developers2// Distributed under the MIT software license, see the accompanying3// file COPYING or http://www.opensource.org/licenses/mit-license.php.5#ifndef MP_VERSION_H6#define MP_VERSION_H8//! @file9//! @brief Major and minor version numbers10//!11//! Versioning uses a cruder form of SemVer where the major number is12//! incremented with all significant changes, regardless of whether they are13//! backward compatible, and the minor number is treated like a patch level and14//! only incremented when a fix or backport is applied to an old branch.16//! Major version number. Should be incremented after any release or external17//! usage of the library (like a subtree update) so the previous number18//! identifies that release. Should also be incremented before any change that19//! breaks backward compatibility or introduces nontrivial features, so20//! 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 created24//! pointing at the prior merge commit. The /doc/versions.md file should also be25//! updated, noting any significant or incompatible changes made since the26//! previous version.27#define MP_MAJOR_VERSION 1329//! Minor version number. Should be incremented in stable branches after30//! backporting changes. The /doc/versions.md file should also be updated to31//! list the new minor version.32#define MP_MINOR_VERSION 034#endif // MP_VERSION_H
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.