Change , .conf and .pid files to darkcoin

This commit is contained in:
vertoe 2014-11-27 17:26:22 +01:00
parent 0f1d25b409
commit 5ba6751be7
76 changed files with 290 additions and 273 deletions

View File

@ -12,12 +12,17 @@ MUST-HAVE:
- Version numbers, protocol version, wallet version (compatible with DRK network)
- Adress versions (Public keys, Multisig keys)
- Adjust algorithm (SHA256 --> X11)
- Adjust difficulty (KGW, DGW based on blockheight)
- Adjust difficulty/subsidity (KGW, DGW based on blockheight)
- Change genesisblockhash and timestamp
- Add darkcoin seednodes
- Add masternode payment checks a.k.a. enforcement (based on blockheight)
- Remove bitcoin dead weight (SHA256, hardcoded keys, nodes)
OPTIONAL:
---------
- All the above for Testnet
- Update strings and wallet layout/branding
- Include Evan's public key for msg signing
- Darksend, Instant Transactions, Atomic Transfers, etc. pp.

View File

@ -1 +1 @@
debian/examples/bitcoin.conf
debian/examples/darkcoin.conf

View File

@ -1,2 +1,2 @@
debian/manpages/bitcoind.1
debian/manpages/bitcoin.conf.5
debian/manpages/darkcoind.1
debian/manpages/darkcoin.conf.5

View File

@ -359,8 +359,8 @@ bitcoin (0.3.19~dfsg-5) unstable; urgency=low
bitcoin (0.3.19~dfsg-4) unstable; urgency=low
[ Micah Anderson ]
* Provide example bitcoin.conf.
* Add bitcoind(1) and bitcoin.conf(5) man pages.
* Provide example darkcoin.conf.
* Add bitcoind(1) and darkcoin.conf(5) man pages.
[ Jonas Smedegaard ]
* Ease backporting:

View File

@ -1,4 +1,4 @@
# bitcoin.conf configuration file. Lines beginning with # are comments.
# darkcoin.conf configuration file. Lines beginning with # are comments.
# Network-related settings:

View File

@ -11,7 +11,7 @@ bitcoin\-qt [command\-line options]
This help message
.TP
\fB\-conf=\fR<file>
Specify configuration file (default: bitcoin.conf)
Specify configuration file (default: darkcoin.conf)
.TP
\fB\-pid=\fR<file>
Specify pid file (default: bitcoind.pid)

View File

@ -1,19 +1,19 @@
.TH BITCOIN.CONF "5" "January 2011" "bitcoin.conf 3.19"
.TH DARKCOIN.CONF "5" "January 2011" "darkcoin.conf 3.19"
.SH NAME
bitcoin.conf \- bitcoin configuration file
darkcoin.conf \- darkcoin configuration file
.SH SYNOPSIS
All command-line options (except for '\-datadir' and '\-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
The configuration file is a list of 'setting=value' pairs, one per line, with optional comments starting with the '#' character.
.TP
The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, bitcoind(1) will look for a file named bitcoin.conf(5) in the bitcoin 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, darkcoind(1) will look for a file named darkcoin.conf(5) in the darkcoin 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
bitcoin.conf should be located in $HOME/.bitcoin
darkcoin.conf should be located in $HOME/.darkcoin
.SH NETWORK-RELATED SETTINGS
.TP
.TP
\fBtestnet=\fR[\fI'1'\fR|\fI'0'\fR]
Enable or disable run on the test network instead of the real *bitcoin* network.
Enable or disable run on the test network instead of the real *darkcoin* network.
.TP
\fBproxy=\fR\fI'127.0.0.1:9050'\fR
Connect via a socks4 proxy.
@ -29,7 +29,7 @@ Maximum number of inbound+outbound connections.
.SH JSON-RPC OPTIONS
.TP
\fBserver=\fR[\fI'1'\fR|\fI'0'\fR]
Tells *bitcoin* to accept or not accept JSON-RPC commands.
Tells *darkcoin* to accept or not accept JSON-RPC commands.
.TP
\fBrpcuser=\fR\fI'username'\fR
You must set *rpcuser* to secure the JSON-RPC api.
@ -44,10 +44,10 @@ By default, only RPC connections from localhost are allowed. Specify as many *rp
Listen for RPC connections on this TCP port.
.TP
\fBrpcconnect=\fR\fI'127.0.0.1'\fR
You can use *bitcoin* or *bitcoind(1)* to send commands to *bitcoin*/*bitcoind(1)* running on another host using this option.
You can use *darkcoin* or *darkcoind(1)* to send commands to *darkcoin*/*darkcoind(1)* running on another host using this option.
.TP
\fBrpcssl=\fR\fI'1'\fR
Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate with *bitcoin* '\-server' or *bitcoind(1)*. Example of OpenSSL settings used when *rpcssl*='1':
Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate with *darkcoin* '\-server' or *darkcoind(1)*. Example of OpenSSL settings used when *rpcssl*='1':
.TP
\fB\-rpcsslciphers=\fR<ciphers>
Acceptable ciphers (default: TLSv1+HIGH:\:!SSLv2:\:!aNULL:\:!eNULL:\:!AH:\:!3DES:\:@STRENGTH)
@ -59,16 +59,16 @@ Acceptable ciphers (default: TLSv1+HIGH:\:!SSLv2:\:!aNULL:\:!eNULL:\:!AH:\:!3DES
.SH MISCELLANEOUS OPTIONS
.TP
\fBgen=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable attempt to generate bitcoins.
Enable or disable attempt to generate darkcoins.
.TP
\fB4way=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable use SSE instructions to try to generate bitcoins faster.
Enable or disable use SSE instructions to try to generate darkcoins faster.
.TP
\fBkeypool=\fR\fI'100'\fR
Pre-generate this many public/private key pairs, so wallet backups will be valid for both prior transactions and several dozen future transactions.
.TP
\fBpaytxfee=\fR\fI'0.00'\fR
Pay an optional transaction fee every time you send bitcoins. Transactions with fees are more likely than free transactions to be included in generated blocks, so may be validated sooner.
Pay an optional transaction fee every time you send darkcoins. Transactions with fees are more likely than free transactions to be included in generated blocks, so may be validated sooner.
.TP
\fBallowreceivebyip=\fR\fI'1'\fR
Allow direct connections for the 'pay via IP address' feature.
@ -76,12 +76,12 @@ Allow direct connections for the 'pay via IP address' feature.
.SH USER INTERFACE OPTIONS
.TP
\fBmin=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable start bitcoind minimized.
Enable or disable start darkcoind minimized.
.TP
\fBminimizetotray=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable minimize to the system tray.
.SH "SEE ALSO"
bitcoind(1)
darkcoind(1)
.SH AUTHOR
This manual page was written by Micah Anderson <micah@debian.org> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.

View File

@ -1,8 +1,8 @@
.TH BITCOIND "1" "January 2011" "bitcoind 3.19"
.TH BITCOIND "1" "January 2011" "bitcoind 3.19"
.SH NAME
bitcoind \- peer-to-peer network based digital currency
.SH SYNOPSIS
bitcoin [options] <command> [params]
bitcoin [options] <command> [params]
.TP
bitcoin [options] help <command> \- Get help for a command
.SH DESCRIPTION
@ -13,7 +13,7 @@ Bitcoins can be sent easily through the Internet, without having to trust middle
.SH OPTIONS
.TP
\fB\-conf=\fR<file>
Specify configuration file (default: bitcoin.conf)
Specify configuration file (default: darkcoin.conf)
.TP
\fB\-gen\fR
Generate coins
@ -184,13 +184,13 @@ Moves funds between accounts.
.TP
\fBsendfrom* <'account'> <'bitcoinaddress'> <'amount'> ['minconf=1'] ['comment'] ['comment-to']\fR
Sends amount from account's balance to 'bitcoinaddress'. This method will fail if there is less than amount bitcoins with ['minconf'] confirmations in the account's balance (unless account is the empty-string-named default account; it behaves like the *sendtoaddress* method). Returns transaction ID on success.
.TP
.TP
\fBsendtoaddress 'bitcoinaddress' 'amount' ['comment'] ['comment-to']\fR
Sends amount from the server's available balance to 'bitcoinaddress'. amount is a real and is rounded to the nearest 0.01. Returns transaction id on success.
.TP
.TP
\fBstop\fR
Stops the bitcoin server.
.TP
.TP
\fBvalidateaddress 'bitcoinaddress'\fR
Checks that 'bitcoinaddress' looks like a proper bitcoin address. Returns an object containing:
@ -201,7 +201,7 @@ Checks that 'bitcoinaddress' looks like a proper bitcoin address. Returns an obj
*note: ismine and address are only returned if the address is valid.
.SH "SEE ALSO"
bitcoin.conf(5)
darkcoin.conf(5)
.SH AUTHOR
This manual page was written by Micah Anderson <micah@debian.org> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.

View File

@ -1,11 +1,11 @@
---
name: "bitcoin"
name: "darkcoin"
suites:
- "precise"
architectures:
- "i386"
- "amd64"
packages:
packages:
- "g++"
- "git-core"
- "unzip"
@ -22,11 +22,11 @@ packages:
- "libqt4-test"
reference_datetime: "2013-06-01 00:00:00"
remotes:
- "url": "https://github.com/bitcoin/bitcoin.git"
"dir": "bitcoin"
- "url": "https://github.com/darkcoin/darkcoin.git"
"dir": "darkcoin"
files:
- "bitcoin-deps-linux32-gitian-r8.zip"
- "bitcoin-deps-linux64-gitian-r8.zip"
- "darkcoin-deps-linux32-gitian-r8.zip"
- "darkcoin-deps-linux64-gitian-r8.zip"
- "boost-linux32-1.55.0-gitian-r1.zip"
- "boost-linux64-1.55.0-gitian-r1.zip"
- "qt-linux32-4.6.4-gitian-r1.tar.gz"
@ -43,13 +43,13 @@ script: |
#
mkdir -p $STAGING
cd $STAGING
unzip ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r8.zip
unzip ../build/darkcoin-deps-linux${GBUILD_BITS}-gitian-r8.zip
unzip ../build/boost-linux${GBUILD_BITS}-1.55.0-gitian-r1.zip
tar -zxf ../build/qt-linux${GBUILD_BITS}-4.6.4-gitian-r1.tar.gz
cd ../build
# Avoid exporting *any* symbols from the executable
# This avoids conflicts between the libraries statically linked into bitcoin and any
# This avoids conflicts between the libraries statically linked into darkcoin and any
# libraries we may link dynamically (such as Qt and OpenSSL, see issue #4094).
# It also avoids start-up overhead to not export any unnecessary symbols.
# To do this, build a linker script that marks all symbols as local.
@ -59,21 +59,21 @@ script: |
local: *;
};' > $LINKER_SCRIPT
function do_configure {
./configure "$@" --enable-upnp-default --prefix=$STAGING --with-protoc-bindir=$STAGING/host/bin --with-qt-bindir=$STAGING/bin --with-boost=$STAGING --disable-maintainer-mode --disable-dependency-tracking PKG_CONFIG_PATH="$STAGING/lib/pkgconfig" CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib -Wl,--version-script=$LINKER_SCRIPT ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}" BOOST_CHRONO_EXTRALIBS="-lrt" --enable-glibc-back-compat
./configure "$@" --enable-upnp-default --prefix=$STAGING --with-protoc-bindir=$STAGING/host/bin --with-qt-bindir=$STAGING/bin --with-boost=$STAGING --disable-maintainer-mode --disable-dependency-tracking PKG_CONFIG_PATH="$STAGING/lib/pkgconfig" CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib -Wl,--version-script=$LINKER_SCRIPT ${OPTFLAGS}" CXXFLAGS="-frandom-seed=darkcoin ${OPTFLAGS}" BOOST_CHRONO_EXTRALIBS="-lrt" --enable-glibc-back-compat
}
#
cd bitcoin
cd darkcoin
./autogen.sh
do_configure
make dist
DISTNAME=`echo bitcoin-*.tar.gz`
DISTNAME=`echo darkcoin-*.tar.gz`
# Build dynamic versions of everything
# (with static linking to boost and openssl as well a some non-OS deps)
mkdir -p distsrc
cd distsrc
tar --strip-components=1 -xf ../$DISTNAME
do_configure --bindir=$BINDIR
do_configure --bindir=$BINDIR
make $MAKEOPTS
make $MAKEOPTS install-strip
make $MAKEOPTS clean
@ -83,4 +83,4 @@ script: |
rm -rf $TEMPDIR
mkdir -p $TEMPDIR
cd $TEMPDIR
tar -xvf $HOME/build/bitcoin/$DISTNAME | sort | tar --no-recursion -cT /dev/stdin --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 --mtime="$REFERENCE_DATETIME" | gzip -n > $OUTDIR/src/$DISTNAME
tar -xvf $HOME/build/darkcoin/$DISTNAME | sort | tar --no-recursion -cT /dev/stdin --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 --mtime="$REFERENCE_DATETIME" | gzip -n > $OUTDIR/src/$DISTNAME

View File

@ -1,5 +1,5 @@
---
name: "bitcoin"
name: "darkcoin"
suites:
- "precise"
architectures:
@ -19,15 +19,15 @@ packages:
reference_datetime: "2013-06-01 00:00:00"
remotes:
- "url": "https://github.com/bitcoin/bitcoin.git"
"dir": "bitcoin"
- "url": "https://github.com/darkcoin/darkcoin.git"
"dir": "darkcoin"
files:
- "qt-win32-5.2.0-gitian-r3.zip"
- "qt-win64-5.2.0-gitian-r3.zip"
- "boost-win32-1.55.0-gitian-r6.zip"
- "boost-win64-1.55.0-gitian-r6.zip"
- "bitcoin-deps-win32-gitian-r15.zip"
- "bitcoin-deps-win64-gitian-r15.zip"
- "darkcoin-deps-win32-gitian-r15.zip"
- "darkcoin-deps-win64-gitian-r15.zip"
- "protobuf-win32-2.5.0-gitian-r4.zip"
- "protobuf-win64-2.5.0-gitian-r4.zip"
script: |
@ -61,29 +61,29 @@ script: |
cd $STAGING
unzip $INDIR/qt-win${BITS}-5.2.0-gitian-r3.zip
unzip $INDIR/boost-win${BITS}-1.55.0-gitian-r6.zip
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r15.zip
unzip $INDIR/darkcoin-deps-win${BITS}-gitian-r15.zip
unzip $INDIR/protobuf-win${BITS}-2.5.0-gitian-r4.zip
if [ "$NEEDDIST" == "1" ]; then
# Make source code archive which is architecture independent so it only needs to be done once
cd $HOME/build/bitcoin
cd $HOME/build/darkcoin
./autogen.sh
./configure --bindir=$OUTDIR --prefix=$STAGING --host=$HOST --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}"
./configure --bindir=$OUTDIR --prefix=$STAGING --host=$HOST --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib ${OPTFLAGS}" CXXFLAGS="-frandom-seed=darkcoin ${OPTFLAGS}"
make dist
DISTNAME=`echo bitcoin-*.tar.gz`
DISTNAME=`echo darkcoin-*.tar.gz`
NEEDDIST=0
fi
# Build platform-dependent executables from source archive
cd $BUILDDIR
mkdir -p distsrc
cd distsrc
tar --strip-components=1 -xf $HOME/build/bitcoin/$DISTNAME
./configure --enable-upnp-default --bindir=$BINDIR --prefix=$STAGING --host=$HOST --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}"
tar --strip-components=1 -xf $HOME/build/darkcoin/$DISTNAME
./configure --enable-upnp-default --bindir=$BINDIR --prefix=$STAGING --host=$HOST --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib ${OPTFLAGS}" CXXFLAGS="-frandom-seed=darkcoin ${OPTFLAGS}"
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
export FAKETIME=$REFERENCE_DATETIME
make $MAKEOPTS
make deploy
make install-strip
cp -f bitcoin-*setup*.exe $BINDIR/
cp -f darkcoin-*setup*.exe $BINDIR/
unset LD_PRELOAD
unset FAKETIME
done # for BITS in
@ -93,5 +93,5 @@ script: |
rm -rf $TEMPDIR
mkdir -p $TEMPDIR
cd $TEMPDIR
tar -xvf $HOME/build/bitcoin/$DISTNAME | sort | tar --no-recursion -cT /dev/stdin --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 --mtime="$REFERENCE_DATETIME" | gzip -n > $OUTDIR/src/$DISTNAME
tar -xvf $HOME/build/darkcoin/$DISTNAME | sort | tar --no-recursion -cT /dev/stdin --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 --mtime="$REFERENCE_DATETIME" | gzip -n > $OUTDIR/src/$DISTNAME

View File

@ -1,13 +1,13 @@
### SpendFrom ###
Use the raw transactions API to send coins received on a particular
address (or addresses).
address (or addresses).
### Usage: ###
Depends on [jsonrpc](http://json-rpc.org/).
spendfrom.py --from=FROMADDRESS1[,FROMADDRESS2] --to=TOADDRESS --amount=amount \
--fee=fee --datadir=/path/to/.bitcoin --testnet --dry_run
--fee=fee --datadir=/path/to/.darkcoin --testnet --dry_run
With no arguments, outputs a list of amounts associated with addresses.
@ -16,7 +16,7 @@ With arguments, sends coins received by the `FROMADDRESS` addresses to the `TOAD
### Notes ###
- You may explicitly specify how much fee to pay (a fee more than 1% of the amount
will fail, though, to prevent bitcoin-losing accidents). Spendfrom may fail if
will fail, though, to prevent darkcoin-losing accidents). Spendfrom may fail if
it thinks the transaction would never be confirmed (if the amount being sent is
too small, or if the transaction is too many bytes for the fee).

View File

@ -1,13 +1,13 @@
#!/usr/bin/env python
#
# Use the raw transactions API to spend bitcoins received on particular addresses,
# Use the raw transactions API to spend darkcoins received on particular addresses,
# and send any change back to that same address.
#
# Example usage:
# spendfrom.py # Lists available funds
# spendfrom.py --from=ADDRESS --to=ADDRESS --amount=11.00
#
# Assumes it will talk to a bitcoind or Bitcoin-Qt running
# Assumes it will talk to a darkcoind or Darkcoin-Qt running
# on localhost.
#
# Depends on jsonrpc
@ -33,15 +33,15 @@ def check_json_precision():
raise RuntimeError("JSON encode/decode loses precision")
def determine_db_dir():
"""Return the default location of the bitcoin data directory"""
"""Return the default location of the darkcoin data directory"""
if platform.system() == "Darwin":
return os.path.expanduser("~/Library/Application Support/Bitcoin/")
return os.path.expanduser("~/Library/Application Support/Darkcoin/")
elif platform.system() == "Windows":
return os.path.join(os.environ['APPDATA'], "Bitcoin")
return os.path.expanduser("~/.bitcoin")
return os.path.join(os.environ['APPDATA'], "Darkcoin")
return os.path.expanduser("~/.darkcoin")
def read_bitcoin_config(dbdir):
"""Read the bitcoin.conf file from dbdir, returns dictionary of settings"""
"""Read the darkcoin.conf file from dbdir, returns dictionary of settings"""
from ConfigParser import SafeConfigParser
class FakeSecHead(object):
@ -59,11 +59,11 @@ def read_bitcoin_config(dbdir):
return s
config_parser = SafeConfigParser()
config_parser.readfp(FakeSecHead(open(os.path.join(dbdir, "bitcoin.conf"))))
config_parser.readfp(FakeSecHead(open(os.path.join(dbdir, "darkcoin.conf"))))
return dict(config_parser.items("all"))
def connect_JSON(config):
"""Connect to a bitcoin JSON-RPC server"""
"""Connect to a darkcoin JSON-RPC server"""
testnet = config.get('testnet', '0')
testnet = (int(testnet) > 0) # 0/1 in config file, convert to True/False
if not 'rpcport' in config:
@ -72,7 +72,7 @@ def connect_JSON(config):
try:
result = ServiceProxy(connect)
# ServiceProxy is lazy-connect, so send an RPC command mostly to catch connection errors,
# but also make sure the bitcoind we're talking to is/isn't testnet:
# but also make sure the darkcoind we're talking to is/isn't testnet:
if result.getmininginfo()['testnet'] != testnet:
sys.stderr.write("RPC server at "+connect+" testnet setting mismatch\n")
sys.exit(1)
@ -81,40 +81,40 @@ def connect_JSON(config):
sys.stderr.write("Error connecting to RPC server at "+connect+"\n")
sys.exit(1)
def unlock_wallet(bitcoind):
info = bitcoind.getinfo()
def unlock_wallet(darkcoind):
info = darkcoind.getinfo()
if 'unlocked_until' not in info:
return True # wallet is not encrypted
t = int(info['unlocked_until'])
if t <= time.time():
try:
passphrase = getpass.getpass("Wallet is locked; enter passphrase: ")
bitcoind.walletpassphrase(passphrase, 5)
darkcoind.walletpassphrase(passphrase, 5)
except:
sys.stderr.write("Wrong passphrase\n")
info = bitcoind.getinfo()
info = darkcoind.getinfo()
return int(info['unlocked_until']) > time.time()
def list_available(bitcoind):
def list_available(darkcoind):
address_summary = dict()
address_to_account = dict()
for info in bitcoind.listreceivedbyaddress(0):
for info in darkcoind.listreceivedbyaddress(0):
address_to_account[info["address"]] = info["account"]
unspent = bitcoind.listunspent(0)
unspent = darkcoind.listunspent(0)
for output in unspent:
# listunspent doesn't give addresses, so:
rawtx = bitcoind.getrawtransaction(output['txid'], 1)
rawtx = darkcoind.getrawtransaction(output['txid'], 1)
vout = rawtx["vout"][output['vout']]
pk = vout["scriptPubKey"]
# This code only deals with ordinary pay-to-bitcoin-address
# This code only deals with ordinary pay-to-darkcoin-address
# or pay-to-script-hash outputs right now; anything exotic is ignored.
if pk["type"] != "pubkeyhash" and pk["type"] != "scripthash":
continue
address = pk["addresses"][0]
if address in address_summary:
address_summary[address]["total"] += vout["value"]
@ -139,8 +139,8 @@ def select_coins(needed, inputs):
n += 1
return (outputs, have-needed)
def create_tx(bitcoind, fromaddresses, toaddress, amount, fee):
all_coins = list_available(bitcoind)
def create_tx(darkcoind, fromaddresses, toaddress, amount, fee):
all_coins = list_available(darkcoind)
total_available = Decimal("0.0")
needed = amount+fee
@ -159,8 +159,8 @@ def create_tx(bitcoind, fromaddresses, toaddress, amount, fee):
# Note:
# Python's json/jsonrpc modules have inconsistent support for Decimal numbers.
# Instead of wrestling with getting json.dumps() (used by jsonrpc) to encode
# Decimals, I'm casting amounts to float before sending them to bitcoind.
#
# Decimals, I'm casting amounts to float before sending them to darkcoind.
#
outputs = { toaddress : float(amount) }
(inputs, change_amount) = select_coins(needed, potential_inputs)
if change_amount > BASE_FEE: # don't bother with zero or tiny change
@ -170,8 +170,8 @@ def create_tx(bitcoind, fromaddresses, toaddress, amount, fee):
else:
outputs[change_address] = float(change_amount)
rawtx = bitcoind.createrawtransaction(inputs, outputs)
signed_rawtx = bitcoind.signrawtransaction(rawtx)
rawtx = darkcoind.createrawtransaction(inputs, outputs)
signed_rawtx = darkcoind.signrawtransaction(rawtx)
if not signed_rawtx["complete"]:
sys.stderr.write("signrawtransaction failed\n")
sys.exit(1)
@ -179,10 +179,10 @@ def create_tx(bitcoind, fromaddresses, toaddress, amount, fee):
return txdata
def compute_amount_in(bitcoind, txinfo):
def compute_amount_in(darkcoind, txinfo):
result = Decimal("0.0")
for vin in txinfo['vin']:
in_info = bitcoind.getrawtransaction(vin['txid'], 1)
in_info = darkcoind.getrawtransaction(vin['txid'], 1)
vout = in_info['vout'][vin['vout']]
result = result + vout['value']
return result
@ -193,12 +193,12 @@ def compute_amount_out(txinfo):
result = result + vout['value']
return result
def sanity_test_fee(bitcoind, txdata_hex, max_fee):
def sanity_test_fee(darkcoind, txdata_hex, max_fee):
class FeeError(RuntimeError):
pass
try:
txinfo = bitcoind.decoderawtransaction(txdata_hex)
total_in = compute_amount_in(bitcoind, txinfo)
txinfo = darkcoind.decoderawtransaction(txdata_hex)
total_in = compute_amount_in(darkcoind, txinfo)
total_out = compute_amount_out(txinfo)
if total_in-total_out > max_fee:
raise FeeError("Rejecting transaction, unreasonable fee of "+str(total_in-total_out))
@ -221,15 +221,15 @@ def main():
parser = optparse.OptionParser(usage="%prog [options]")
parser.add_option("--from", dest="fromaddresses", default=None,
help="addresses to get bitcoins from")
help="addresses to get darkcoins from")
parser.add_option("--to", dest="to", default=None,
help="address to get send bitcoins to")
help="address to get send darkcoins to")
parser.add_option("--amount", dest="amount", default=None,
help="amount to send")
parser.add_option("--fee", dest="fee", default="0.0",
help="fee to include")
parser.add_option("--datadir", dest="datadir", default=determine_db_dir(),
help="location of bitcoin.conf file with RPC username/password (default: %default)")
help="location of darkcoin.conf file with RPC username/password (default: %default)")
parser.add_option("--testnet", dest="testnet", default=False, action="store_true",
help="Use the test network")
parser.add_option("--dry_run", dest="dry_run", default=False, action="store_true",
@ -240,10 +240,10 @@ def main():
check_json_precision()
config = read_bitcoin_config(options.datadir)
if options.testnet: config['testnet'] = True
bitcoind = connect_JSON(config)
darkcoind = connect_JSON(config)
if options.amount is None:
address_summary = list_available(bitcoind)
address_summary = list_available(darkcoind)
for address,info in address_summary.iteritems():
n_transactions = len(info['outputs'])
if n_transactions > 1:
@ -253,14 +253,14 @@ def main():
else:
fee = Decimal(options.fee)
amount = Decimal(options.amount)
while unlock_wallet(bitcoind) == False:
while unlock_wallet(darkcoind) == False:
pass # Keep asking for passphrase until they get it right
txdata = create_tx(bitcoind, options.fromaddresses.split(","), options.to, amount, fee)
sanity_test_fee(bitcoind, txdata, amount*Decimal("0.01"))
txdata = create_tx(darkcoind, options.fromaddresses.split(","), options.to, amount, fee)
sanity_test_fee(darkcoind, txdata, amount*Decimal("0.01"))
if options.dry_run:
print(txdata)
else:
txid = bitcoind.sendrawtransaction(txdata)
txid = darkcoind.sendrawtransaction(txdata)
print(txid)
if __name__ == '__main__':

View File

@ -1,6 +1,6 @@
Mac OS X Build Instructions and Notes
====================================
This guide will show you how to build bitcoind(headless client) for OSX.
This guide will show you how to build darkcoind(headless client) for OSX.
Notes
-----
@ -53,7 +53,7 @@ If not, you can ensure that the Homebrew OpenSSL is correctly linked by running
Rerunning "openssl version" should now return the correct version. If it
doesn't, make sure `/usr/local/bin` comes before `/usr/bin` in your
PATH.
PATH.
#### Installing berkeley-db4 using Homebrew
@ -61,7 +61,7 @@ The homebrew package for berkeley-db4 has been broken for some time. It will in
Running this command takes you into brew's interactive mode, which allows you to configure, make, and install by hand:
```
$ brew install https://raw.github.com/mxcl/homebrew/master/Library/Formula/berkeley-db4.rb -without-java
$ brew install https://raw.github.com/mxcl/homebrew/master/Library/Formula/berkeley-db4.rb -without-java
```
These rest of these commands are run inside brew interactive mode:
@ -73,19 +73,19 @@ These rest of these commands are run inside brew interactive mode:
/private/tmp/berkeley-db4-UGpd0O $ exit
```
After exiting, you'll get a warning that the install is keg-only, which means it wasn't symlinked to `/usr/local`. You don't need it to link it to build bitcoin, but if you want to, here's how:
After exiting, you'll get a warning that the install is keg-only, which means it wasn't symlinked to `/usr/local`. You don't need it to link it to build darkcoin, but if you want to, here's how:
$ brew --force link berkeley-db4
### Building `bitcoind`
### Building `darkcoind`
1. Clone the github tree to get the source code and go into the directory.
git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
git clone https://github.com/darkcoin/darkcoin.git
cd darkcoin
2. Build bitcoind:
2. Build darkcoind:
./autogen.sh
./configure
@ -97,11 +97,11 @@ After exiting, you'll get a warning that the install is keg-only, which means it
Creating a release build
------------------------
You can ignore this section if you are building `bitcoind` for your own use.
You can ignore this section if you are building `darkcoind` for your own use.
bitcoind/bitcoin-cli binaries are not included in the Bitcoin-Qt.app bundle.
darkcoind/darkcoin-cli binaries are not included in the Bitcoin-Qt.app bundle.
If you are building `bitcoind` or `Bitcoin-Qt` for others, your build machine should be set up
If you are building `darkcoind` or `Bitcoin-Qt` for others, your build machine should be set up
as follows for maximum compatibility:
All dependencies should be compiled with these flags:
@ -116,23 +116,23 @@ bundle is packaged and signed to create the .dmg disk image that is distributed.
Running
-------
It's now available at `./bitcoind`, provided that you are still in the `src`
It's now available at `./darkcoind`, provided that you are still in the `src`
directory. We have to first create the RPC configuration file, though.
Run `./bitcoind` to get the filename where it should be put, or just try these
Run `./darkcoind` to get the filename where it should be put, or just try these
commands:
echo -e "rpcuser=bitcoinrpc\nrpcpassword=$(xxd -l 16 -p /dev/urandom)" > "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf"
chmod 600 "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf"
echo -e "rpcuser=darkcoinrpc\nrpcpassword=$(xxd -l 16 -p /dev/urandom)" > "/Users/${USER}/Library/Application Support/Darkcoin/darkcoin.conf"
chmod 600 "/Users/${USER}/Library/Application Support/Darkcoin/darkcoin.conf"
When next you run it, it will start downloading the blockchain, but it won't
output anything while it's doing this. This process may take several hours;
you can monitor its process by looking at the debug.log file, like this:
tail -f $HOME/Library/Application\ Support/Bitcoin/debug.log
tail -f $HOME/Library/Application\ Support/Darkcoin/debug.log
Other commands:
./bitcoind -daemon # to start the bitcoin daemon.
./bitcoin-cli --help # for a list of command-line options.
./bitcoin-cli help # When the daemon is running, to get a list of RPC commands
./darkcoind -daemon # to start the darkcoin daemon.
./darkcoin-cli --help # for a list of command-line options.
./darkcoin-cli help # When the daemon is running, to get a list of RPC commands

View File

@ -9,7 +9,7 @@ The Amazon Machine Images I used to do the builds are available:
(mac build will be done soon)
If you have already downloaded version 0.3.20.1, please either add this to your bitcoin.conf file:
If you have already downloaded version 0.3.20.1, please either add this to your darkcoin.conf file:
maxsendbuffer=10000
maxreceivebuffer=10000

View File

@ -61,7 +61,7 @@ contrib/spendfrom is a python-language command-line utility that demonstrates
how to use the "raw transactions" JSON-RPC api to send coins received from particular
addresses (also known as "coin control").
New/changed settings (command-line or bitcoin.conf file)
New/changed settings (command-line or darkcoin.conf file)
--------------------------------------------------------
dbcache : controls LevelDB memory usage.
@ -90,7 +90,7 @@ Important Bug Fixes
Privacy leak: the position of the "change" output in most transactions was not being
properly randomized, making network analysis of the transaction graph to identify
users' wallets easier.
users' wallets easier.
Zero-confirmation transaction vulnerability: accepting zero-confirmation transactions
(transactions that have not yet been included in a block) from somebody you do not

View File

@ -3,14 +3,14 @@
# Distributed under the MIT/X11 software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
DATADIR="@abs_top_builddir@/.bitcoin"
DATADIR="@abs_top_builddir@/.darkcoin"
rm -rf "$DATADIR"
mkdir -p "$DATADIR"/regtest
touch "$DATADIR/regtest/debug.log"
tail -q -n 1 -F "$DATADIR/regtest/debug.log" | grep -m 1 -q "Done loading" &
WAITER=$!
PORT=`expr $BASHPID + 10000`
"@abs_top_builddir@/src/bitcoind@EXEEXT@" -connect=0.0.0.0 -datadir="$DATADIR" -rpcuser=user -rpcpassword=pass -listen -keypool=3 -debug -debug=net -logtimestamps -port=$PORT -regtest -rpcport=`expr $PORT + 1` &
"@abs_top_builddir@/src/darkcoind@EXEEXT@" -connect=0.0.0.0 -datadir="$DATADIR" -rpcuser=user -rpcpassword=pass -listen -keypool=3 -debug -debug=net -logtimestamps -port=$PORT -regtest -rpcport=`expr $PORT + 1` &
BITCOIND=$!
#Install a watchdog.

View File

@ -1,4 +1,5 @@
# Copyright (c) 2014 The Bitcoin Core developers
# Copyright (c) 2014 vertoe & the Darkcoin developers
# Distributed under the MIT/X11 software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
@ -53,7 +54,7 @@ def sync_mempools(rpc_connections):
if num_match == len(rpc_connections):
break
time.sleep(1)
bitcoind_processes = []
@ -61,26 +62,26 @@ def initialize_chain(test_dir):
"""
Create (or copy from cache) a 200-block-long chain and
4 wallets.
bitcoind and bitcoin-cli must be in search path.
darkcoind and darkcoin-cli must be in search path.
"""
if not os.path.isdir(os.path.join("cache", "node0")):
devnull = open("/dev/null", "w+")
# Create cache directories, run bitcoinds:
# Create cache directories, run darkcoinds:
for i in range(4):
datadir = os.path.join("cache", "node"+str(i))
os.makedirs(datadir)
with open(os.path.join(datadir, "bitcoin.conf"), 'w') as f:
with open(os.path.join(datadir, "darkcoin.conf"), 'w') as f:
f.write("regtest=1\n");
f.write("rpcuser=rt\n");
f.write("rpcpassword=rt\n");
f.write("port="+str(START_P2P_PORT+i)+"\n");
f.write("rpcport="+str(START_RPC_PORT+i)+"\n");
args = [ "bitcoind", "-keypool=1", "-datadir="+datadir ]
args = [ "darkcoind", "-keypool=1", "-datadir="+datadir ]
if i > 0:
args.append("-connect=127.0.0.1:"+str(START_P2P_PORT))
bitcoind_processes.append(subprocess.Popen(args))
subprocess.check_call([ "bitcoin-cli", "-datadir="+datadir,
subprocess.check_call([ "darkcoin-cli", "-datadir="+datadir,
"-rpcwait", "getblockcount"], stdout=devnull)
devnull.close()
rpcs = []
@ -113,13 +114,13 @@ def initialize_chain(test_dir):
shutil.copytree(from_dir, to_dir)
def start_nodes(num_nodes, dir):
# Start bitcoinds, and wait for RPC interface to be up and running:
# Start darkcoinds, and wait for RPC interface to be up and running:
devnull = open("/dev/null", "w+")
for i in range(num_nodes):
datadir = os.path.join(dir, "node"+str(i))
args = [ "bitcoind", "-datadir="+datadir ]
args = [ "darkcoind", "-datadir="+datadir ]
bitcoind_processes.append(subprocess.Popen(args))
subprocess.check_call([ "bitcoin-cli", "-datadir="+datadir,
subprocess.check_call([ "darkcoin-cli", "-datadir="+datadir,
"-rpcwait", "getblockcount"], stdout=devnull)
devnull.close()
# Create&return JSON-RPC connections

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
# Copyright (c) 2014 The Bitcoin Core developers
# Copyright (c) 2014 vertoe & the Darkcoin developers
# Distributed under the MIT/X11 software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -11,7 +12,7 @@ function echoerr {
# Usage: ExtractKey <key> "<json_object_string>"
# Warning: this will only work for the very-well-behaved
# JSON produced by bitcoind, do NOT use it to try to
# JSON produced by darkcoind, do NOT use it to try to
# parse arbitrary/nested/etc JSON.
function ExtractKey {
echo $2 | tr -d ' "{}\n' | awk -v RS=',' -F: "\$1 ~ /$1/ { print \$2}"
@ -20,7 +21,7 @@ function ExtractKey {
function CreateDataDir {
DIR=$1
mkdir -p $DIR
CONF=$DIR/bitcoin.conf
CONF=$DIR/darkcoin.conf
echo "regtest=1" >> $CONF
echo "keypool=2" >> $CONF
echo "rpcuser=rt" >> $CONF

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
# Copyright (c) 2014 The Bitcoin Core developers
# Copyright (c) 2014 vertoe & the Darkcoin developers
# Distributed under the MIT/X11 software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -39,8 +40,8 @@ if [ $# -lt 1 ]; then
exit 1
fi
BITCOIND=${1}/bitcoind
CLI=${1}/bitcoin-cli
BITCOIND=${1}/darkcoind
CLI=${1}/darkcoin-cli
DIR="${BASH_SOURCE%/*}"
SENDANDWAIT="${DIR}/send.sh"
@ -64,7 +65,7 @@ B4PID=$!
function CreateConfDir {
DIR=$1
mkdir -p $DIR
CONF=$DIR/bitcoin.conf
CONF=$DIR/darkcoin.conf
echo "regtest=1" >> $CONF
echo "rpcuser=rt" >> $CONF
echo "rpcpassword=rt" >> $CONF

View File

@ -1,5 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -63,7 +64,7 @@ bool AppInit(int argc, char* argv[])
//
// Parameters
//
// If Qt is used, parameters/bitcoin.conf are parsed in qt/bitcoin.cpp's main()
// If Qt is used, parameters/darkcoin.conf are parsed in qt/bitcoin.cpp's main()
ParseParameters(argc, argv);
if (!boost::filesystem::is_directory(GetDataDir(false)))
{

View File

@ -1,5 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -196,7 +197,7 @@ std::string HelpMessage(HelpMessageMode hmm)
strUsage += " -blocknotify=<cmd> " + _("Execute command when the best block changes (%s in cmd is replaced by block hash)") + "\n";
strUsage += " -checkblocks=<n> " + _("How many blocks to check at startup (default: 288, 0 = all)") + "\n";
strUsage += " -checklevel=<n> " + _("How thorough the block verification of -checkblocks is (0-4, default: 3)") + "\n";
strUsage += " -conf=<file> " + _("Specify configuration file (default: bitcoin.conf)") + "\n";
strUsage += " -conf=<file> " + _("Specify configuration file (default: darkcoin.conf)") + "\n";
if (hmm == HMM_BITCOIND)
{
#if !defined(WIN32)

View File

@ -1,4 +1,5 @@
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -516,7 +517,7 @@ int main(int argc, char *argv[])
// User language is set up: pick a data directory
Intro::pickDataDirectory();
/// 6. Determine availability of data directory and parse bitcoin.conf
/// 6. Determine availability of data directory and parse darkcoin.conf
/// - Do not call GetDataDir(true) before this step finishes
if (!boost::filesystem::is_directory(GetDataDir(false)))
{

View File

@ -1,4 +1,5 @@
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
#include <QtGlobal>
@ -238,7 +239,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Show all debugging options (usage: --help -he
QT_TRANSLATE_NOOP("bitcoin-core", "Show benchmark information (default: 0)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Shrink debug.log file on client startup (default: 1 when no -debug)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Signing transaction failed"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify configuration file (default: bitcoin.conf)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify configuration file (default: darkcoin.conf)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify connection timeout in milliseconds (default: 5000)"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify data directory"),
QT_TRANSLATE_NOOP("bitcoin-core", "Specify pid file (default: bitcoind.pid)"),

View File

@ -1,4 +1,5 @@
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -17,7 +18,7 @@
/* Minimum free space (in bytes) needed for data directory */
static const uint64_t GB_BYTES = 1000000000LL;
static const uint64_t BLOCK_CHAIN_SIZE = 20LL * GB_BYTES;
static const uint64_t BLOCK_CHAIN_SIZE = 1LL * GB_BYTES;
/* Check free space asynchronously to prevent hanging the UI thread.
@ -181,7 +182,7 @@ void Intro::pickDataDirectory()
TryCreateDirectory(GUIUtil::qstringToBoostPath(dataDir));
break;
} catch(fs::filesystem_error &e) {
QMessageBox::critical(0, tr("Bitcoin"),
QMessageBox::critical(0, tr("Darkcoin"),
tr("Error: Specified data directory \"%1\" can not be created.").arg(dataDir));
/* fall through, back to choosing screen */
}
@ -190,8 +191,8 @@ void Intro::pickDataDirectory()
settings.setValue("strDataDir", dataDir);
}
/* Only override -datadir if different from the default, to make it possible to
* override -datadir in the bitcoin.conf file in the default data directory
* (to be consistent with bitcoind behavior)
* override -datadir in the darkcoin.conf file in the default data directory
* (to be consistent with darkcoind behavior)
*/
if(dataDir != getDefaultDataDirectory())
SoftSetArg("-datadir", GUIUtil::qstringToBoostPath(dataDir).string()); // use OS locale for path setting

View File

@ -812,8 +812,8 @@ Address: %4
<translation>Опцыі:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Вызначыць канфігурацыйны файл (зыходна: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Вызначыць канфігурацыйны файл (зыходна: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -1514,8 +1514,8 @@ This product includes software developed by the OpenSSL Project for use in the O
<translation>Опции:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Задаване на файл с настройки (по подразбиране bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Задаване на файл с настройки (по подразбиране darkcoin.conf)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -1969,8 +1969,8 @@ Address: %4
<translation>Opcions:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Especificat arxiu de configuració (per defecte: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Especificat arxiu de configuració (per defecte: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2578,8 +2578,8 @@ Adresa: %4
<translation>Možnosti:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Konfigurační soubor (výchozí: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Konfigurační soubor (výchozí: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2610,8 +2610,8 @@ Adresse: %4
<translation>Indstillinger:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Angiv konfigurationsfil (standard: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Angiv konfigurationsfil (standard: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2609,8 +2609,8 @@ Adresse: %4</translation>
<translation>Optionen:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Konfigurationsdatei festlegen (Standard: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Konfigurationsdatei festlegen (Standard: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2176,8 +2176,8 @@ Address: %4
<translation>Επιλογές:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Ορίστε αρχείο ρυθμίσεων (προεπιλογή: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Ορίστε αρχείο ρυθμίσεων (προεπιλογή: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -3341,8 +3341,8 @@ Address: %4
</message>
<message>
<location line="+32"/>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Specify configuration file (default: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Specify configuration file (default: darkcoin.conf)</translation>
</message>
<message>
<location line="+3"/>

View File

@ -2354,8 +2354,8 @@ Adreso: %4
<translation>Agordoj:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Specifi konfiguran dosieron (defaŭlte: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Specifi konfiguran dosieron (defaŭlte: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2616,13 +2616,13 @@ Dirección: %4
</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Especificar archivo de configuración (predeterminado: bitcoin.conf)
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Especificar archivo de configuración (predeterminado: darkcoin.conf)
</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Especificar archivo pid (predeterminado: bitcoin.pid)
<translation>Especificar archivo pid (predeterminado: darkcoin.pid)
</translation>
</message>
<message>

View File

@ -1356,13 +1356,13 @@ Dirección: %4</translation>
</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Especifica archivo de configuración (predeterminado: bitcoin.conf)
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Especifica archivo de configuración (predeterminado: darkcoin.conf)
</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Especifica archivo pid (predeterminado: bitcoin.pid)
<translation>Especifica archivo pid (predeterminado: darkcoin.pid)
</translation>
</message>
<message>

View File

@ -2432,13 +2432,13 @@ Dirección: %4
</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Especificar archivo de configuración (predeterminado: bitcoin.conf)
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Especificar archivo de configuración (predeterminado: darkcoin.conf)
</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Especificar archivo pid (predeterminado: bitcoin.pid)
<translation>Especificar archivo pid (predeterminado: darkcoin.pid)
</translation>
</message>
<message>

View File

@ -1585,12 +1585,12 @@ Aadress: %4⏎</translation>
<translation>Valikud:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Täpsusta sätete fail (vaikimisi: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Täpsusta sätete fail (vaikimisi: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Täpsusta PID fail (vaikimisi: bitcoin.pid)</translation>
<translation>Täpsusta PID fail (vaikimisi: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -724,8 +724,8 @@
<translation>Aukerak</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Ezarpen fitxategia aukeratu (berezkoa: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Ezarpen fitxategia aukeratu (berezkoa: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -1721,12 +1721,12 @@ Address: %4
<translation>گزینهها:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>مشخص کردن فایل پیکربندی (پیش‌فرض: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>مشخص کردن فایل پیکربندی (پیش‌فرض: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>مشخص کردن فایل شناسهٔ پردازش - pid - (پیش‌فرض: bitcoin.pid)</translation>
<translation>مشخص کردن فایل شناسهٔ پردازش - pid - (پیش‌فرض: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -991,8 +991,8 @@ Address: %4
<translation>انتخابها:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>فایل پیکربندیِ را مشخص کنید (پیش فرض: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>فایل پیکربندیِ را مشخص کنید (پیش فرض: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2610,12 +2610,12 @@ Osoite: %4</translation>
<translation>Asetukset:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Määritä asetustiedosto (oletus: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Määritä asetustiedosto (oletus: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Määritä pid-tiedosto (oletus: bitcoin.pid)</translation>
<translation>Määritä pid-tiedosto (oletus: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -2602,8 +2602,8 @@ Adresse : %4
<translation>Options :</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Spécifier le fichier de configuration (par défaut : bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Spécifier le fichier de configuration (par défaut : darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2194,8 +2194,8 @@ Dirección: %4
<translation>Opcións:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Especificar arquivo de configuración (por defecto: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Especificar arquivo de configuración (por defecto: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2297,8 +2297,8 @@ Address: %4
<translation>אפשרויות:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>ציין קובץ הגדרות (ברירת מחדל: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>ציין קובץ הגדרות (ברירת מחדל: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -897,12 +897,12 @@ Address: %4
<translation>ि:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>configuraion ि (default: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>configuraion ि (default: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>pid ि (default: bitcoin.pid)</translation>
<translation>pid ि (default: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -1336,12 +1336,12 @@ Adresa:%4
<translation>Postavke:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Odredi konfiguracijsku datoteku (ugrađeni izbor: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Odredi konfiguracijsku datoteku (ugrađeni izbor: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Odredi proces ID datoteku (ugrađeni izbor: bitcoin.pid)</translation>
<translation>Odredi proces ID datoteku (ugrađeni izbor: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -2102,8 +2102,8 @@ Cím: %4
</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Konfigurációs fájl (alapértelmezett: bitcoin.conf)
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Konfigurációs fájl (alapértelmezett: darkcoin.conf)
</translation>
</message>
<message>

View File

@ -2482,8 +2482,8 @@ Alamat: %4
<translation>Pilihan:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Tentukan berkas konfigurasi (standar: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Tentukan berkas konfigurasi (standar: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2608,8 +2608,8 @@ Più URL vengono separati da una barra verticale |.</translation>
<translation>Opzioni:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Specifica il file di configurazione (predefinito: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Specifica il file di configurazione (predefinito: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2151,8 +2151,8 @@ Address: %4
<translation>:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation> (初期値: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation> (初期値: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2562,8 +2562,8 @@ Address: %4
<translation>:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation> (ნაგულისხმევია: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation> (ნაგულისხმევია: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2486,8 +2486,8 @@ Address: %4
<translation>:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation> (기본값: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation> (기본값: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -1605,12 +1605,12 @@ Inscriptio: %4
<translation>Optiones:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Specifica configurationis plicam (praedefinitum: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Specifica configurationis plicam (praedefinitum: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Specifica pid plicam (praedefinitum: bitcoin.pid)</translation>
<translation>Specifica pid plicam (praedefinitum: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -1488,8 +1488,8 @@ Adresas: %4</translation>
<translation>Parinktys:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Nurodyti konfigūracijos failą (pagal nutylėjimąt: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Nurodyti konfigūracijos failą (pagal nutylėjimąt: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2342,8 +2342,8 @@ Adrese: %4
<translation>Iespējas:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Norādiet konfigurācijas failu (pēc noklusēšanas: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Norādiet konfigurācijas failu (pēc noklusēšanas: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2610,8 +2610,8 @@ Adresse: %4
<translation>Innstillinger:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Angi konfigurasjonsfil (standardverdi: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Angi konfigurasjonsfil (standardverdi: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2610,8 +2610,8 @@ Adres: %4
<translation>Opties:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Specificeer configuratiebestand (standaard: bitcoin.conf)
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Specificeer configuratiebestand (standaard: darkcoin.conf)
</translation>
</message>
<message>

View File

@ -1476,8 +1476,8 @@ Address: %4
<translation>Pipamilian:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Pilinan ing configuration file(default: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Pilinan ing configuration file(default: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2478,12 +2478,12 @@ Adres: %4
<translation>Opcje:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Wskaż plik konfiguracyjny (domyślnie: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Wskaż plik konfiguracyjny (domyślnie: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Wskaż plik pid (domyślnie: bitcoin.pid)</translation>
<translation>Wskaż plik pid (domyślnie: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -2573,8 +2573,8 @@ Endereço: %4</translation>
<translation>Opções:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Especifique um arquivo de configurações (padrão: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Especifique um arquivo de configurações (padrão: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2581,8 +2581,8 @@ Endereço: %4</translation>
<translation>Opções:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Especificar ficheiro de configuração (por defeito: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Especificar ficheiro de configuração (por defeito: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2430,8 +2430,8 @@ Adresa: %4
<translation>Setări:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Specifică fișierul de configurare (implicit: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Specifică fișierul de configurare (implicit: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2607,12 +2607,12 @@ Address: %4
<translation>Опции:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Указать конфигурационный файл (по умолчанию: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Указать конфигурационный файл (по умолчанию: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Задать pid-файл (по умолчанию: bitcoin.pid)</translation>
<translation>Задать pid-файл (по умолчанию: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -2597,8 +2597,8 @@ Adresa: %4</translation>
<translation>Možnosti:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Určiť súbor s nastaveniami (predvolené: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Určiť súbor s nastaveniami (predvolené: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -1912,12 +1912,12 @@ Naslov: %4
<translation>Možnosti:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Določi datoteko z nastavitvami (privzeta: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Določi datoteko z nastavitvami (privzeta: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation>Določi pid datoteko (privzeta: bitcoin.pid)</translation>
<translation>Določi pid datoteko (privzeta: darkcoin.pid)</translation>
</message>
<message>
<source>Specify data directory</source>

View File

@ -796,8 +796,8 @@ Address: %4
<translation>Opcije</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Potvrdi željeni konfiguracioni fajl (podrazumevani:bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Potvrdi željeni konfiguracioni fajl (podrazumevani:darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2607,8 +2607,8 @@ Adress: %4
<translation>Inställningar:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Ange konfigurationsfil (förvalt: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Ange konfigurationsfil (förvalt: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2610,8 +2610,8 @@ Adres: %4
<translation>Seçenekler:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Yapılandırma dosyası belirt (varsayılan: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Yapılandırma dosyası belirt (varsayılan: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -1922,8 +1922,8 @@ Address: %4
<translation>Параметри:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Вкажіть файл конфігурації (типово: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Вкажіть файл конфігурації (типово: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -938,8 +938,8 @@ MIT/X11 дастурий таъминот лицензияси остида та
<translation>Танламалар:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>Мослаш файлини кўрсатинг (default: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>Мослаш файлини кўрсатинг (default: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -2614,8 +2614,8 @@ Address: %4
</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation> ( bitcoin.conf)
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation> ( darkcoin.conf)
</translation>
</message>
<message>

View File

@ -2612,8 +2612,8 @@ Address: %4
<translation>:</translation>
</message>
<message>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation>(預設值: bitcoin.conf)</translation>
<source>Specify configuration file (default: darkcoin.conf)</source>
<translation>(預設值: darkcoin.conf)</translation>
</message>
<message>
<source>Specify pid file (default: bitcoind.pid)</source>

View File

@ -1,5 +1,6 @@
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -253,7 +254,7 @@ std::string HelpMessageCli(bool mainProgram)
{
strUsage += _("Options:") + "\n";
strUsage += " -? " + _("This help message") + "\n";
strUsage += " -conf=<file> " + _("Specify configuration file (default: bitcoin.conf)") + "\n";
strUsage += " -conf=<file> " + _("Specify configuration file (default: darkcoin.conf)") + "\n";
strUsage += " -datadir=<dir> " + _("Specify data directory") + "\n";
strUsage += " -testnet " + _("Use the test network") + "\n";
strUsage += " -regtest " + _("Enter regression test mode, which uses a special chain in which blocks can be "

View File

@ -1,5 +1,6 @@
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -119,7 +120,7 @@ Value getgenerate(const Array& params, bool fHelp)
throw runtime_error(
"getgenerate\n"
"\nReturn if the server is set to generate coins or not. The default is false.\n"
"It is set with the command line argument -gen (or bitcoin.conf setting gen)\n"
"It is set with the command line argument -gen (or darkcoin.conf setting gen)\n"
"It can also be set with the setgenerate call.\n"
"\nResult\n"
"true|false (boolean) If the server is set to generate coins or not\n"

View File

@ -1,5 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -914,7 +915,7 @@ static std::string FormatException(std::exception* pex, const char* pszThread)
char pszModule[MAX_PATH] = "";
GetModuleFileNameA(NULL, pszModule, sizeof(pszModule));
#else
const char* pszModule = "bitcoin";
const char* pszModule = "darkcoin";
#endif
if (pex)
return strprintf(
@ -941,13 +942,13 @@ void PrintExceptionContinue(std::exception* pex, const char* pszThread)
boost::filesystem::path GetDefaultDataDir()
{
namespace fs = boost::filesystem;
// Windows < Vista: C:\Documents and Settings\Username\Application Data\Bitcoin
// Windows >= Vista: C:\Users\Username\AppData\Roaming\Bitcoin
// Mac: ~/Library/Application Support/Bitcoin
// Unix: ~/.bitcoin
// Windows < Vista: C:\Documents and Settings\Username\Application Data\Darkcoin
// Windows >= Vista: C:\Users\Username\AppData\Roaming\Darkcoin
// Mac: ~/Library/Application Support/Darkcoin
// Unix: ~/.darkcoin
#ifdef WIN32
// Windows
return GetSpecialFolderPath(CSIDL_APPDATA) / "Bitcoin";
return GetSpecialFolderPath(CSIDL_APPDATA) / "Darkcoin";
#else
fs::path pathRet;
char* pszHome = getenv("HOME");
@ -959,10 +960,10 @@ boost::filesystem::path GetDefaultDataDir()
// Mac
pathRet /= "Library/Application Support";
TryCreateDirectory(pathRet);
return pathRet / "Bitcoin";
return pathRet / "Darkcoin";
#else
// Unix
return pathRet / ".bitcoin";
return pathRet / ".darkcoin";
#endif
#endif
}
@ -1011,7 +1012,7 @@ void ClearDatadirCache()
boost::filesystem::path GetConfigFile()
{
boost::filesystem::path pathConfigFile(GetArg("-conf", "bitcoin.conf"));
boost::filesystem::path pathConfigFile(GetArg("-conf", "darkcoin.conf"));
if (!pathConfigFile.is_complete()) pathConfigFile = GetDataDir(false) / pathConfigFile;
return pathConfigFile;
}
@ -1021,14 +1022,14 @@ void ReadConfigFile(map<string, string>& mapSettingsRet,
{
boost::filesystem::ifstream streamConfig(GetConfigFile());
if (!streamConfig.good())
return; // No bitcoin.conf file is OK
return; // No darkcoin.conf file is OK
set<string> setOptions;
setOptions.insert("*");
for (boost::program_options::detail::config_file_iterator it(streamConfig, setOptions), end; it != end; ++it)
{
// Don't overwrite existing settings so command line settings override bitcoin.conf
// Don't overwrite existing settings so command line settings override darkcoin.conf
string strKey = string("-") + it->string_key;
if (mapSettingsRet.count(strKey) == 0)
{
@ -1044,7 +1045,7 @@ void ReadConfigFile(map<string, string>& mapSettingsRet,
boost::filesystem::path GetPidFile()
{
boost::filesystem::path pathPidFile(GetArg("-pid", "bitcoind.pid"));
boost::filesystem::path pathPidFile(GetArg("-pid", "darkcoind.pid"));
if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile;
return pathPidFile;
}
@ -1277,7 +1278,7 @@ void AddTimeData(const CNetAddr& ip, int64_t nTime)
if (!fMatch)
{
fDone = true;
string strMessage = _("Warning: Please check that your computer's date and time are correct! If your clock is wrong Bitcoin will not work properly.");
string strMessage = _("Warning: Please check that your computer's date and time are correct! If your clock is wrong Darkcoin will not work properly.");
strMiscWarning = strMessage;
LogPrintf("*** %s\n", strMessage);
uiInterface.ThreadSafeMessageBox(strMessage, "", CClientUIInterface::MSG_WARNING);

View File

@ -1,5 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 vertoe & the Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -521,7 +522,7 @@ inline uint32_t ByteReverse(uint32_t value)
// threadGroup.create_thread(boost::bind(&LoopForever<boost::function<void()> >, "nothing", f, milliseconds));
template <typename Callable> void LoopForever(const char* name, Callable func, int64_t msecs)
{
std::string s = strprintf("bitcoin-%s", name);
std::string s = strprintf("darkcoin-%s", name);
RenameThread(s.c_str());
LogPrintf("%s thread start\n", name);
try
@ -549,7 +550,7 @@ template <typename Callable> void LoopForever(const char* name, Callable func,
// .. and a wrapper that just calls func once
template <typename Callable> void TraceThread(const char* name, Callable func)
{
std::string s = strprintf("bitcoin-%s", name);
std::string s = strprintf("darkcoin-%s", name);
RenameThread(s.c_str());
try
{