dash/README.md

75 lines
2.4 KiB
Markdown
Raw Normal View History

2014-01-10 16:28:47 +01:00
Xcoin integration/staging tree
================================
2014-01-10 16:28:47 +01:00
http://www.xcoin.org
2013-03-22 05:49:17 +01:00
Copyright (c) 2009-2013 Bitcoin Developers
2014-01-10 16:28:47 +01:00
Copyright (c) 2011-2013 Xcoin Developers
2014-01-10 16:28:47 +01:00
What is Xcoin?
----------------
2014-01-10 16:28:47 +01:00
Xcoin is a lite version of Bitcoin using scrypt as a proof-of-work algorithm.
- 2.5 minute block targets
- subsidy halves in 840k blocks (~4 years)
- ~84 million total coins
The rest is the same as Bitcoin.
- 50 coins per block
- 2016 blocks to retarget difficulty
For more information, as well as an immediately useable, binary version of
2014-01-10 16:28:47 +01:00
the Xcoin client sofware, see http://www.xcoin.org.
License
-------
2014-01-10 16:28:47 +01:00
Xcoin is released under the terms of the MIT license. See `COPYING` for more
information or see http://opensource.org/licenses/MIT.
2010-09-23 20:06:50 +02:00
Development process
-------------------
2010-09-23 20:06:50 +02:00
Developers work in their own trees, then submit pull requests when they think
their feature or bug fix is ready.
2011-09-06 05:02:35 +02:00
2014-01-10 16:28:47 +01:00
If it is a simple/trivial/non-controversial change, then one of the Xcoin
development team members simply pulls it.
2011-09-06 05:02:35 +02:00
If it is a *more complicated or potentially controversial* change, then the patch
submitter will be asked to start a discussion (if they haven't already) on the
[mailing list](http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development).
2010-12-19 16:39:36 +01:00
The patch will be accepted if there is broad consensus that it is a good thing.
Developers should expect to rework and resubmit patches if the code doesn't
match the project's coding conventions (see `doc/coding.txt`) or are
controversial.
2010-12-19 16:39:36 +01:00
The `master` branch is regularly built and tested, but is not guaranteed to be
completely stable. [Tags](https://github.com/bitcoin/bitcoin/tags) are created
2014-01-10 16:28:47 +01:00
regularly to indicate new official, stable release versions of Xcoin.
2010-12-19 16:39:36 +01:00
Testing
-------
Testing and code review is the bottleneck for development; we get more pull
requests than we can review and test. Please be patient and help out, and
remember this is a security-critical project where any mistake might cost people
lots of money.
### Automated Testing
2011-09-27 04:22:19 +02:00
Developers are strongly encouraged to write unit tests for new code, and to
submit new unit tests for old code.
2011-09-27 04:22:19 +02:00
Unit tests for the core code are in `src/test/`. To compile and run them:
2011-09-27 04:22:19 +02:00
2013-02-24 22:22:38 +01:00
cd src; make -f makefile.unix test
Unit tests for the GUI code are in `src/qt/test/`. To compile and run them:
qmake BITCOIN_QT_TEST=1 -o Makefile.test bitcoin-qt.pro
make -f Makefile.test
2014-01-10 16:28:47 +01:00
./xcoin-qt_test