OSDN Git Service

8.6.2
[monacoin/monacoin.git] / README.md
1 Monacoin integration/staging tree
2 ================================
3
4 http://www.monacoin.com
5
6 Copyright (c) 2009-2014 Bitcoin Developers
7 Copyright (c) 2011-2014 Litecoin Developers
8 Copyright (c) 2013-2014 Dr Kimoto Chan
9 Copyright (c) 2013-2014 Monacoin Developers
10
11 What is Monacoin?
12 ----------------
13
14 Monacoin is a lite version of Bitcoin using scrypt as a proof-of-work algorithm.
15  - 1.5 minute block targets
16  - subsidy halves in 1051k blocks (~3 years)
17  - ~168 million total coins
18
19 The rest is the same as Bitcoin.
20  - 50 coins per block
21  - 1056 blocks to retarget difficulty
22
23 For more information, as well as an immediately useable, binary version of
24 the Monacoin client sofware, see http://www.monacoin.com
25
26 License
27 -------
28
29 Monacoin is released under the terms of the MIT license. See `COPYING` for more
30 information or see http://opensource.org/licenses/MIT.
31
32 Development process
33 -------------------
34
35 Developers work in their own trees, then submit pull requests when they think
36 their feature or bug fix is ready.
37
38 If it is a simple/trivial/non-controversial change, then one of the Monacoin
39 development team members simply pulls it.
40
41 If it is a *more complicated or potentially controversial* change, then the patch
42 submitter will be asked to start a discussion (if they haven't already) on the
43 [mailing list](http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development).
44
45 The patch will be accepted if there is broad consensus that it is a good thing.
46 Developers should expect to rework and resubmit patches if the code doesn't
47 match the project's coding conventions (see `doc/coding.txt`) or are
48 controversial.
49
50 The `master` branch is regularly built and tested, but is not guaranteed to be
51 completely stable. [Tags](https://github.com/bitcoin/bitcoin/tags) are created
52 regularly to indicate new official, stable release versions of Monacoin.
53
54 Testing
55 -------
56
57 Testing and code review is the bottleneck for development; we get more pull
58 requests than we can review and test. Please be patient and help out, and
59 remember this is a security-critical project where any mistake might cost people
60 lots of money.
61
62 ### Automated Testing
63
64 Developers are strongly encouraged to write unit tests for new code, and to
65 submit new unit tests for old code.
66
67 Unit tests for the core code are in `src/test/`. To compile and run them:
68
69     cd src; make -f makefile.unix test
70
71 Unit tests for the GUI code are in `src/qt/test/`. To compile and run them:
72
73     qmake BITCOIN_QT_TEST=1 -o Makefile.test bitcoin-qt.pro
74     make -f Makefile.test
75     ./monacoin-qt_test
76