Dash - Reinventing Cryptocurrency
Go to file
2016-07-29 07:35:56 +02:00
.tx 0.12 dirty merge'n'fix (bitcoin 0.10) 2015-04-04 19:24:37 +03:00
build-aux/m4 0.12 dirty merge'n'fix (bitcoin 0.10) 2015-04-04 19:24:37 +03:00
contrib [gitian] Set reference date to something more recent (#835) 2016-05-30 09:11:54 +02:00
depends backport fix of testsuite to 0.12.0.x 2016-01-30 16:42:13 +01:00
doc changed status of release notes from draft to released 2015-09-07 10:55:24 +02:00
qa Backporting fixes for CMasternodeMan::CheckAndRemove and smartfee (+test) 2016-03-16 12:52:47 +01:00
share new icon 2015-06-29 02:23:29 +03:00
src Merge #907: Backport masternodebroadcast to v0.12.0.x 2016-07-29 07:35:56 +02:00
.gitattributes Separate protocol versioning from clientversion 2014-10-29 00:24:40 -04:00
.gitignore removed vote from prepare/submit and fixed some help strings 2015-07-12 08:09:06 -07:00
.travis.yml Update .travis.yml 2016-03-20 11:37:22 +01:00
autogen.sh Bugfix: Replace bashisms with standard sh to fix build on non-BASH systems 2014-10-03 23:45:26 +00:00
configure.ac Merge #877: Revert "V0.12.0.x fix budget submission" 2016-06-09 19:34:11 +02:00
COPYING Merge #852: update copyright year (2) 2016-06-01 15:32:05 +02:00
INSTALL Changed darkcoin references to dash 2015-03-19 12:03:14 -07:00
Makefile.am backport fix of testsuite to 0.12.0.x 2016-01-30 16:42:13 +01:00
pkg.m4 autotools: switch to autotools buildsystem 2013-09-05 21:31:03 -04:00
README.md developement process updated in correspondence with .12.1 branch (#840) 2016-05-30 20:20:50 +02:00

Dash Core staging tree 0.12

master: Build Status v0.12.0.x: Build Status v0.12.1.x: Build Status

https://www.dash.org

Copyright (c) 2009-2015 Bitcoin Core Developers

Copyright (c) 2014-2015 Dash Core Developers

What is Dash?

Dash is an experimental new digital currency that enables anonymous, instant payments to anyone, anywhere in the world. Dash uses peer-to-peer technology to operate with no central authority: managing transactions and issuing money are carried out collectively by the network. Dash Core is the name of open source software which enables the use of this currency.

For more information, as well as an immediately useable, binary version of the Dash Core software, see https://www.dash.org/downloads.

License

Dash Core is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.

Development Process

The master branch is meant to be stable. Development is normally done in separate branches. Tags are created to indicate new official, stable release versions of Dash Core.

The contribution workflow is described in CONTRIBUTING.md.

Testing

Testing and code review is the bottleneck for development; we get more pull requests than we can review and test on short notice. Please be patient and help out by testing other people's pull requests, and remember this is a security-critical project where any mistake might cost people lots of money.

Automated Testing

Developers are strongly encouraged to write unit tests for new code, and to submit new unit tests for old code. Unit tests can be compiled and run (assuming they weren't disabled in configure) with: make check

Every pull request is built for both Windows and Linux on a dedicated server, and unit and sanity tests are automatically run. The binaries produced may be used for manual QA testing — a link to them will appear in a comment on the pull request posted by DashPullTester. See https://github.com/TheBlueMatt/test-scripts for the build/test scripts. TODO

Manual Quality Assurance (QA) Testing

Large changes should have a test plan, and should be tested by somebody other than the developer who wrote the code. See https://github.com/dashpay/QA/ for how to create a test plan. TODO

Translations

Changes to translations as well as new translations can be submitted to Bitcoin Core's Transifex page.

Translations are periodically pulled from Transifex and merged into the git repository. See the translation process for details on how this works.

Important: We do not accept translation changes as GitHub pull requests because the next pull from Transifex would automatically overwrite them again.

Translators should also subscribe to the mailing list. TODO

Development tips and tricks

compiling for debugging

Run configure with the --enable-debug option, then make. Or run configure with CXXFLAGS="-g -ggdb -O0" or whatever debug flags you need.

debug.log

If the code is behaving strangely, take a look in the debug.log file in the data directory; error and debugging messages are written there.

The -debug=... command-line option controls debugging; running with just -debug will turn on all categories (and give you a very large debug.log file).

The Qt code routes qDebug() output to debug.log under category "qt": run with -debug=qt to see it.

testnet and regtest modes

Run with the -testnet option to run with "play dash" on the test network, if you are testing multi-machine code that needs to operate across the internet.

If you are testing something that can run on one machine, run with the -regtest option. In regression test mode, blocks can be created on-demand; see qa/rpc-tests/ for tests that run in -regtest mode.

DEBUG_LOCKORDER

Dash Core is a multithreaded application, and deadlocks or other multithreading bugs can be very difficult to track down. Compiling with -DDEBUG_LOCKORDER (configure CXXFLAGS="-DDEBUG_LOCKORDER -g") inserts run-time checks to keep track of which locks are held, and adds warnings to the debug.log file if inconsistencies are detected.