Difference between revisions of "Development process"
Latest revision as of 16:31, 17 June 2020
Bitcoin Core Open Source Development Process
Bitcoin Core has transitioned from what was essentially a one-person software endeavor, with Satoshi functioning as the primary developer and gatekeeper for all changes, to a more distributed, free software model of development with hundreds of contributors. The Linux Kernel development process is being used as the model for how changes flow into the original Bitcoin application:
- Developers work in their own source code trees, sharing and testing patches with each other. Git, using github, is the preferred source control system for development.
- When a developer thinks a patch is ready, they submit a pull request for the bitcoin github repository and post a message on the Development and Technical Forum.
- Pull requests are discussed on the forums and if there is consensus they're safe, tested, useful, well written, match coding style, etc. then they're merged into the 'master' branch.
- The master github branch is regularly built and tested, and periodically given a "release candidate" tag followed by a version tag which is then an official, stable Bitcoin Core release.
- After being accepted into the mainline master branch, bugfixes are merged or backported into the current stable branch, which periodically releases stable older versions.
Please read and follow the Bitcoin Core Coding Standards document.
How to get started
One of the best ways to dive into the code is to help review pull requests. How to Review Pull Requests in Bitcoin Core is a great place to start reading about this. And the Bitcoin Core PR Review Club is a weekly event on IRC which helps newbies with this process.