mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Change Dash -> Dash Core where appropriate (in strings)
This commit is contained in:
parent
de7b2b6c51
commit
a5328a12b5
@ -71,7 +71,7 @@
|
|||||||
#rpcuser=Ulysseys
|
#rpcuser=Ulysseys
|
||||||
#rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593
|
#rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593
|
||||||
|
|
||||||
# How many seconds dash will wait for a complete RPC HTTP request.
|
# How many seconds Dash Core will wait for a complete RPC HTTP request.
|
||||||
# after the HTTP connection is established.
|
# after the HTTP connection is established.
|
||||||
#rpcclienttimeout=30
|
#rpcclienttimeout=30
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
.TH DASH.CONF "5" "June 2016" "dash.conf 0.12"
|
.TH DASH.CONF "5" "June 2016" "dash.conf 0.12"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
dash.conf \- dash configuration file
|
dash.conf \- Dash Core configuration file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
All command-line options (except for '\-conf') may be specified in a configuration file, and all configuration file options may also be specified on the command line. Command-line options override values set in the configuration file.
|
All command-line options (except for '\-conf') may be specified in a configuration file, and all configuration file options may also be specified on the command line. Command-line options override values set in the configuration file.
|
||||||
.TP
|
.TP
|
||||||
The configuration file is a list of 'setting=value' pairs, one per line, with optional comments starting with the '#' character. Please refer to dashd(1) for a up to date list of valid options.
|
The configuration file is a list of 'setting=value' pairs, one per line, with optional comments starting with the '#' character. Please refer to dashd(1) for a up to date list of valid options.
|
||||||
.TP
|
.TP
|
||||||
The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, dashd(1) will look for a file named dash.conf(5) in the dash data directory, but both the data directory and the configuration file path may be changed using the '\-datadir' and '\-conf' command-line arguments.
|
The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, dashd(1) will look for a file named dash.conf(5) in the Dash Core data directory, but both the data directory and the configuration file path may be changed using the '\-datadir' and '\-conf' command-line arguments.
|
||||||
.SH LOCATION
|
.SH LOCATION
|
||||||
dash.conf should be located in $HOME/.dashcore
|
dash.conf should be located in $HOME/.dashcore
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# dashd The dash core server.
|
# dashd The Dash Core server.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# chkconfig: 345 80 20
|
# chkconfig: 345 80 20
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Helpful little script that spits out a comma-separated list of
|
# Helpful little script that spits out a comma-separated list of
|
||||||
# language codes for Qt icons that should be included
|
# language codes for Qt icons that should be included
|
||||||
# in binary dash distributions
|
# in binary Dash Core distributions
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
|
@ -33,7 +33,7 @@ def check_json_precision():
|
|||||||
raise RuntimeError("JSON encode/decode loses precision")
|
raise RuntimeError("JSON encode/decode loses precision")
|
||||||
|
|
||||||
def determine_db_dir():
|
def determine_db_dir():
|
||||||
"""Return the default location of the dash data directory"""
|
"""Return the default location of the Dash Core data directory"""
|
||||||
if platform.system() == "Darwin":
|
if platform.system() == "Darwin":
|
||||||
return os.path.expanduser("~/Library/Application Support/DashCore/")
|
return os.path.expanduser("~/Library/Application Support/DashCore/")
|
||||||
elif platform.system() == "Windows":
|
elif platform.system() == "Windows":
|
||||||
@ -63,7 +63,7 @@ def read_bitcoin_config(dbdir):
|
|||||||
return dict(config_parser.items("all"))
|
return dict(config_parser.items("all"))
|
||||||
|
|
||||||
def connect_JSON(config):
|
def connect_JSON(config):
|
||||||
"""Connect to a dash JSON-RPC server"""
|
"""Connect to a Dash Core JSON-RPC server"""
|
||||||
testnet = config.get('testnet', '0')
|
testnet = config.get('testnet', '0')
|
||||||
testnet = (int(testnet) > 0) # 0/1 in config file, convert to True/False
|
testnet = (int(testnet) > 0) # 0/1 in config file, convert to True/False
|
||||||
if not 'rpcport' in config:
|
if not 'rpcport' in config:
|
||||||
|
@ -40,7 +40,7 @@ The following can be set when running make: make FOO=bar
|
|||||||
DEBUG: disable some optimizations and enable more runtime checking
|
DEBUG: disable some optimizations and enable more runtime checking
|
||||||
|
|
||||||
If some packages are not built, for example `make NO_WALLET=1`, the appropriate
|
If some packages are not built, for example `make NO_WALLET=1`, the appropriate
|
||||||
options will be passed to dash's configure. In this case, `--disable-wallet`.
|
options will be passed to Dash Core's configure. In this case, `--disable-wallet`.
|
||||||
|
|
||||||
Additional targets:
|
Additional targets:
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
The list of assets used in the dash source and their attribution can now be found in [contrib/debian/copyright](../contrib/debian/copyright).
|
The list of assets used in the Dash Core source and their attribution can now be found in [contrib/debian/copyright](../contrib/debian/copyright).
|
||||||
|
@ -6,7 +6,7 @@ Some notes on how to build Dash Core in Unix.
|
|||||||
|
|
||||||
Note
|
Note
|
||||||
---------------------
|
---------------------
|
||||||
Always use absolute paths to configure and compile dash and the dependencies,
|
Always use absolute paths to configure and compile Dash Core and the dependencies,
|
||||||
for example, when specifying the the path of the dependency:
|
for example, when specifying the the path of the dependency:
|
||||||
|
|
||||||
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
|
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
|
||||||
@ -211,7 +211,7 @@ Hardening enables the following features:
|
|||||||
|
|
||||||
* Non-executable Stack
|
* Non-executable Stack
|
||||||
If the stack is executable then trivial stack based buffer overflow exploits are possible if
|
If the stack is executable then trivial stack based buffer overflow exploits are possible if
|
||||||
vulnerable buffers are found. By default, dash should be built with a non-executable stack
|
vulnerable buffers are found. By default, Dash Core should be built with a non-executable stack
|
||||||
but if one of the libraries it uses asks for an executable stack or someone makes a mistake
|
but if one of the libraries it uses asks for an executable stack or someone makes a mistake
|
||||||
and uses a compiler extension which requires an executable stack, it will silently build an
|
and uses a compiler extension which requires an executable stack, it will silently build an
|
||||||
executable without the non-executable stack protection.
|
executable without the non-executable stack protection.
|
||||||
@ -227,7 +227,7 @@ Hardening enables the following features:
|
|||||||
|
|
||||||
Disable-wallet mode
|
Disable-wallet mode
|
||||||
--------------------
|
--------------------
|
||||||
When the intention is to run only a P2P node without a wallet, dash may be compiled in
|
When the intention is to run only a P2P node without a wallet, Dash Core may be compiled in
|
||||||
disable-wallet mode with:
|
disable-wallet mode with:
|
||||||
|
|
||||||
./configure --disable-wallet
|
./configure --disable-wallet
|
||||||
|
@ -300,7 +300,7 @@ cd ..
|
|||||||
|
|
||||||
**Note**: When sudo asks for a password, enter the password for the user *debian* not for *root*.
|
**Note**: When sudo asks for a password, enter the password for the user *debian* not for *root*.
|
||||||
|
|
||||||
Clone the git repositories for dash and Gitian.
|
Clone the git repositories for Dash Core and Gitian.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/devrandom/gitian-builder.git
|
git clone https://github.com/devrandom/gitian-builder.git
|
||||||
@ -339,7 +339,7 @@ Getting and building the inputs
|
|||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
Follow the instructions in [doc/release-process.md](release-process.md#fetch-and-build-inputs-first-time-or-when-dependency-versions-change)
|
Follow the instructions in [doc/release-process.md](release-process.md#fetch-and-build-inputs-first-time-or-when-dependency-versions-change)
|
||||||
in the dash repository under 'Fetch and build inputs' to install sources which require
|
in the Dash Core repository under 'Fetch and build inputs' to install sources which require
|
||||||
manual intervention. Also optionally follow the next step: 'Seed the Gitian sources cache
|
manual intervention. Also optionally follow the next step: 'Seed the Gitian sources cache
|
||||||
and offline git repositories' which will fetch the remaining files required for building
|
and offline git repositories' which will fetch the remaining files required for building
|
||||||
offline.
|
offline.
|
||||||
@ -348,7 +348,7 @@ Building Dash Core
|
|||||||
----------------
|
----------------
|
||||||
|
|
||||||
To build Dash Core (for Linux, OS X and Windows) just follow the steps under 'perform
|
To build Dash Core (for Linux, OS X and Windows) just follow the steps under 'perform
|
||||||
Gitian builds' in [doc/release-process.md](release-process.md#perform-gitian-builds) in the dash repository.
|
Gitian builds' in [doc/release-process.md](release-process.md#perform-gitian-builds) in the Dash Core repository.
|
||||||
|
|
||||||
This may take some time as it will build all the dependencies needed for each descriptor.
|
This may take some time as it will build all the dependencies needed for each descriptor.
|
||||||
These dependencies will be cached after a successful build to avoid rebuilding them when possible.
|
These dependencies will be cached after a successful build to avoid rebuilding them when possible.
|
||||||
|
@ -892,7 +892,7 @@ void InitLogging()
|
|||||||
LogPrintf("Dash Core version %s (%s)\n", FormatFullVersion(), CLIENT_DATE);
|
LogPrintf("Dash Core version %s (%s)\n", FormatFullVersion(), CLIENT_DATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Initialize dash.
|
/** Initialize Dash Core.
|
||||||
* @pre Parameters should be parsed and config file should be read.
|
* @pre Parameters should be parsed and config file should be read.
|
||||||
*/
|
*/
|
||||||
bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||||
|
@ -788,7 +788,7 @@ bool SetStartOnSystemStartup(bool fAutoStart)
|
|||||||
LSSharedFileListItemRef findStartupItemInList(LSSharedFileListRef list, CFURLRef findUrl);
|
LSSharedFileListItemRef findStartupItemInList(LSSharedFileListRef list, CFURLRef findUrl);
|
||||||
LSSharedFileListItemRef findStartupItemInList(LSSharedFileListRef list, CFURLRef findUrl)
|
LSSharedFileListItemRef findStartupItemInList(LSSharedFileListRef list, CFURLRef findUrl)
|
||||||
{
|
{
|
||||||
// loop through the list of startup items and try to find the dash app
|
// loop through the list of startup items and try to find the Dash Core app
|
||||||
CFArrayRef listSnapshot = LSSharedFileListCopySnapshot(list, NULL);
|
CFArrayRef listSnapshot = LSSharedFileListCopySnapshot(list, NULL);
|
||||||
for(int i = 0; i < CFArrayGetCount(listSnapshot); i++) {
|
for(int i = 0; i < CFArrayGetCount(listSnapshot); i++) {
|
||||||
LSSharedFileListItemRef item = (LSSharedFileListItemRef)CFArrayGetValueAtIndex(listSnapshot, i);
|
LSSharedFileListItemRef item = (LSSharedFileListItemRef)CFArrayGetValueAtIndex(listSnapshot, i);
|
||||||
@ -833,7 +833,7 @@ bool SetStartOnSystemStartup(bool fAutoStart)
|
|||||||
LSSharedFileListItemRef foundItem = findStartupItemInList(loginItems, bitcoinAppUrl);
|
LSSharedFileListItemRef foundItem = findStartupItemInList(loginItems, bitcoinAppUrl);
|
||||||
|
|
||||||
if(fAutoStart && !foundItem) {
|
if(fAutoStart && !foundItem) {
|
||||||
// add dash app to startup item list
|
// add Dash Core app to startup item list
|
||||||
LSSharedFileListInsertItemURL(loginItems, kLSSharedFileListItemBeforeFirst, NULL, NULL, bitcoinAppUrl, NULL, NULL);
|
LSSharedFileListInsertItemURL(loginItems, kLSSharedFileListItemBeforeFirst, NULL, NULL, bitcoinAppUrl, NULL, NULL);
|
||||||
}
|
}
|
||||||
else if(!fAutoStart && foundItem) {
|
else if(!fAutoStart && foundItem) {
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
// Copyright (c) 2010 Satoshi Nakamoto
|
// Copyright (c) 2014-2016 The Dash Core developers
|
||||||
// Copyright (c) 2009-2012 The Bitcoin developers
|
|
||||||
// Distributed under the MIT/X11 software license, see the accompanying
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Notes
|
# Notes
|
||||||
The sources in this directory are unit test cases. Boost includes a
|
The sources in this directory are unit test cases. Boost includes a
|
||||||
unit testing framework, and since dash already uses boost, it makes
|
unit testing framework, and since Dash Core already uses boost, it makes
|
||||||
sense to simply use this framework rather than require developers to
|
sense to simply use this framework rather than require developers to
|
||||||
configure some other framework (we want as few impediments to creating
|
configure some other framework (we want as few impediments to creating
|
||||||
unit tests as possible).
|
unit tests as possible).
|
||||||
|
@ -2191,7 +2191,7 @@ UniValue encryptwallet(const UniValue& params, bool fHelp)
|
|||||||
// slack space in .dat files; that is bad if the old data is
|
// slack space in .dat files; that is bad if the old data is
|
||||||
// unencrypted private keys. So:
|
// unencrypted private keys. So:
|
||||||
StartShutdown();
|
StartShutdown();
|
||||||
return "wallet encrypted; dash server stopping, restart to run with encrypted wallet. The keypool has been flushed, you need to make a new backup.";
|
return "Wallet encrypted; Dash Core server stopping, restart to run with encrypted wallet. The keypool has been flushed, you need to make a new backup.";
|
||||||
}
|
}
|
||||||
|
|
||||||
UniValue lockunspent(const UniValue& params, bool fHelp)
|
UniValue lockunspent(const UniValue& params, bool fHelp)
|
||||||
|
Loading…
Reference in New Issue
Block a user