Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 23 #100

Merged
merged 165 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
d8dc5e0
Add FreeBSD build support
MarkLTZ Jul 12, 2024
b4d8cf5
depends: Boost 1.74.0
MarkLTZ Jul 12, 2024
a0ff581
depends: native_ccache 3.7.12
MarkLTZ Jul 12, 2024
0a10338
depends: libgmp 6.1.2
MarkLTZ Jul 12, 2024
306499e
fix: libgmp missing
MarkLTZ Jul 12, 2024
0ed461b
clang-format: Delete ForEachMacros
MarkLTZ Jul 12, 2024
68ce74c
scripted-diff: Fully remove BOOST_FOREACH
MarkLTZ Jul 12, 2024
aeb2e59
scripted-diff: Remove PAIRTYPE
MarkLTZ Jul 12, 2024
e339f2c
fix: fetch-params.sh
MarkLTZ Jul 12, 2024
6fa6ee1
fix: Community Fee Period
MarkLTZ Jul 12, 2024
2a58853
Remove libsnark
MarkLTZ Jul 13, 2024
c72578a
Remove OpenSSL dependencies
MarkLTZ Jul 13, 2024
251850e
Merge pull request #1 from MarkLTZ/dev1
MarkLTZ Jul 13, 2024
3b71e1d
Merge pull request #2 from MarkLTZ/dev2
MarkLTZ Jul 13, 2024
c96fd60
Merge pull request #3 from MarkLTZ/dev3
MarkLTZ Jul 13, 2024
5f648d6
Fix 'founders_reward_test' errors
MarkLTZ Jul 14, 2024
50a5b1b
Remove config option -disabledeprecation
MarkLTZ Jul 14, 2024
5425a4e
Fix 'checktransaction_tests' errors
MarkLTZ Jul 14, 2024
72e1f9b
build: set minimum supported macOS to 10.14
MarkLTZ Jul 15, 2024
dc77285
Require and build with C++17
MarkLTZ Jul 15, 2024
4f7a1d8
Remove '#include <boost/foreach.hpp>'
MarkLTZ Jul 15, 2024
4b7285f
Introduce 'src/reverse_iterator.h'
MarkLTZ Jul 15, 2024
c65e9da
Remove BOOST_REVERSE_FOREACH
MarkLTZ Jul 15, 2024
2d2f518
Add destination wrapper functions
MarkLTZ Jul 15, 2024
5dbc050
Drop boost::this_thread::interruption_point and boost::thread_interru…
MarkLTZ Jul 15, 2024
c41bab1
Replace boost::signals2 with std::function
MarkLTZ Jul 15, 2024
5f171cd
Use wchar_t API explicitly on Windows
MarkLTZ Jul 15, 2024
a4842fd
Replace boost::variant and boost::optional with standard library
MarkLTZ Jul 15, 2024
2ff39f0
Update '.gitignore'
MarkLTZ Jul 15, 2024
96453ab
Handle HTTP_SERVICE_UNAVAILABLE in bitcoin-cli
MarkLTZ Jul 15, 2024
13dde85
Only check nWitnessCacheSize on rewind if we've ever witnessed a Spro…
MarkLTZ Jul 15, 2024
79f7207
Fix 'test_checkblock' errors
MarkLTZ Jul 15, 2024
513c12a
More rebranding
MarkLTZ Jul 15, 2024
7f6ddee
Fix assertion check in GetBlockSubsidy
MarkLTZ Jul 16, 2024
a0e9e40
Fix typo in constant
MarkLTZ Jul 16, 2024
6639dd2
Updating IPFS link for chunking
MarkLTZ Jul 17, 2024
987ca4c
precompute EmptyMerklePath roots
MarkLTZ Jul 17, 2024
0688c36
Delete g1_compressed.json g2_compressed.json files
MarkLTZ Jul 17, 2024
8bee25d
DoS protection: Weighted random drop of txs if mempool full
MarkLTZ Jul 17, 2024
afc7740
z_sendmany coinbase to zaddr with change: report error status
MarkLTZ Jul 17, 2024
2e44f8e
Partial backport of Zcash PR #4184 (NO Blossom activation)
MarkLTZ Jul 17, 2024
081a338
Display which network the node is running on
MarkLTZ Jul 17, 2024
38c2761
Metrics: show protocol version from PROTOCOL_VERSION
MarkLTZ Jul 17, 2024
a73cc28
insightexplorer: formatting, pyflakes cleanups
MarkLTZ Jul 17, 2024
93787ec
Cleanup 'qa/rpc-tests/signrawtransactions.py'
MarkLTZ Jul 17, 2024
7ffe24f
Developer tooling for librustzcash
MarkLTZ Jul 17, 2024
4f9c6e1
Update RPC tests
MarkLTZ Jul 17, 2024
7bddd5c
depends macOS: point --sysroot to SDK
MarkLTZ Jul 17, 2024
99088f5
Move check for block times that are too far ahead of adjusted time, t…
MarkLTZ Jul 17, 2024
d0c1000
More BitcoinZ rebranding
MarkLTZ Jul 17, 2024
66ea589
Fix tests
MarkLTZ Jul 27, 2024
7c0c75f
Versioning changes for 2.0.9-rc1
MarkLTZ Jul 27, 2024
c9cd21d
Define 7200 second timestamp window constant
MarkLTZ Jul 27, 2024
0073490
Refactor: timewarp attacks
MarkLTZ Jul 27, 2024
71029a5
Give a better error message if system clock is bad
MarkLTZ Jul 27, 2024
5a255c8
Remove bad chain alert partition check
MarkLTZ Jul 27, 2024
6e632af
Update license and copyright informations
MarkLTZ Jul 27, 2024
b11626c
Change Debian package description
MarkLTZ Jul 27, 2024
b6c19fa
Simplify locking, merge cs_SpendingKeyStore into cs_KeyStore
MarkLTZ Jul 27, 2024
4b56e73
Fix AddSaplingFullViewingKey wrong call in crypter.cpp
MarkLTZ Jul 27, 2024
c46118f
Witness refactoring:
MarkLTZ Jul 27, 2024
828e20b
Check for libsodium in ./configure
MarkLTZ Jul 27, 2024
2cec4ba
wallet: lock cs_main while accessing chainActive
MarkLTZ Jul 27, 2024
39aca2f
Fix bug in CScheduler
MarkLTZ Jul 27, 2024
91afabc
Fix error in rewind detection logic
MarkLTZ Jul 27, 2024
64ef3f1
Use SA_RESTART in sa_flags when setting up signal handlers
MarkLTZ Jul 27, 2024
a749f29
Make sure that expiry height is not less than heigh
MarkLTZ Jul 27, 2024
e1b3c07
Compute more structures in CTxMemPool::DynamicMemoryUsage()
MarkLTZ Jul 27, 2024
c8a2793
Shows reindex progress in metrics screen
MarkLTZ Jul 27, 2024
5722f26
Display "next upgrade" info on metrics screen
MarkLTZ Jul 27, 2024
f962a91
Include shielded transaction data in RecursiveDynamicUsage calculation
MarkLTZ Jul 27, 2024
b116693
Remove libsnark preprocessor flags
MarkLTZ Jul 27, 2024
b2059b1
Fix help message of RPC getwalletinfo
MarkLTZ Jul 27, 2024
3e0f35c
Upgrade libsodium to 1.0.18
MarkLTZ Jul 27, 2024
0a1e33a
Update proton from 0.26.0 to 0.30.0
MarkLTZ Jul 27, 2024
e9327fc
Change LoadKeyMetadata, LoadZKeyMetadata and LoadSaplingZKeyMetadata …
MarkLTZ Jul 27, 2024
37724d9
Remove CheckProofOfWork errors from logs
MarkLTZ Jul 28, 2024
1a34fe9
Make connect=0 disable automatic outbound connections
MarkLTZ Jul 28, 2024
56fc5b0
Exclude genesis block header from checks
MarkLTZ Jul 28, 2024
836633b
Fix argument parsing oddity with -noX
MarkLTZ Jul 28, 2024
afc36ad
Unit test doublespends in new blocks
MarkLTZ Jul 28, 2024
c8c0ec3
Chainparams: Replace CBaseChainParams::Network enum with string const…
MarkLTZ Jul 28, 2024
6a97f74
Chainparams: Translations: DRY: options and error strings
MarkLTZ Jul 28, 2024
04a77d7
Omit wallet-related options from -help when wallet is disabled
MarkLTZ Jul 28, 2024
9736203
Constrain constant values to a single location in code
MarkLTZ Jul 28, 2024
5f504b3
Wrap long line
MarkLTZ Jul 28, 2024
7da9bdd
Omit wallet-related options from -help when wallet is not supported
MarkLTZ Jul 28, 2024
e707f57
Code and Comments cleanup
MarkLTZ Jul 28, 2024
a4589f9
Refactor parameter interaction, call it before AppInit2()
MarkLTZ Jul 28, 2024
0c3cb62
Initialize logging before we do parameter interaction
MarkLTZ Jul 28, 2024
61a0a55
Initialize experimental mode in a separate function
MarkLTZ Jul 28, 2024
4854b73
Added additional config option for multiple RPC users
MarkLTZ Jul 28, 2024
77af629
Decouple GetConfigFile and ReadConfigFile from global mapArgs
MarkLTZ Jul 28, 2024
8abd1e0
Handle Equihash and optional miner code in TestChain100Setup
MarkLTZ Jul 28, 2024
3b21dfe
Add tests covering the current interaction of alerts with subver comm…
MarkLTZ Jul 28, 2024
b22dc0e
Parameterize bitcoinz.conf in init error message
MarkLTZ Jul 29, 2024
ad36340
Match alerts both with and without comments
MarkLTZ Jul 29, 2024
6d32ed2
pyflakes fixes
MarkLTZ Jul 29, 2024
39094e2
Micro-benchmarking framework part 1
MarkLTZ Jul 29, 2024
ad3b306
Change cm to cmu in sapling
MarkLTZ Jul 29, 2024
644191a
Remove duplicated prefix in errors and warnings
MarkLTZ Jul 29, 2024
8803736
Show time elapsed when running RPC tests
MarkLTZ Jul 29, 2024
cb575cb
Refactor experimental feature handling
MarkLTZ Jul 29, 2024
322fcac
Experimental options upstream PRs
MarkLTZ Jul 29, 2024
b415773
Changing gtest to CamelCase
MarkLTZ Jul 29, 2024
8f38fea
Add AFL in zcutil (with all-in-one script)
MarkLTZ Jul 29, 2024
528fced
Replace boost::optional and boost::none with standard library
MarkLTZ Jul 29, 2024
65ddd17
Add More Fuzzing Targets
MarkLTZ Jul 29, 2024
87e5c8d
IPv6 RPC patch
MarkLTZ Jul 29, 2024
8cd4de6
Add check-depends step to STAGE_COMMANDS list
MarkLTZ Jul 29, 2024
bb9f62d
Remove option mempooltxinputlimit
MarkLTZ Jul 29, 2024
f152cc8
Change "protect" terminology to "shield"
MarkLTZ Jul 29, 2024
dd7d646
Avoid blockchain progress greater than 1.0
MarkLTZ Jul 29, 2024
de09b7b
Remove dead code and comments
MarkLTZ Jul 29, 2024
fc3ea42
Enable macOS cross-compilation
MarkLTZ Jul 29, 2024
475e76c
Bitcoin 0.12 cleanup, script and wallet PRs
MarkLTZ Jul 29, 2024
3a7890c
Fix libsodium gtest
MarkLTZ Jul 29, 2024
572caee
Equihash Macro and Testing Improvements
MarkLTZ Jul 29, 2024
a6fb80c
Update gen_base58_test_vectors.py to work with multi-byte address and…
MarkLTZ Jul 29, 2024
ec9e2ad
Add testcase for z_importkey
MarkLTZ Jul 29, 2024
d85bc8a
Remove travis
MarkLTZ Jul 29, 2024
54f3c3d
Updates to the build system
MarkLTZ Jul 29, 2024
872ec0c
Fix 'boost/bind.hpp' include
MarkLTZ Jul 29, 2024
ad373b3
Add z_getnewaddress test
MarkLTZ Jul 29, 2024
43462a3
Remove debug noise from gtests
MarkLTZ Jul 29, 2024
ac944fd
Fix comment in rpc_wallet_tests
MarkLTZ Jul 29, 2024
97056bc
Update RPCs to support cross platform testing
MarkLTZ Jul 29, 2024
17b293e
Fully renamed 'test_bitcoin' to 'test_bitcoinz'
MarkLTZ Jul 29, 2024
41bb5b4
Fix TestDifficultyAveragingImpl
MarkLTZ Jul 29, 2024
1c87212
Fix death gtests on macOS by switching to the threadsafe style
MarkLTZ Jul 29, 2024
0fc90e1
Add release notes for z_viewtransaction
MarkLTZ Jul 29, 2024
6084294
Minor spacing fix in test
MarkLTZ Jul 29, 2024
f5ceaa9
Add Python script for checking if dependencies have updates
MarkLTZ Jul 29, 2024
bcd5f64
Remove spurious "virtual" and add "override" in leaf subclasses
MarkLTZ Jul 29, 2024
fd2d88b
Delete SignatureHash from python script framework
MarkLTZ Jul 29, 2024
139c3c0
Initialize ThreadNotifyWallets before additional blocks are imported
MarkLTZ Jul 29, 2024
2206aff
Fix race conditions during init
MarkLTZ Jul 29, 2024
e306bd0
Fix races in AppInitMain and others with lock and atomic bools
MarkLTZ Jul 29, 2024
7235a07
Fix undefined behavior in CScriptNum
MarkLTZ Jul 29, 2024
2edb1b0
util: CBufferedFile fixes
MarkLTZ Jul 29, 2024
fc091b4
Multiple debug categories documentation
MarkLTZ Jul 29, 2024
e8c6140
Add expired transaction notifications
MarkLTZ Jul 29, 2024
bf404fd
Reduce duplication in key_io decode
MarkLTZ Jul 29, 2024
29918b2
Return address info in z_importviewingkey
MarkLTZ Jul 29, 2024
809b46e
Resolve a race condition on in initialization
MarkLTZ Jul 29, 2024
4ea85df
test: Add a second Sapling note to WalletTests.ClearNoteWitnessCache
MarkLTZ Jul 29, 2024
2d2d1d5
Add status to transactions in RPC calls
MarkLTZ Jul 29, 2024
9856e77
Add AES-256 test and remove unused AES-128 code
MarkLTZ Jul 29, 2024
51edfe4
Replace boost::function with std::function
MarkLTZ Jul 29, 2024
fe70946
Initialise ThreadNotifyWallets with wallets best block
MarkLTZ Jul 29, 2024
b04652b
Allow rescan to exit in the case that Ctrl-C is pressed
MarkLTZ Jul 29, 2024
d35440a
Select anchors at -anchorconfirmations depth
MarkLTZ Jul 29, 2024
94e9106
BitcoinZ performance improvements:
MarkLTZ Jul 29, 2024
f1368bb
Fix typos
MarkLTZ Jul 29, 2024
f51e5af
Code cleanup
MarkLTZ Jul 29, 2024
eb44ada
Fix boost::bind warnings
MarkLTZ Jul 29, 2024
3253883
Lock with cs_main where request chain state
MarkLTZ Jul 29, 2024
51217e4
Fix TestChain100Setup
MarkLTZ Jul 29, 2024
2609992
Backports and final changes for v2.0.9-rc2
MarkLTZ Jul 29, 2024
c37f58b
Set default minimum number of confirmations for note selection to 1
MarkLTZ Jul 30, 2024
e741094
Reenable the -shrinkdebugfile option
MarkLTZ Jul 30, 2024
4294e59
Update README.md
MarkLTZ Jul 30, 2024
9e02190
Fix 'cannot find -lcrypto: No such file or directory' issue
MarkLTZ Jul 30, 2024
6b8ad2f
Performance: speed-up 'z_getbalance' and 'z_sendmany' by 10x
MarkLTZ Jul 31, 2024
a6cd1aa
Fix for broken cross-build to Windows target
ezzygarmyz Aug 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 14 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
*.tar.gz
*.deb
*.exe
src/bitcoin
src/bitcoinzd
src/bitcoinz-cli
src/bitcoinz-gtest
src/bitcoinz-tx
src/zcashd
src/zcash-cli
src/zcash-gtest
src/zcash-tx
src/test/test_bitcoin
src/test/test_bitcoinz
src/BitcoinZWallet.jar

*zcashTest.pk
*zcashTest.vk
*.pk
*.vk

# autoreconf
Makefile.in
Expand All @@ -36,6 +31,7 @@ build-aux/test-driver
config.log
config.status
configure
configure~
libtool
src/config/bitcoin-config.h
src/config/bitcoin-config.h.in
Expand All @@ -57,7 +53,7 @@ src/univalue/gen
*.pyc
*.o
*.o-*
.zcash
.bitcoinz
*.a
*.pb.cc
*.pb.h
Expand Down Expand Up @@ -94,10 +90,11 @@ build
*.gcno
*.gcda
/*.info
test_bitcoin.coverage/
zcash-gtest.coverage/
test_bitcoinz.coverage/
bitcoinz-gtest.coverage/
total.coverage/
coverage_percent.txt
afl-temp

#build tests
linux-coverage-build
Expand All @@ -117,5 +114,11 @@ libzcashconsensus.pc
contrib/debian/files
contrib/debian/substvars

src/fuzzing/*/output
src/fuzz.cpp

.idea/
*.iml

src/zcash/CreateJoinSplit
src/zcash/GenerateParams
79 changes: 0 additions & 79 deletions .travis.yml

This file was deleted.

29 changes: 22 additions & 7 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Copyright (c) 2018-2024 The BitcoinZ Community
Copyright (c) 2016-2019 The Zcash developers
Copyright (c) 2009-2019 The Bitcoin Core developers
Copyright (c) 2009-2019 Bitcoin Developers
Copyright (c) 2018-2020 The BitcoinZ Community

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,18 +22,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


The MIT software license (http://www.opensource.org/licenses/mit-license.php)
above applies to the code directly included in this source distribution.
Dependencies downloaded as part of the build process may be covered by other
open-source licenses. For further details see 'contrib/debian/copyright'.
The MIT software license (https://www.opensource.org/licenses/mit-license.php)
above applies to the code directly included in this source distribution, with
the exception of certain Autoconf macros. Dependencies downloaded as part of
the build process may be covered by other open-source licenses. The MIT-licensed
source code is not considered a derived work of these Autoconf macros or of the
dependencies. For further details see 'contrib/debian/copyright'.


This product includes software developed by the OpenSSL Project for use in the
OpenSSL Toolkit (https://www.openssl.org/). This product includes cryptographic
software written by Eric Young ([email protected]).


Although almost all of the Zcash code is licensed under "permissive" open source
Although almost all of the BitcoinZ code is licensed under "permissive" open source
licenses, users and distributors should note that when built using the default
build options, Zcash depends on Oracle Berkeley DB 6.2.x, which is licensed
build options, BitcoinZ depends on Oracle Berkeley DB 6.2.x, which is licensed
under the GNU Affero General Public License.


Contributors should understand licensing implications before modifying the
following files in build-aux/m4 (see https://github.com/zcash/zcash/issues/2827):

* ax_check_compile_flag.m4
* ax_check_link_flag.m4
* ax_check_preproc_flag.m4
* ax_compiler_vendor.m4
* ax_gcc_archflag.m4
* ax_gcc_x86_cpuid.m4
* ax_openmp.m4
* ax_pthread.m4
49 changes: 25 additions & 24 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2017-2020 The BitcoinZ community
# Copyright (c) 2017-2024 The BitcoinZ community
# Copyright (c) 2016-2019 The Zcash developers
# Copyright (c) 2013-2019 The Bitcoin Core developers
# Copyright (c) 2013-2019 Bitcoin Developers
Expand Down Expand Up @@ -28,10 +28,10 @@ BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py \
$(top_srcdir)/contrib/devtools/security-check.py

COVERAGE_INFO = baseline_filtered_combined.info baseline.info \
leveldb_baseline.info test_bitcoin_filtered.info total_coverage.info \
leveldb_baseline.info test_bitcoinz_filtered.info total_coverage.info \
baseline_filtered.info \
leveldb_baseline_filtered.info test_bitcoin_coverage.info test_bitcoin.info \
zcash-gtest.info zcash-gtest_filtered.info zcash-gtest_coverage.info
leveldb_baseline_filtered.info test_bitcoinz_coverage.info test_bitcoinz.info \
bitcoinz-gtest.info bitcoinz-gtest_filtered.info bitcoinz-gtest_coverage.info

dist-hook:
-$(MAKE) -C $(top_distdir)/src/leveldb clean
Expand Down Expand Up @@ -90,13 +90,13 @@ leveldb_baseline_filtered.info: leveldb_baseline.info
baseline_filtered_combined.info: leveldb_baseline_filtered.info baseline_filtered.info
$(LCOV) -a leveldb_baseline_filtered.info -a baseline_filtered.info -o $@

test_bitcoin.info: baseline_filtered_combined.info
$(MAKE) -C src/ bitcoin_test_check
$(LCOV) -c -d $(abs_builddir)/src -t test_bitcoin -o $@
test_bitcoinz.info: baseline_filtered_combined.info
$(MAKE) -C src/ bitcoinz_test_check
$(LCOV) -c -d $(abs_builddir)/src -t test_bitcoinz -o $@
$(LCOV) -z -d $(abs_builddir)/src
$(LCOV) -z -d $(abs_builddir)/src/leveldb

test_bitcoin_filtered.info: test_bitcoin.info
test_bitcoinz_filtered.info: test_bitcoinz.info
$(LCOV) -r $< "/usr/include/*" \
"$(abs_builddir)/depends/x86_64-unknown-linux-gnu/include/*.h" \
"$(abs_builddir)/depends/x86_64-unknown-linux-gnu/include/boost/*" \
Expand All @@ -108,13 +108,13 @@ test_bitcoin_filtered.info: test_bitcoin.info
"$(abs_builddir)/src/wallet/test/*" \
-o $@

zcash-gtest.info: baseline_filtered_combined.info
$(MAKE) -C src/ zcash-gtest_check
$(LCOV) -c -d $(abs_builddir)/src -t zcash-gtest -o $@
bitcoinz-gtest.info: baseline_filtered_combined.info
$(MAKE) -C src/ bitcoinz-gtest_check
$(LCOV) -c -d $(abs_builddir)/src -t bitcoinz-gtest -o $@
$(LCOV) -z -d $(abs_builddir)/src
$(LCOV) -z -d $(abs_builddir)/src/leveldb

zcash-gtest_filtered.info: zcash-gtest.info
bitcoinz-gtest_filtered.info: bitcoinz-gtest.info
$(LCOV) -r $< "/usr/include/*" \
"$(abs_builddir)/depends/x86_64-unknown-linux-gnu/include/*.h" \
"$(abs_builddir)/depends/x86_64-unknown-linux-gnu/include/boost/*" \
Expand All @@ -126,30 +126,30 @@ zcash-gtest_filtered.info: zcash-gtest.info
"$(abs_builddir)/src/wallet/test/*" \
-o $@

test_bitcoin_coverage.info: baseline_filtered_combined.info test_bitcoin_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_bitcoin_filtered.info -o $@
test_bitcoinz_coverage.info: baseline_filtered_combined.info test_bitcoinz_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_bitcoinz_filtered.info -o $@

zcash-gtest_coverage.info: baseline_filtered_combined.info zcash-gtest_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a zcash-gtest_filtered.info -o $@
bitcoinz-gtest_coverage.info: baseline_filtered_combined.info bitcoinz-gtest_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a bitcoinz-gtest_filtered.info -o $@

total_coverage.info: baseline_filtered_combined.info test_bitcoin_filtered.info zcash-gtest_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_bitcoin_filtered.info -a zcash-gtest_filtered.info -o $@ | $(GREP) "\%" | $(AWK) '{ print substr($$3,2,50) "/" $$5 }' > coverage_percent.txt
total_coverage.info: baseline_filtered_combined.info test_bitcoinz_filtered.info bitcoinz-gtest_filtered.info
$(LCOV) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_bitcoinz_filtered.info -a bitcoinz-gtest_filtered.info -o $@ | $(GREP) "\%" | $(AWK) '{ print substr($$3,2,50) "/" $$5 }' > coverage_percent.txt

test_bitcoin.coverage/.dirstamp: test_bitcoin_coverage.info
test_bitcoinz.coverage/.dirstamp: test_bitcoinz_coverage.info
$(GENHTML) -s $< -o $(@D)
@touch $@

zcash-gtest.coverage/.dirstamp: zcash-gtest_coverage.info
bitcoinz-gtest.coverage/.dirstamp: bitcoinz-gtest_coverage.info
$(GENHTML) -s $< -o $(@D)
@touch $@

cov-zcash: zcash-gtest.coverage/.dirstamp
cov-bitcoinz: bitcoinz-gtest.coverage/.dirstamp

total.coverage/.dirstamp: total_coverage.info
$(GENHTML) -s $< -o $(@D)
@touch $@

cov: test_bitcoin.coverage/.dirstamp cov-zcash total.coverage/.dirstamp
cov: test_bitcoinz.coverage/.dirstamp cov-bitcoinz total.coverage/.dirstamp

endif

Expand All @@ -159,11 +159,12 @@ dist_noinst_SCRIPTS = autogen.sh zcutil/build-debian-package.sh zcutil/build.sh
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)

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

.INTERMEDIATE: $(COVERAGE_INFO)

DISTCHECK_CONFIGURE_FLAGS = --enable-man

clean-local:
rm -rf test_bitcoin.coverage/ zcash-gtest.coverage/ total.coverage/
rm -rf test_bitcoinz.coverage/ bitcoinz-gtest.coverage/ total.coverage/
rm -rf afl-temp
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BitcoinZ 2.0.8
# BitcoinZ 2.0.9-rc2
**Keep running wallet to strengthen the BitcoinZ network. Backup your wallet in many locations & keep your coins wallet offline.**

### Ports:
Expand All @@ -15,7 +15,7 @@ Install required dependencies:
```{r, engine='bash'}
sudo apt-get install \
build-essential pkg-config libc6-dev m4 g++-multilib \
autoconf libtool ncurses-dev unzip git python \
autoconf libtool libncurses-dev unzip git python3 python-is-python3 \
zlib1g-dev wget bsdmainutils automake
```

Expand Down Expand Up @@ -60,7 +60,7 @@ Install required dependencies:
apt-get update \
&& apt-get install -y \
curl build-essential pkg-config libc6-dev m4 g++-multilib autoconf \
libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils \
libtool libncurses-dev unzip git python3 python-is-python3 zlib1g-dev wget bsdmainutils \
automake p7zip-full pwgen mingw-w64 cmake
```

Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# Copyright (c) 2017-2020 The BitcoinZ community
# Copyright (c) 2017-2024 The BitcoinZ community
# Copyright (c) 2016-2019 The Zcash developers
# Copyright (c) 2013-2019 The Bitcoin Core developers
# Copyright (c) 2013-2019 Bitcoin Developers
Expand Down
4 changes: 2 additions & 2 deletions build-aux/m4/ax_boost_base.m4
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# Test for the Boost C++ libraries of a particular version (or newer)
#
# If no path to the installed boost library is given the macro searchs
# If no path to the installed boost library is given the macro searches
# under /usr, /usr/local, /opt and /opt/local and evaluates the
# $BOOST_ROOT environment variable. Further documentation is available at
# <http://randspringer.de/boost/index.html>.
Expand Down Expand Up @@ -119,7 +119,7 @@ if test "x$want_boost" = "xyes"; then
libsubdirs="lib/`$CXX -dumpmachine 2>/dev/null` $libsubdirs"

dnl first we check the system location for boost libraries
dnl this location ist chosen if boost libraries are installed with the --layout=system option
dnl this location is chosen if boost libraries are installed with the --layout=system option
dnl or if you install boost with RPM
if test "$ac_boost_path" != ""; then
BOOST_CPPFLAGS="-I$ac_boost_path/include"
Expand Down
Loading