Merge pull request #6422
[bitcoinplatinum.git] / README.md
blob594d98c39f9c6112090c5b30052db4cbfff798ab
1 Bitcoin Core integration/staging tree
2 =====================================
4 [![Build Status](https://travis-ci.org/bitcoin/bitcoin.svg?branch=master)](https://travis-ci.org/bitcoin/bitcoin)
6 https://www.bitcoin.org
8 What is Bitcoin?
9 ----------------
11 Bitcoin is an experimental new digital currency that enables instant payments to
12 anyone, anywhere in the world. Bitcoin uses peer-to-peer technology to operate
13 with no central authority: managing transactions and issuing money are carried
14 out collectively by the network. Bitcoin Core is the name of open source
15 software which enables the use of this currency.
17 For more information, as well as an immediately useable, binary version of
18 the Bitcoin Core software, see https://www.bitcoin.org/en/download.
20 License
21 -------
23 Bitcoin Core is released under the terms of the MIT license. See [COPYING](COPYING) for more
24 information or see http://opensource.org/licenses/MIT.
26 Development process
27 -------------------
29 Developers work in their own trees, then submit pull requests when they think
30 their feature or bug fix is ready.
32 If it is a simple/trivial/non-controversial change, then one of the Bitcoin
33 development team members simply pulls it.
35 If it is a *more complicated or potentially controversial* change, then the patch
36 submitter will be asked to start a discussion (if they haven't already) on the
37 [mailing list](https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev)
39 The patch will be accepted if there is broad consensus that it is a good thing.
40 Developers should expect to rework and resubmit patches if the code doesn't
41 match the project's coding conventions (see [doc/developer-notes.md](doc/developer-notes.md)) or are
42 controversial.
44 The `master` branch is regularly built and tested, but is not guaranteed to be
45 completely stable. [Tags](https://github.com/bitcoin/bitcoin/tags) are created
46 regularly to indicate new official, stable release versions of Bitcoin.
48 Testing
49 -------
51 Testing and code review is the bottleneck for development; we get more pull
52 requests than we can review and test on short notice. Please be patient and help out by testing
53 other people's pull requests, and remember this is a security-critical project where any mistake might cost people
54 lots of money.
56 ### Automated Testing
58 Developers are strongly encouraged to write unit tests for new code, and to
59 submit new unit tests for old code. Unit tests can be compiled and run (assuming they weren't disabled in configure) with: `make check`
61 There are also regression and integration tests of the RPC interface, written
62 in Python, that are run automatically on the build server.
63 These tests can be run with: `qa/pull-tester/rpc-tests.sh`
65 Every pull request is built for both Windows and Linux on a dedicated server,
66 and unit and sanity tests are automatically run. The binaries produced may be
67 used for manual QA testing — a link to them will appear in a comment on the
68 pull request posted by [BitcoinPullTester](https://github.com/BitcoinPullTester). See https://github.com/TheBlueMatt/test-scripts
69 for the build/test scripts.
71 ### Manual Quality Assurance (QA) Testing
73 Large changes should have a test plan, and should be tested by somebody other
74 than the developer who wrote the code.
75 See https://github.com/bitcoin/QA/ for how to create a test plan.
77 Translations
78 ------------
80 Changes to translations as well as new translations can be submitted to
81 [Bitcoin Core's Transifex page](https://www.transifex.com/projects/p/bitcoin/).
83 Translations are periodically pulled from Transifex and merged into the git repository. See the
84 [translation process](doc/translation_process.md) for details on how this works.
86 **Important**: We do not accept translation changes as GitHub pull requests because the next
87 pull from Transifex would automatically overwrite them again.
89 Translators should also subscribe to the [mailing list](https://groups.google.com/forum/#!forum/bitcoin-translators).