Replace bitcoin with dogecoin in debian files

- Primarily bitcoin Bitcoin and BITCOIN
- A few fixes (e.g. bitcoin.org -> dogecoin.com)
- Debian building not actually tested, I'm doing this to prep for RPMs
This commit is contained in:
vitaminmoo 2014-01-27 10:04:06 -08:00
parent a77b4d6ded
commit 3c99a18a7d
18 changed files with 130 additions and 132 deletions

View file

@ -1,20 +1,20 @@
This directory contains files used to package bitcoind/bitcoin-qt This directory contains files used to package dogecoind/dogecoin-qt
for Debian-based Linux systems. for Debian-based Linux systems.
If you compile bitcoind/bitcoin-qt yourself, there are some If you compile dogecoind/dogecoin-qt yourself, there are some
useful files here: useful files here:
bitcoin: URI support dogecoin: URI support
-------------------- --------------------
bitcoin-qt.desktop (Gnome / Open Desktop) dogecoin-qt.desktop (Gnome / Open Desktop)
To install: To install:
sudo desktop-file-install bitcoin-qt.desktop sudo desktop-file-install dogecoin-qt.desktop
sudo update-desktop-database sudo update-desktop-database
If you build yourself, you will either need to modify the paths in If you build yourself, you will either need to modify the paths in
the .desktop file or copy or symlink your bitcoin-qt binary to /usr/bin the .desktop file or copy or symlink your dogecoin-qt binary to /usr/bin
and the ../../share/pixmaps/bitcoin128.png to /usr/share/pixmaps and the ../../share/pixmaps/dogecoin128.png to /usr/share/pixmaps
bitcoin-qt.protocol (KDE) dogecoin-qt.protocol (KDE)

View file

@ -1,4 +1,4 @@
Source: bitcoin Source: dogecoin
Section: utils Section: utils
Priority: optional Priority: optional
Maintainer: Jonas Smedegaard <dr@jones.dk> Maintainer: Jonas Smedegaard <dr@jones.dk>
@ -19,15 +19,15 @@ Build-Depends: debhelper,
libqt4-dev, libqt4-dev,
libqrencode-dev libqrencode-dev
Standards-Version: 3.9.2 Standards-Version: 3.9.2
Homepage: http://www.bitcoin.org/ Homepage: http://www.dogecoin.com/
Vcs-Git: git://github.com/bitcoin/bitcoin.git Vcs-Git: git://github.com/dogecoin/dogecoin.git
Vcs-Browser: http://github.com/bitcoin/bitcoin Vcs-Browser: http://github.com/dogecoin/dogecoin
Package: bitcoind Package: dogecoind
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: peer-to-peer network based digital currency - daemon Description: peer-to-peer network based digital currency - daemon
Bitcoin is a free open source peer-to-peer electronic cash system that Dogecoin is a free open source peer-to-peer electronic cash system that
is completely decentralized, without the need for a central server or is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to transact directly with each other, with the help of a P2P network to
@ -36,14 +36,14 @@ Description: peer-to-peer network based digital currency - daemon
Full transaction history is stored locally at each client. This Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing. requires 2+ GB of space, slowly growing.
. .
This package provides bitcoind, a combined daemon and CLI tool to This package provides dogecoind, a combined daemon and CLI tool to
interact with the daemon. interact with the daemon.
Package: bitcoin-qt Package: dogecoin-qt
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: peer-to-peer network based digital currency - Qt GUI Description: peer-to-peer network based digital currency - Qt GUI
Bitcoin is a free open source peer-to-peer electronic cash system that Dogecoin is a free open source peer-to-peer electronic cash system that
is completely decentralized, without the need for a central server or is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to transact directly with each other, with the help of a P2P network to
@ -52,4 +52,4 @@ Description: peer-to-peer network based digital currency - Qt GUI
Full transaction history is stored locally at each client. This Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing. requires 2+ GB of space, slowly growing.
. .
This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt. This package provides Dogecoin-Qt, a GUI for Dogecoin based on Qt.

View file

@ -1,12 +1,12 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8 Encoding=UTF-8
Name=Bitcoin Name=Dogecoin
Comment=Bitcoin P2P Cryptocurrency Comment=Dogecoin P2P Cryptocurrency
Comment[fr]=Bitcoin, monnaie virtuelle cryptographique pair à pair Comment[fr]=Dogecoin, monnaie virtuelle cryptographique pair à pair
Comment[tr]=Bitcoin, eşten eşe kriptografik sanal para birimi Comment[tr]=Dogecoin, eşten eşe kriptografik sanal para birimi
Exec=/usr/bin/bitcoin-qt %u Exec=/usr/bin/dogecoin-qt %u
Terminal=false Terminal=false
Type=Application Type=Application
Icon=/usr/share/pixmaps/bitcoin128.png Icon=/usr/share/pixmaps/dogecoin128.png
MimeType=x-scheme-handler/bitcoin; MimeType=x-scheme-handler/dogecoin;
Categories=Office; Categories=Office;

View file

@ -1,6 +1,6 @@
bitcoin-qt usr/bin dogecoin-qt usr/bin
share/pixmaps/bitcoin32.xpm usr/share/pixmaps share/pixmaps/dogecoin32.xpm usr/share/pixmaps
share/pixmaps/bitcoin16.xpm usr/share/pixmaps share/pixmaps/dogecoin16.xpm usr/share/pixmaps
share/pixmaps/bitcoin128.png usr/share/pixmaps share/pixmaps/dogecoin128.png usr/share/pixmaps
debian/bitcoin-qt.desktop usr/share/applications debian/dogecoin-qt.desktop usr/share/applications
debian/bitcoin-qt.protocol usr/share/kde4/services/ debian/dogecoin-qt.protocol usr/share/kde4/services/

View file

@ -1,2 +1,2 @@
# Linked code is Expat - only Debian packaging is GPL-2+ # Linked code is Expat - only Debian packaging is GPL-2+
bitcoin-qt: possible-gpl-code-linked-with-openssl dogecoin-qt: possible-gpl-code-linked-with-openssl

View file

@ -1,6 +1,6 @@
[Protocol] [Protocol]
exec=bitcoin-qt '%u' exec=dogecoin-qt '%u'
protocol=bitcoin protocol=dogecoin
input=none input=none
output=none output=none
helper=true helper=true

View file

@ -1 +1 @@
contrib/bitcoind.bash-completion bitcoind contrib/dogecoind.bash-completion dogecoind

View file

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

View file

@ -1 +1 @@
src/bitcoind usr/bin src/dogecoind usr/bin

View file

@ -1,2 +1,2 @@
# Linked code is Expat - only Debian packaging is GPL-2+ # Linked code is Expat - only Debian packaging is GPL-2+
bitcoind: possible-gpl-code-linked-with-openssl dogecoind: possible-gpl-code-linked-with-openssl

View file

@ -1,2 +1,2 @@
debian/manpages/bitcoind.1 debian/manpages/dogecoind.1
debian/manpages/bitcoin.conf.5 debian/manpages/dogecoin.conf.5

View file

@ -1,9 +1,9 @@
# bitcoin.conf configuration file. Lines beginning with # are comments. # dogecoin.conf configuration file. Lines beginning with # are comments.
# Network-related settings: # Network-related settings:
# Run on the test network instead of the real bitcoin network. # Run on the test network instead of the real dogecoin network.
#testnet=1 #testnet=1
# Connect via a socks4 proxy # Connect via a socks4 proxy
@ -22,9 +22,9 @@
#maxconnections= #maxconnections=
# JSON-RPC options (for controlling a running Bitcoin/bitcoind process) # JSON-RPC options (for controlling a running Dogecoin/dogecoind process)
# server=1 tells Bitcoin to accept JSON-RPC commands. # server=1 tells Dogecoin to accept JSON-RPC commands.
#server=1 #server=1
# You must set rpcuser and rpcpassword to secure the JSON-RPC api # You must set rpcuser and rpcpassword to secure the JSON-RPC api
@ -38,14 +38,14 @@
#rpcallowip=192.168.1.* #rpcallowip=192.168.1.*
# Listen for RPC connections on this TCP port: # Listen for RPC connections on this TCP port:
rpcport=9332 rpcport=22555
# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind # You can use Dogecoin or dogecoind to send commands to Dogecoin/dogecoind
# running on another host using this option: # running on another host using this option:
rpcconnect=127.0.0.1 rpcconnect=127.0.0.1
# Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate # Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate
# with Bitcoin -server or bitcoind # with Dogecoin -server or dogecoind
#rpcssl=1 #rpcssl=1
# OpenSSL settings used when rpcssl=1 # OpenSSL settings used when rpcssl=1
@ -56,17 +56,17 @@ rpcsslprivatekeyfile=server.pem
# Miscellaneous options # Miscellaneous options
# Set gen=1 to attempt to generate bitcoins # Set gen=1 to attempt to generate dogecoins
gen=0 gen=0
# Use SSE instructions to try to generate bitcoins faster. # Use SSE instructions to try to generate dogecoins faster.
#4way=1 #4way=1
# Pre-generate this many public/private key pairs, so wallet backups will be valid for # Pre-generate this many public/private key pairs, so wallet backups will be valid for
# both prior transactions and several dozen future transactions. # both prior transactions and several dozen future transactions.
keypool=100 keypool=100
# Pay an optional transaction fee every time you send bitcoins. Transactions with fees # Pay an optional transaction fee every time you send dogecoins. Transactions with fees
# are more likely than free transactions to be included in generated blocks, so may # are more likely than free transactions to be included in generated blocks, so may
# be validated sooner. # be validated sooner.
paytxfee=0.00 paytxfee=0.00
@ -77,7 +77,7 @@ paytxfee=0.00
# User interface options # User interface options
# Start Bitcoin minimized # Start Dogecoin minimized
#min=1 #min=1
# Minimize to the system tray # Minimize to the system tray

View file

@ -1,20 +1,20 @@
.TH BITCOIN-QT "1" "April 2013" "bitcoin-qt 1" .TH DOGECOIN-QT "1" "April 2013" "dogecoin-qt 1"
.SH NAME .SH NAME
bitcoin-qt \- peer-to-peer network based digital currency dogecoin-qt \- peer-to-peer network based digital currency
.SH DESCRIPTION .SH DESCRIPTION
.SS "Usage:" .SS "Usage:"
.IP .IP
bitcoin\-qt [command\-line options] dogecoin\-qt [command\-line options]
.SH OPTIONS .SH OPTIONS
.TP .TP
\-? \-?
This help message This help message
.TP .TP
\fB\-conf=\fR<file> \fB\-conf=\fR<file>
Specify configuration file (default: bitcoin.conf) Specify configuration file (default: dogecoin.conf)
.TP .TP
\fB\-pid=\fR<file> \fB\-pid=\fR<file>
Specify pid file (default: bitcoind.pid) Specify pid file (default: dogecoind.pid)
.TP .TP
\fB\-gen\fR \fB\-gen\fR
Generate coins Generate coins
@ -181,7 +181,7 @@ Set maximum block size in bytes (default: 250000)
.HP .HP
\fB\-blockprioritysize=\fR<n> Set maximum size of high\-priority/low\-fee transactions in bytes (default: 27000) \fB\-blockprioritysize=\fR<n> Set maximum size of high\-priority/low\-fee transactions in bytes (default: 27000)
.PP .PP
SSL options: (see the Bitcoin Wiki for SSL setup instructions) SSL options: (see the Dogecoin Wiki for SSL setup instructions)
.TP .TP
\fB\-rpcssl\fR \fB\-rpcssl\fR
Use OpenSSL (https) for JSON\-RPC connections Use OpenSSL (https) for JSON\-RPC connections

View file

@ -1,19 +1,19 @@
.TH BITCOIN.CONF "5" "January 2011" "bitcoin.conf 3.19" .TH DOGECOIN.CONF "5" "January 2011" "dogecoin.conf 3.19"
.SH NAME .SH NAME
bitcoin.conf \- bitcoin configuration file dogecoin.conf \- dogecoin configuration file
.SH SYNOPSIS .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. 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 .TP
The configuration file is a list of 'setting=value' pairs, one per line, with optional comments starting with the '#' character. The configuration file is a list of 'setting=value' pairs, one per line, with optional comments starting with the '#' character.
.TP .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, dogecoind(1) will look for a file named dogecoin.conf(5) in the dogecoin 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
bitcoin.conf should be located in $HOME/.bitcoin dogecoin.conf should be located in $HOME/.dogecoin
.SH NETWORK-RELATED SETTINGS .SH NETWORK-RELATED SETTINGS
.TP .TP
.TP .TP
\fBtestnet=\fR[\fI'1'\fR|\fI'0'\fR] \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 *dogecoin* network.
.TP .TP
\fBproxy=\fR\fI'127.0.0.1:9050'\fR \fBproxy=\fR\fI'127.0.0.1:9050'\fR
Connect via a socks4 proxy. Connect via a socks4 proxy.
@ -29,7 +29,7 @@ Maximum number of inbound+outbound connections.
.SH JSON-RPC OPTIONS .SH JSON-RPC OPTIONS
.TP .TP
\fBserver=\fR[\fI'1'\fR|\fI'0'\fR] \fBserver=\fR[\fI'1'\fR|\fI'0'\fR]
Tells *bitcoin* to accept or not accept JSON-RPC commands. Tells *dogecoin* to accept or not accept JSON-RPC commands.
.TP .TP
\fBrpcuser=\fR\fI'username'\fR \fBrpcuser=\fR\fI'username'\fR
You must set *rpcuser* to secure the JSON-RPC api. You must set *rpcuser* to secure the JSON-RPC api.
@ -38,7 +38,7 @@ You must set *rpcuser* to secure the JSON-RPC api.
You must set *rpcpassword* to secure the JSON-RPC api. You must set *rpcpassword* to secure the JSON-RPC api.
.TP .TP
\fBrpctimeout=\fR\fI'30'\fR \fBrpctimeout=\fR\fI'30'\fR
How many seconds *bitcoin* will wait for a complete RPC HTTP request, after the HTTP connection is established. How many seconds *dogecoin* will wait for a complete RPC HTTP request, after the HTTP connection is established.
.TP .TP
\fBrpcallowip=\fR\fI'192.168.1.*'\fR \fBrpcallowip=\fR\fI'192.168.1.*'\fR
By default, only RPC connections from localhost are allowed. Specify as many *rpcallowip=* settings as you like to allow connections from other hosts (and you may use * as a wildcard character). By default, only RPC connections from localhost are allowed. Specify as many *rpcallowip=* settings as you like to allow connections from other hosts (and you may use * as a wildcard character).
@ -47,10 +47,10 @@ By default, only RPC connections from localhost are allowed. Specify as many *rp
Listen for RPC connections on this TCP port. Listen for RPC connections on this TCP port.
.TP .TP
\fBrpcconnect=\fR\fI'127.0.0.1'\fR \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 *dogecoin* or *dogecoind(1)* to send commands to *dogecoin*/*dogecoind(1)* running on another host using this option.
.TP .TP
\fBrpcssl=\fR\fI'1'\fR \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 *dogecoin* '\-server' or *dogecoind(1)*. Example of OpenSSL settings used when *rpcssl*='1':
.TP .TP
\fB\-rpcsslciphers=\fR<ciphers> \fB\-rpcsslciphers=\fR<ciphers>
Acceptable ciphers (default: TLSv1+HIGH:\:!SSLv2:\:!aNULL:\:!eNULL:\:!AH:\:!3DES:\:@STRENGTH) Acceptable ciphers (default: TLSv1+HIGH:\:!SSLv2:\:!aNULL:\:!eNULL:\:!AH:\:!3DES:\:@STRENGTH)
@ -62,16 +62,16 @@ Acceptable ciphers (default: TLSv1+HIGH:\:!SSLv2:\:!aNULL:\:!eNULL:\:!AH:\:!3DES
.SH MISCELLANEOUS OPTIONS .SH MISCELLANEOUS OPTIONS
.TP .TP
\fBgen=\fR[\fI'0'\fR|\fI'1'\fR] \fBgen=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable attempt to generate bitcoins. Enable or disable attempt to generate dogecoins.
.TP .TP
\fB4way=\fR[\fI'0'\fR|\fI'1'\fR] \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 dogecoins faster.
.TP .TP
\fBkeypool=\fR\fI'100'\fR \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. Pre-generate this many public/private key pairs, so wallet backups will be valid for both prior transactions and several dozen future transactions.
.TP .TP
\fBpaytxfee=\fR\fI'0.00'\fR \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 dogecoins. Transactions with fees are more likely than free transactions to be included in generated blocks, so may be validated sooner.
.TP .TP
\fBallowreceivebyip=\fR\fI'1'\fR \fBallowreceivebyip=\fR\fI'1'\fR
Allow direct connections for the 'pay via IP address' feature. Allow direct connections for the 'pay via IP address' feature.
@ -79,12 +79,12 @@ Allow direct connections for the 'pay via IP address' feature.
.SH USER INTERFACE OPTIONS .SH USER INTERFACE OPTIONS
.TP .TP
\fBmin=\fR[\fI'0'\fR|\fI'1'\fR] \fBmin=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable start bitcoind minimized. Enable or disable start dogecoind minimized.
.TP .TP
\fBminimizetotray=\fR[\fI'0'\fR|\fI'1'\fR] \fBminimizetotray=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable minimize to the system tray. Enable or disable minimize to the system tray.
.SH "SEE ALSO" .SH "SEE ALSO"
bitcoind(1) dogecoind(1)
.SH AUTHOR .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. 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,19 +1,19 @@
.TH BITCOIND "1" "January 2011" "bitcoind 3.19" .TH DOGECOIND "1" "January 2011" "dogecoind 3.19"
.SH NAME .SH NAME
bitcoind \- peer-to-peer network based digital currency dogecoind \- peer-to-peer network based digital currency
.SH SYNOPSIS .SH SYNOPSIS
bitcoin [options] <command> [params] dogecoin [options] <command> [params]
.TP .TP
bitcoin [options] help <command> \- Get help for a command dogecoin [options] help <command> \- Get help for a command
.SH DESCRIPTION .SH DESCRIPTION
This manual page documents the bitcoind program. Bitcoin is a peer-to-peer digital currency. Peer-to-peer (P2P) means that there is no central authority to issue new money or keep track of transactions. Instead, these tasks are managed collectively by the nodes of the network. Advantages: This manual page documents the dogecoind program. Dogecoin is a peer-to-peer digital currency. Peer-to-peer (P2P) means that there is no central authority to issue new money or keep track of transactions. Instead, these tasks are managed collectively by the nodes of the network. Advantages:
Bitcoins can be sent easily through the Internet, without having to trust middlemen. Transactions are designed to be irreversible. Be safe from instability caused by fractional reserve banking and central banks. The limited inflation of the Bitcoin systems money supply is distributed evenly (by CPU power) throughout the network, not monopolized by banks. Dogecoins can be sent easily through the Internet, without having to trust middlemen. Transactions are designed to be irreversible. Be safe from instability caused by fractional reserve banking and central banks. The limited inflation of the Dogecoin systems money supply is distributed evenly (by CPU power) throughout the network, not monopolized by banks.
.SH OPTIONS .SH OPTIONS
.TP .TP
\fB\-conf=\fR<file> \fB\-conf=\fR<file>
Specify configuration file (default: bitcoin.conf) Specify configuration file (default: dogecoin.conf)
.TP .TP
\fB\-gen\fR \fB\-gen\fR
Generate coins Generate coins
@ -63,7 +63,7 @@ Allow JSON\-RPC connections from specified IP address
\fB\-rpcconnect=\fR<ip> \fB\-rpcconnect=\fR<ip>
Send commands to node running on <ip> Send commands to node running on <ip>
.PP .PP
SSL options: (see the Bitcoin Wiki for SSL setup instructions) SSL options: (see the Dogecoin Wiki for SSL setup instructions)
.TP .TP
\fB\-rpcssl\fR=\fI1\fR \fB\-rpcssl\fR=\fI1\fR
Use OpenSSL (https) for JSON\-RPC connections Use OpenSSL (https) for JSON\-RPC connections
@ -84,14 +84,14 @@ This help message
\fBbackupwallet 'destination'\fR \fBbackupwallet 'destination'\fR
Safely copies *wallet.dat* to 'destination', which can be a directory or a path with filename. Safely copies *wallet.dat* to 'destination', which can be a directory or a path with filename.
.TP .TP
\fBgetaccount 'bitcoinaddress'\fR \fBgetaccount 'dogecoinaddress'\fR
Returns the account associated with the given address. Returns the account associated with the given address.
.TP .TP
\fBsetaccount 'bitcoinaddress' ['account']\fR \fBsetaccount 'dogecoinaddress' ['account']\fR
Sets the ['account'] associated with the given address. ['account'] may be omitted to remove an address from ['account']. Sets the ['account'] associated with the given address. ['account'] may be omitted to remove an address from ['account'].
.TP .TP
\fBgetaccountaddress 'account'\fR \fBgetaccountaddress 'account'\fR
Returns a new bitcoin address for 'account'. Returns a new dogecoin address for 'account'.
.TP .TP
\fBgetaddressesbyaccount 'account'\fR \fBgetaddressesbyaccount 'account'\fR
Returns the list of addresses associated with the given 'account'. Returns the list of addresses associated with the given 'account'.
@ -112,7 +112,7 @@ Returns the number of connections to other nodes.
Returns the proof-of-work difficulty as a multiple of the minimum difficulty. Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
.TP .TP
\fBgetgenerate\fR \fBgetgenerate\fR
Returns boolean true if server is trying to generate bitcoins, false otherwise. Returns boolean true if server is trying to generate dogecoins, false otherwise.
.TP .TP
\fBsetgenerate 'generate' ['genproclimit']\fR \fBsetgenerate 'generate' ['genproclimit']\fR
Generation is limited to ['genproclimit'] processors, \-1 is unlimited. Generation is limited to ['genproclimit'] processors, \-1 is unlimited.
@ -124,13 +124,13 @@ Returns a recent hashes per second performance measurement while generating.
Returns an object containing server information. Returns an object containing server information.
.TP .TP
\fBgetnewaddress 'account'\fR \fBgetnewaddress 'account'\fR
Returns a new bitcoin address for receiving payments. If 'account' is specified (recommended), it is added to the address book so payments received with the address will be credited to 'account'. Returns a new dogecoin address for receiving payments. If 'account' is specified (recommended), it is added to the address book so payments received with the address will be credited to 'account'.
.TP .TP
\fBgetreceivedbyaccount 'account' ['minconf=1']\fR \fBgetreceivedbyaccount 'account' ['minconf=1']\fR
Returns the total amount received by addresses associated with 'account' in transactions with at least ['minconf'] confirmations. Returns the total amount received by addresses associated with 'account' in transactions with at least ['minconf'] confirmations.
.TP .TP
\fBgetreceivedbyaddress 'bitcoinaddress' ['minconf=1']\fR \fBgetreceivedbyaddress 'dogecoinaddress' ['minconf=1']\fR
Returns the total amount received by 'bitcoinaddress' in transactions with at least ['minconf'] confirmations. Returns the total amount received by 'dogecoinaddress' in transactions with at least ['minconf'] confirmations.
.TP .TP
\fBgettransaction 'txid'\fR \fBgettransaction 'txid'\fR
Returns information about a specific transaction, given hexadecimal transaction ID. Returns information about a specific transaction, given hexadecimal transaction ID.
@ -148,7 +148,7 @@ List commands, or get help for a command.
.TP .TP
\fBlistaccounts ['minconf=1']\fR \fBlistaccounts ['minconf=1']\fR
List accounts and their current balances. List accounts and their current balances.
*note: requires bitcoin 0.3.20 or later. *note: requires dogecoin 0.3.20 or later.
.TP .TP
\fBlistreceivedbyaccount ['minconf=1'] ['includeempty=false']\fR \fBlistreceivedbyaccount ['minconf=1'] ['includeempty=false']\fR
['minconf'] is the minimum number of confirmations before payments are included. ['includeempty'] whether to include addresses that haven't received any payments. Returns an array of objects containing: ['minconf'] is the minimum number of confirmations before payments are included. ['includeempty'] whether to include addresses that haven't received any payments. Returns an array of objects containing:
@ -177,31 +177,31 @@ Returns a list of the last ['count'] transactions for 'account' \- for all accou
"message" : message associated with transaction (only for send). "message" : message associated with transaction (only for send).
"to" : message-to associated with transaction (only for send). "to" : message-to associated with transaction (only for send).
*note: requires bitcoin 0.3.20 or later. *note: requires dogecoin 0.3.20 or later.
.TP .TP
\fBmove <'fromaccount'> <'toaccount'> <'amount'> ['minconf=1'] ['comment']\fR \fBmove <'fromaccount'> <'toaccount'> <'amount'> ['minconf=1'] ['comment']\fR
Moves funds between accounts. Moves funds between accounts.
.TP .TP
\fBsendfrom* <'account'> <'bitcoinaddress'> <'amount'> ['minconf=1'] ['comment'] ['comment-to']\fR \fBsendfrom* <'account'> <'dogecoinaddress'> <'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. Sends amount from account's balance to 'dogecoinaddress'. This method will fail if there is less than amount dogecoins 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 \fBsendtoaddress 'dogecoinaddress' '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. Sends amount from the server's available balance to 'dogecoinaddress'. amount is a real and is rounded to the nearest 0.01. Returns transaction id on success.
.TP .TP
\fBstop\fR \fBstop\fR
Stops the bitcoin server. Stops the dogecoin server.
.TP .TP
\fBvalidateaddress 'bitcoinaddress'\fR \fBvalidateaddress 'dogecoinaddress'\fR
Checks that 'bitcoinaddress' looks like a proper bitcoin address. Returns an object containing: Checks that 'dogecoinaddress' looks like a proper dogecoin address. Returns an object containing:
"isvalid" : true or false. "isvalid" : true or false.
"ismine" : true if the address is in the server's wallet. "ismine" : true if the address is in the server's wallet.
"address" : bitcoinaddress. "address" : dogecoinaddress.
*note: ismine and address are only returned if the address is valid. *note: ismine and address are only returned if the address is valid.
.SH "SEE ALSO" .SH "SEE ALSO"
bitcoin.conf(5) dogecoin.conf(5)
.SH AUTHOR .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. 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,33 +1,33 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*- # -*- mode: makefile; coding: utf-8 -*-
#DEB_MAKE_CHECK_TARGET = test_bitcoin #DEB_MAKE_CHECK_TARGET = test_dogecoin
#build/bitcoind:: #build/dogecoind::
# $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_bitcoin) # $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_dogecoin)
DEB_INSTALL_EXAMPLES_bitcoind += debian/examples/* DEB_INSTALL_EXAMPLES_dogecoind += debian/examples/*
DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/* DEB_INSTALL_MANPAGES_dogecoind += debian/manpages/*
%: %:
dh --with bash-completion $@ dh --with bash-completion $@
override_dh_auto_build: override_dh_auto_build:
cd src; $(MAKE) -f makefile.unix bitcoind cd src; $(MAKE) -f makefile.unix dogecoind
$(MAKE) $(MAKE)
override_dh_auto_clean: override_dh_auto_clean:
if [ -f Makefile ]; then $(MAKE) clean; else rm -rf build/; rm -f bitcoin-qt; fi if [ -f Makefile ]; then $(MAKE) clean; else rm -rf build/; rm -f dogecoin-qt; fi
cd src; $(MAKE) -f makefile.unix clean cd src; $(MAKE) -f makefile.unix clean
override_dh_auto_configure: override_dh_auto_configure:
qmake bitcoin-qt.pro USE_QRCODE=1 qmake dogecoin-qt.pro USE_QRCODE=1
override_dh_auto_test: override_dh_auto_test:
cd src; $(MAKE) -f makefile.unix test_bitcoin cd src; $(MAKE) -f makefile.unix test_dogecoin
src/test_bitcoin src/test_dogecoin
# Ensure wrapper is set executable # Ensure wrapper is set executable
binary-post-install/bitcoind: binary-post-install/dogecoind:
chmod +x $(cdbs_curdestdir)usr/bin/bitcoind chmod +x $(cdbs_curdestdir)usr/bin/dogecoind
binary-post-install/bitcoin-qt: binary-post-install/dogecoin-qt:
chmod +x $(cdbs_curdestdir)usr/bin/bitcoin-qt chmod +x $(cdbs_curdestdir)usr/bin/dogecoin-qt

View file

@ -1,7 +1,5 @@
# Run the "uscan" command to check for upstream updates and more. # Run the "uscan" command to check for upstream updates and more.
version=3 version=3
# use qa.debian.org redirector; see man uscan # use qa.debian.org redirector; see man uscan
opts=uversionmangle=s/(\d)(alpha|beta|rc)/$1~$2/;s/\-src//,dversionmangle=s/~dfsg\d*// \
http://sf.net/bitcoin/bitcoin-(\d.*)-linux\.tar\.gz debian
opts=uversionmangle=s/(\d)(alpha|beta|rc)/$1~$2/,dversionmangle=s/~dfsg\d*// \ opts=uversionmangle=s/(\d)(alpha|beta|rc)/$1~$2/,dversionmangle=s/~dfsg\d*// \
http://githubredir.debian.net/github/bitcoin/bitcoin v(.*).tar.gz http://githubredir.debian.net/github/dogecoin/dogecoin v(.*).tar.gz

View file

@ -1,12 +1,12 @@
# bash programmable completion for bitcoind(1) # bash programmable completion for dogecoind(1)
# Copyright (c) 2012 Christian von Roques <roques@mti.ag> # Copyright (c) 2012 Christian von Roques <roques@mti.ag>
# 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.
have bitcoind && { have dogecoind && {
# call $bitcoind for RPC # call $dogecoind for RPC
_bitcoin_rpc() { _dogecoin_rpc() {
# determine already specified args necessary for RPC # determine already specified args necessary for RPC
local rpcargs=() local rpcargs=()
for i in ${COMP_LINE}; do for i in ${COMP_LINE}; do
@ -16,23 +16,23 @@ _bitcoin_rpc() {
;; ;;
esac esac
done done
$bitcoind "${rpcargs[@]}" "$@" $dogecoind "${rpcargs[@]}" "$@"
} }
# Add bitcoin accounts to COMPREPLY # Add dogecoin accounts to COMPREPLY
_bitcoin_accounts() { _dogecoin_accounts() {
local accounts local accounts
accounts=$(_bitcoin_rpc listaccounts | awk '/".*"/ { a=$1; gsub(/"/, "", a); print a}') accounts=$(_dogecoin_rpc listaccounts | awk '/".*"/ { a=$1; gsub(/"/, "", a); print a}')
COMPREPLY=( "${COMPREPLY[@]}" $( compgen -W "$accounts" -- "$cur" ) ) COMPREPLY=( "${COMPREPLY[@]}" $( compgen -W "$accounts" -- "$cur" ) )
} }
_bitcoind() { _dogecoind() {
local cur prev words=() cword local cur prev words=() cword
local bitcoind local dogecoind
# save and use original argument to invoke bitcoind # save and use original argument to invoke dogecoind
# bitcoind might not be in $PATH # dogecoind might not be in $PATH
bitcoind="$1" dogecoind="$1"
COMPREPLY=() COMPREPLY=()
_get_comp_words_by_ref -n = cur prev words cword _get_comp_words_by_ref -n = cur prev words cword
@ -44,7 +44,7 @@ _bitcoind() {
return 0 return 0
;; ;;
move|setaccount) move|setaccount)
_bitcoin_accounts _dogecoin_accounts
return 0 return 0
;; ;;
esac esac
@ -60,7 +60,7 @@ _bitcoind() {
return 0 return 0
;; ;;
getaccountaddress|getaddressesbyaccount|getbalance|getnewaddress|getreceivedbyaccount|listtransactions|move|sendfrom|sendmany) getaccountaddress|getaddressesbyaccount|getbalance|getnewaddress|getreceivedbyaccount|listtransactions|move|sendfrom|sendmany)
_bitcoin_accounts _dogecoin_accounts
return 0 return 0
;; ;;
esac esac
@ -84,12 +84,12 @@ _bitcoind() {
# only parse --help if senseful # only parse --help if senseful
if [[ -z "$cur" || "$cur" =~ ^- ]]; then if [[ -z "$cur" || "$cur" =~ ^- ]]; then
helpopts=$($bitcoind --help 2>&1 | awk '$1 ~ /^-/ { sub(/=.*/, "="); print $1 }' ) helpopts=$($dogecoind --help 2>&1 | awk '$1 ~ /^-/ { sub(/=.*/, "="); print $1 }' )
fi fi
# only parse help if senseful # only parse help if senseful
if [[ -z "$cur" || "$cur" =~ ^[a-z] ]]; then if [[ -z "$cur" || "$cur" =~ ^[a-z] ]]; then
commands=$(_bitcoin_rpc help 2>/dev/null | awk '{ print $1; }') commands=$(_dogecoin_rpc help 2>/dev/null | awk '{ print $1; }')
fi fi
COMPREPLY=( $( compgen -W "$helpopts $commands" -- "$cur" ) ) COMPREPLY=( $( compgen -W "$helpopts $commands" -- "$cur" ) )
@ -103,7 +103,7 @@ _bitcoind() {
esac esac
} }
complete -F _bitcoind bitcoind complete -F _dogecoind dogecoind
} }
# Local variables: # Local variables: