Example intro updates

This commit is contained in:
thephez 2017-12-11 13:57:59 -05:00
parent 2d5525253f
commit 822098b5a1
2 changed files with 26 additions and 25 deletions

View file

@ -5,37 +5,38 @@ http://opensource.org/licenses/MIT.
{% assign filename="_includes/devdoc/example_intro.md" %} {% assign filename="_includes/devdoc/example_intro.md" %}
{% autocrossref %} {% autocrossref %}
<!-- __ -->
The following guide aims to provide examples to help you start The following guide aims to provide examples to help you start
building Bitcoin-based applications. To make the best use of this document, building Dash-based applications. To make the best use of this document,
you may want to install the current version of Bitcoin Core, either from you may want to install the current version of Dash Core, either from
[source][core git] or from a [pre-compiled executable][core executable]. [source][core git] or from a [pre-compiled executable][core executable].
Once installed, you'll have access to three programs: `bitcoind`, Once installed, you'll have access to three programs: `dashd`,
`bitcoin-qt`, and `bitcoin-cli`. `dash-qt`, and `dash-cli`.
* `bitcoin-qt` provides a combination full Bitcoin peer and wallet * `dash-qt` provides a combination full Dash peer and wallet
frontend. From the Help menu, you can access a console where you can frontend. From the Help menu, you can access a console where you can
enter the RPC commands used throughout this document. enter the RPC commands used throughout this document.
* `bitcoind` is more useful for programming: it provides a full peer * `dashd` is more useful for programming: it provides a full peer
which you can interact with through RPCs to port 8332 (or 18332 which you can interact with through RPCs to port 9998 (or 19998
for testnet). for testnet / 18332 for regtest).
* `bitcoin-cli` allows you to send RPC commands to `bitcoind` from the * `dash-cli` allows you to send RPC commands to `dashd` from the
command line. For example, `bitcoin-cli help` command line. For example, `dash-cli help`
All three programs get settings from `bitcoin.conf` in the `Bitcoin` All three programs get settings from `dash.conf` in the `DashCore`
application directory: application directory:
* Windows: `%APPDATA%\Bitcoin\` * Windows: `%APPDATA%\DashCore\`
* OSX: `$HOME/Library/Application Support/Bitcoin/` * OSX: `$HOME/Library/Application Support/DashCore/`
* Linux: `$HOME/.bitcoin/` * Linux: `$HOME/.dashcore/`
To use `bitcoind` and `bitcoin-cli`, you will need to add a RPC password To use `dashd` and `dash-cli`, you will need to add a RPC password
to your `bitcoin.conf` file. Both programs will read from the same file to your `dash.conf` file. Both programs will read from the same file
if both run on the same system as the same user, so any long random if both run on the same system as the same user, so any long random
password will work: password will work:
@ -43,22 +44,21 @@ password will work:
rpcpassword=change_this_to_a_long_random_password rpcpassword=change_this_to_a_long_random_password
~~~~ ~~~~
You should also make the `bitcoin.conf` file only readable to its You should also make the `dash.conf` file only readable to its
owner. On Linux, Mac OSX, and other Unix-like systems, this can be owner. On Linux, Mac OSX, and other Unix-like systems, this can be
accomplished by running the following command in the Bitcoin application accomplished by running the following command in the Dash Core application
directory: directory:
~~~ ~~~
chmod 0600 bitcoin.conf chmod 0600 dash.conf
~~~ ~~~
For development, it's safer and cheaper to use Bitcoin's test network (testnet) For development, it's safer and cheaper to use Dash's test network (testnet)
or regression test mode (regtest) described below. or regression test mode (regtest) described below.
Questions about Bitcoin use are best sent to the [BitcoinTalk forum][forum Questions about Dash use are best sent to the [Dash forum][forum
tech support] and [IRC channels][]. Errors or suggestions related to tech support] and [Discord channels][Discord channels]. Errors or suggestions related to
documentation on Bitcoin.org can be [submitted as an issue][docs issue] documentation on dash-docs.github.io can be [submitted as an issue][docs issue].
or posted to the [bitcoin-documentation mailing list][].
In the following documentation, some strings have been shortened or wrapped: "[...]" In the following documentation, some strings have been shortened or wrapped: "[...]"
indicates extra data was removed, and lines ending in a single backslash "\\" indicates extra data was removed, and lines ending in a single backslash "\\"

View file

@ -466,6 +466,7 @@ http://opensource.org/licenses/MIT.
[dashmnb]: https://github.com/chaeplin/dashmnb [dashmnb]: https://github.com/chaeplin/dashmnb
[DER]: https://en.wikipedia.org/wiki/X.690#DER_encoding [DER]: https://en.wikipedia.org/wiki/X.690#DER_encoding
[dig command]: https://en.wikipedia.org/wiki/Dig_%28Unix_command%29 [dig command]: https://en.wikipedia.org/wiki/Dig_%28Unix_command%29
[Discord channels]: http://www.dashchat.org
[DNS A records]: http://tools.ietf.org/html/rfc1035#section-3.2.2 [DNS A records]: http://tools.ietf.org/html/rfc1035#section-3.2.2
[DNS Seed Policy]: https://github.com/dashpay/dash/blob/master/doc/dnsseed-policy.md [DNS Seed Policy]: https://github.com/dashpay/dash/blob/master/doc/dnsseed-policy.md
[docs issue]: https://github.com/thephez/dash.org/issues [docs issue]: https://github.com/thephez/dash.org/issues
@ -475,7 +476,7 @@ http://opensource.org/licenses/MIT.
[Eloipool]: https://github.com/luke-jr/eloipool [Eloipool]: https://github.com/luke-jr/eloipool
[errors in docs]: https://github.com/thephez/dash.org/issues?q=is%3Aissue+label%3A%22Dev+Docs%22 [errors in docs]: https://github.com/thephez/dash.org/issues?q=is%3Aissue+label%3A%22Dev+Docs%22
[fake satoshi transaction]: https://www.reddit.com/r/Bitcoin/comments/3fv42j/blockchaininfo_spoofed_transactions_problem_aug_4/ [fake satoshi transaction]: https://www.reddit.com/r/Bitcoin/comments/3fv42j/blockchaininfo_spoofed_transactions_problem_aug_4/
[forum tech support]: https://bitcointalk.org/index.php?board=4.0 [forum tech support]: https://www.dash.org/forum/categories/dash-support.61/
[ghash betcoin double spend]: https://bitcointalk.org/index.php?topic=321630.msg3445371 [ghash betcoin double spend]: https://bitcointalk.org/index.php?topic=321630.msg3445371
[gitian sigs]: https://github.com/bitcoin/gitian.sigs [gitian sigs]: https://github.com/bitcoin/gitian.sigs
[high-speed block relay network]: https://www.mail-archive.com/bitcoin-development@lists.sourceforge.net/msg03189.html [high-speed block relay network]: https://www.mail-archive.com/bitcoin-development@lists.sourceforge.net/msg03189.html