Skip to content
This repository was archived by the owner on Apr 2, 2019. It is now read-only.

Commit edc7fd4

Browse files
committed
2 parents fc4a2d9 + b3d548f commit edc7fd4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+426
-416
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
*.deb
33
*.exe
44
src/bitcoin
5+
src/bitcoinzd
6+
src/bitcoinz-cli
7+
src/bitcoinz-gtest
8+
src/bitcoinz-tx
59
src/zcashd
610
src/zcash-cli
711
src/zcash-gtest

INSTALL

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Building Zcash
1+
Building BitcoinZ
22

3-
See the Zcash github wiki (https://github.com/zcash/zcash/wiki) for instructions on building zcashd,
3+
See the BitcoinZ github wiki (https://github.com/btcz/bitcoinz/wiki) for instructions on building bitcoinzd,
44
the intended-for-services, no-graphical-interface, reference
5-
implementation of Zcash.
5+
implementation of BitcoinZ.

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ endif
149149
dist_bin_SCRIPTS = zcutil/fetch-params.sh
150150
dist_noinst_SCRIPTS = autogen.sh zcutil/build-debian-package.sh zcutil/build.sh
151151

152-
EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.sh qa/pull-tester/run-bitcoin-cli qa/rpc-tests qa/zcash $(DIST_DOCS) $(BIN_CHECKS)
152+
EXTRA_DIST = $(top_srcdir)/share/genbuild.sh qa/pull-tester/rpc-tests.sh qa/pull-tester/run-bitcoin-cli qa/rpc-tests qa/bitcoinz $(DIST_DOCS) $(BIN_CHECKS)
153153

154154
install-exec-hook:
155155
mv $(DESTDIR)$(bindir)/fetch-params.sh $(DESTDIR)$(bindir)/zcash-fetch-params

configure.ac

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
22
AC_PREREQ([2.60])
33
define(_CLIENT_VERSION_MAJOR, 1)
4-
define(_CLIENT_VERSION_MINOR, 2)
5-
define(_CLIENT_VERSION_REVISION, 2)
4+
define(_CLIENT_VERSION_MINOR, 3)
5+
define(_CLIENT_VERSION_REVISION, 0)
66
define(_CLIENT_VERSION_BUILD, 50)
77
define(_ZC_BUILD_VAL, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, m4_incr(_CLIENT_VERSION_BUILD), m4_eval(_CLIENT_VERSION_BUILD < 50), 1, m4_eval(_CLIENT_VERSION_BUILD - 24), m4_eval(_CLIENT_VERSION_BUILD == 50), 1, , m4_eval(_CLIENT_VERSION_BUILD - 50)))
88
define(_CLIENT_VERSION_SUFFIX, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, _CLIENT_VERSION_REVISION-beta$1, m4_eval(_CLIENT_VERSION_BUILD < 50), 1, _CLIENT_VERSION_REVISION-rc$1, m4_eval(_CLIENT_VERSION_BUILD == 50), 1, _CLIENT_VERSION_REVISION, _CLIENT_VERSION_REVISION-$1)))
99
define(_CLIENT_VERSION_IS_RELEASE, true)
1010
define(_COPYRIGHT_YEAR, 2018)
11-
AC_INIT([Zcash],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_SUFFIX(_ZC_BUILD_VAL)],[https://github.com/zcash/zcash/issues],[zcash])
11+
AC_INIT([BitcoinZ],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_SUFFIX(_ZC_BUILD_VAL)],[https://github.com/btcz/bitcoinz/issues],[BitcoinZ])
1212
AC_CONFIG_SRCDIR([src/main.cpp])
1313
AC_CONFIG_HEADERS([src/config/bitcoin-config.h])
1414
AC_CONFIG_AUX_DIR([build-aux])
1515
AC_CONFIG_MACRO_DIR([build-aux/m4])
1616

17-
BITCOIN_DAEMON_NAME=zcashd
18-
BITCOIN_CLI_NAME=zcash-cli
19-
BITCOIN_TX_NAME=zcash-tx
17+
BITCOIN_DAEMON_NAME=bitcoinzd
18+
BITCOIN_CLI_NAME=bitcoinz-cli
19+
BITCOIN_TX_NAME=bitcoinz-tx
2020

2121
dnl Unless the user specified ARFLAGS, force it to be cr
2222
AC_ARG_VAR(ARFLAGS, [Flags for the archiver, defaults to <cr> if not set])
@@ -212,7 +212,7 @@ CPPFLAGS="$CPPFLAGS -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS"
212212

213213
AC_ARG_WITH([utils],
214214
[AS_HELP_STRING([--with-utils],
215-
[build zcash-cli zcash-tx (default=yes)])],
215+
[build bitcoinz-cli bitcoinz-tx (default=yes)])],
216216
[build_bitcoin_utils=$withval],
217217
[build_bitcoin_utils=yes])
218218

@@ -712,7 +712,7 @@ else
712712
LIBSNARK_DEPINST="$prefix"
713713
fi
714714

715-
# Additional Zcash flags
715+
# Additional BitcoinZ flags
716716
AX_CHECK_COMPILE_FLAG([-fwrapv],[CXXFLAGS="$CXXFLAGS -fwrapv"])
717717
AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing],[CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"])
718718
AX_CHECK_COMPILE_FLAG([-Wno-builtin-declaration-mismatch],[CXXFLAGS="$CXXFLAGS -Wno-builtin-declaration-mismatch"],,[[$CXXFLAG_WERROR]])
@@ -723,7 +723,7 @@ AC_MSG_CHECKING([whether to build bitcoind])
723723
AM_CONDITIONAL([BUILD_BITCOIND], [test x$build_bitcoind = xyes])
724724
AC_MSG_RESULT($build_bitcoind)
725725

726-
AC_MSG_CHECKING([whether to build utils (zcash-cli zcash-tx)])
726+
AC_MSG_CHECKING([whether to build utils (bitcoinz-cli bitcoinz-tx)])
727727
AM_CONDITIONAL([BUILD_BITCOIN_UTILS], [test x$build_bitcoin_utils = xyes])
728728
AC_MSG_RESULT($build_bitcoin_utils)
729729

contrib/zcash-cli.bash-completion renamed to contrib/bitcoinz-cli.bash-completion

+21-19
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# bash programmable completion for zcash-cli(1)
2-
# Copyright (c) 2012-2016 The Bitcoin Core developers
1+
# bash programmable completion for bitcoinz-cli(1)
2+
# Copyright (c) 2017-2018 The BitcoinZ Community
3+
# Copyright (c) 2016-2017 The Zcash developers
4+
# Copyright (c) 2012-2017 The Bitcoin Core developers
35
# Distributed under the MIT software license, see the accompanying
46
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
57

6-
# call $zcash-cli for RPC
7-
_zcash_rpc() {
8+
# call $bitcoinz-cli for RPC
9+
_bitcoinz_rpc() {
810
# determine already specified args necessary for RPC
911
local rpcargs=()
1012
for i in ${COMP_LINE}; do
@@ -14,25 +16,25 @@ _zcash_rpc() {
1416
;;
1517
esac
1618
done
17-
$zcash_cli "${rpcargs[@]}" "$@"
19+
$bitcoinz_cli "${rpcargs[@]}" "$@"
1820
}
1921

2022
# Add wallet accounts to COMPREPLY
21-
_zcash_accounts() {
23+
_bitcoinz_accounts() {
2224
local accounts
23-
# Accounts are deprecated in Zcash
24-
#accounts=$(_zcash_rpc listaccounts | awk -F '"' '{ print $2 }')
25+
# Accounts are deprecated in BitcoinZ
26+
#accounts=$(_bitcoinz_rpc listaccounts | awk -F '"' '{ print $2 }')
2527
accounts="\\\"\\\""
2628
COMPREPLY=( "${COMPREPLY[@]}" $( compgen -W "$accounts" -- "$cur" ) )
2729
}
2830

29-
_zcash_cli() {
31+
_bitcoinz_cli() {
3032
local cur prev words=() cword
31-
local zcash_cli
33+
local bitcoinz_cli
3234

33-
# save and use original argument to invoke zcash-cli for -help, help and RPC
34-
# as zcash-cli might not be in $PATH
35-
zcash_cli="$1"
35+
# save and use original argument to invoke bitcoinz-cli for -help, help and RPC
36+
# as bitcoinz-cli might not be in $PATH
37+
bitcoinz_cli="$1"
3638

3739
COMPREPLY=()
3840
_get_comp_words_by_ref -n = cur prev words cword
@@ -62,7 +64,7 @@ _zcash_cli() {
6264
if ((cword > 3)); then
6365
case ${words[cword-3]} in
6466
addmultisigaddress)
65-
_zcash_accounts
67+
_bitcoinz_accounts
6668
return 0
6769
;;
6870
getbalance|gettxout|importaddress|importpubkey|importprivkey|listreceivedbyaccount|listreceivedbyaddress|listsinceblock)
@@ -91,7 +93,7 @@ _zcash_cli() {
9193
return 0
9294
;;
9395
move|setaccount)
94-
_zcash_accounts
96+
_bitcoinz_accounts
9597
return 0
9698
;;
9799
esac
@@ -107,7 +109,7 @@ _zcash_cli() {
107109
return 0
108110
;;
109111
getaccountaddress|getaddressesbyaccount|getbalance|getnewaddress|getreceivedbyaccount|listtransactions|move|sendfrom|sendmany)
110-
_zcash_accounts
112+
_bitcoinz_accounts
111113
return 0
112114
;;
113115
esac
@@ -131,12 +133,12 @@ _zcash_cli() {
131133

132134
# only parse -help if senseful
133135
if [[ -z "$cur" || "$cur" =~ ^- ]]; then
134-
helpopts=$($zcash_cli -help 2>&1 | awk '$1 ~ /^-/ { sub(/=.*/, "="); print $1 }' )
136+
helpopts=$($bitcoinz_cli -help 2>&1 | awk '$1 ~ /^-/ { sub(/=.*/, "="); print $1 }' )
135137
fi
136138

137139
# only parse help if senseful
138140
if [[ -z "$cur" || "$cur" =~ ^[a-z] ]]; then
139-
commands=$(_zcash_rpc help 2>/dev/null | awk '$1 ~ /^[a-z]/ { print $1; }')
141+
commands=$(_bitcoinz_rpc help 2>/dev/null | awk '$1 ~ /^[a-z]/ { print $1; }')
140142
fi
141143

142144
COMPREPLY=( $( compgen -W "$helpopts $commands" -- "$cur" ) )
@@ -149,7 +151,7 @@ _zcash_cli() {
149151
;;
150152
esac
151153
} &&
152-
complete -F _zcash_cli zcash-cli
154+
complete -F _bitcoinz_cli bitcoinz-cli
153155

154156
# Local variables:
155157
# mode: shell-script

contrib/zcash-tx.bash-completion renamed to contrib/bitcoinz-tx.bash-completion

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
# bash programmable completion for zcash-tx(1)
2-
# Copyright (c) 2016 The Bitcoin Core developers
1+
# bash programmable completion for bitcoinz-tx(1)
2+
# Copyright (c) 2017-2018 The BitcoinZ Community
3+
# Copyright (c) 2016-2017 The Zcash developers
4+
# Copyright (c) 2012-2017 The Bitcoin Core developers
35
# Distributed under the MIT software license, see the accompanying
46
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
57

6-
_zcash_tx() {
8+
_bitcoinz_tx() {
79
local cur prev words=() cword
8-
local zcash_tx
10+
local bitcoinz_tx
911

10-
# save and use original argument to invoke zcash-tx for -help
12+
# save and use original argument to invoke bitcoinz-tx for -help
1113
# it might not be in $PATH
12-
zcash_tx="$1"
14+
bitcoinz_tx="$1"
1315

1416
COMPREPLY=()
1517
_get_comp_words_by_ref -n =: cur prev words cword
@@ -27,15 +29,15 @@ _zcash_tx() {
2729

2830
if [[ "$cword" == 1 || ( "$prev" != "-create" && "$prev" == -* ) ]]; then
2931
# only options (or an uncompletable hex-string) allowed
30-
# parse zcash-tx -help for options
32+
# parse bitcoinz-tx -help for options
3133
local helpopts
32-
helpopts=$($zcash_tx -help | sed -e '/^ -/ p' -e d )
34+
helpopts=$($bitcoinz_tx -help | sed -e '/^ -/ p' -e d )
3335
COMPREPLY=( $( compgen -W "$helpopts" -- "$cur" ) )
3436
else
3537
# only commands are allowed
3638
# parse -help for commands
3739
local helpcmds
38-
helpcmds=$($zcash_tx -help | sed -e '1,/Commands:/d' -e 's/=.*/=/' -e '/^ [a-z]/ p' -e d )
40+
helpcmds=$($bitcoinz_tx -help | sed -e '1,/Commands:/d' -e 's/=.*/=/' -e '/^ [a-z]/ p' -e d )
3941
COMPREPLY=( $( compgen -W "$helpcmds" -- "$cur" ) )
4042
fi
4143

@@ -46,7 +48,7 @@ _zcash_tx() {
4648

4749
return 0
4850
} &&
49-
complete -F _zcash_tx zcash-tx
51+
complete -F _bitcoinz_tx bitcoinz-tx
5052

5153
# Local variables:
5254
# mode: shell-script

contrib/zcashd.bash-completion renamed to contrib/bitcoinzd.bash-completion

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
# bash programmable completion for zcashd(1)
2-
# Copyright (c) 2012-2017 The Bitcoin Core developers
1+
# bash programmable completion for bitcoinzd(1)
2+
# Copyright (c) 2017-2018 The BitcoinZ Community
33
# Copyright (c) 2016-2017 The Zcash developers
4+
# Copyright (c) 2012-2017 The Bitcoin Core developers
45
# Distributed under the MIT software license, see the accompanying
56
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
67

7-
_zcashd() {
8+
_bitcoinzd() {
89
local cur prev words=() cword
9-
local zcashd
10+
local bitcoinzd
1011

11-
# save and use original argument to invoke zcashd for -help
12+
# save and use original argument to invoke bitcoinzd for -help
1213
# it might not be in $PATH
13-
zcashd="$1"
14+
bitcoinzd="$1"
1415

1516
COMPREPLY=()
1617
_get_comp_words_by_ref -n = cur prev words cword
@@ -34,7 +35,7 @@ _zcashd() {
3435
# only parse -help if senseful
3536
if [[ -z "$cur" || "$cur" =~ ^- ]]; then
3637
local helpopts
37-
helpopts=$($zcashd -help 2>&1 | awk '$1 ~ /^-/ { sub(/=.*/, "="); print $1 }' )
38+
helpopts=$($bitcoinzd -help 2>&1 | awk '$1 ~ /^-/ { sub(/=.*/, "="); print $1 }' )
3839
COMPREPLY=( $( compgen -W "$helpopts" -- "$cur" ) )
3940
fi
4041

@@ -46,7 +47,7 @@ _zcashd() {
4647
;;
4748
esac
4849
} &&
49-
complete -F _zcashd zcashd
50+
complete -F _bitcoinzd bitcoinzd
5051

5152
# Local variables:
5253
# mode: shell-script

contrib/debian/changelog

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
bitcoinz (1.2.1) stable; urgency=medium
1+
bitcoinz (1.3.0) stable; urgency=medium
22

3-
* 1.2.1 release.
3+
* 1.3.0 release.
44

5-
-- BitcoinZ team <[email protected]> Wed, 16 May 2018 2:08:00 +0100
5+
-- The BitcoinZ Community <[email protected]> Sat, 10 June 2018 00:15:00 +0100

contrib/debian/control

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
Source: bitcoinz
22
Section: utils
33
Priority: optional
4-
Maintainer: BitcoinZ team <[email protected]>
4+
Maintainer: The BitcoinZ Community <[email protected]>
55
Homepage: https://btcz.rocks
66
Build-Depends: autoconf, automake, bsdmainutils, build-essential,
77
git, g++-multilib, libc6-dev, libtool,
88
m4, ncurses-dev, pkg-config, python,
99
unzip, wget, zlib1g-dev
10-
Vcs-Git: https://github.com/bitcoinz-pod/bitcoinz.git
11-
Vcs-Browser: https://github.com/bitcoinz-pod
10+
Vcs-Git: https://github.com/btcz/bitcoinz.git
11+
Vcs-Browser: https://github.com/btcz
1212

1313
Package: bitcoinz
14-
Version: 1.2.1
14+
Version: 1.3.0
1515
Depends: ${shlibs:Depends}
1616
Architecture: all
17-
Description: Community coin.
18-
BitcoinZ is based on Bitcoin's & Zcash code.
17+
Description: BitcoinZ is a decentralized community project based on the Bitcoin and Zcash codebase.

contrib/debian/copyright

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174
22
Upstream-Name: BitcoinZ
3-
Upstream-Contact: BitcoinZ <[email protected]>
4-
Source: https://github.com/bitcoinz-pod/bitcoinz
3+
Upstream-Contact: The BitcoinZ Community <[email protected]>
4+
Source: https://github.com/btcz/bitcoinz
55

66
Files: *
7-
Copyright: 2017-2018 BitcoinZ developers
7+
Copyright: 2017-2018 The BitcoinZ Community
88
2016-2017, The Zcash developers
99
2009-2017, Bitcoin Core developers
1010
License: Expat

0 commit comments

Comments
 (0)