Commit Graph

10878 Commits

Author SHA1 Message Date
Luke Dashjr bdd12c9b3c
Travis: Use curl rather than wget for Mac SDK 2017-11-29 17:24:59 +00:00
Luke Dashjr bd03cfebec
depends: Use curl for fetching on Linux
Currently Travis's wget fails fetching qrencode:

Fetching qrencode...
ERROR: no certificate subject alternative name matches
	requested host name `fukuchi.org'.
To connect to fukuchi.org insecurely, use `--no-check-certificate'.
OpenSSL: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
Unable to establish SSL connection.
make: *** [/home/travis/build/luke-jr/bitcoin/depends/sources/download-stamps/.stamp_fetched-qrencode-qrencode-3.4.4.tar.bz2.hash] Error 4
2017-11-29 17:24:59 +00:00
Cory Fields 1f623c64b6
c++11: fix libbdb build against libc++ in c++11 mode
atomic_init clashes with
2017-11-29 17:24:59 +00:00
Cory Fields 4bfe8a744b
c++11: CAccountingEntry must be defined before use in a list
c++11ism. This fixes builds against libc++.
2017-11-29 17:24:59 +00:00
Cory Fields 4165af1b73
c++11: don't throw from the reverselock destructor
noexcept is default for destructors as of c++11. By throwing in reverselock's
destructor if it's lock has been tampered with, the likely result is
std::terminate being called. Indeed that happened before this change.

Once reverselock has taken another lock (its ctor didn't throw), it makes no
sense to try to grab or lock the parent lock. That is be broken/undefined
behavior depending on the parent lock's implementation, but it shouldn't cause
the reverselock to fail to re-lock when destroyed.

To avoid those problems, simply swap the parent lock's contents with a dummy
for the duration of the lock. That will ensure that any undefined behavior is
caught at the call-site rather than the reverse lock's destruction.

Barring a failed mutex unlock which would be indicative of a larger problem,
the destructor should now never throw.
2017-11-29 17:24:59 +00:00
MarcoFalke 124e9389af
Fix url in .travis.yml 2017-11-29 17:24:59 +00:00
Homu 37ffef4628 Auto merge of #2767 - syd0:cleanup-reserved-include-guards, r=str4d
Get rid of underscore prefixes for include guards.

This is because they may conflict with reserved names. Also took
this opportunity to make the guards in the zcash subdir a bit
more uniform by having them all conform to ZC_<...>_H_

This closes #1272
2017-11-29 06:52:52 -08:00
Homu 099bf3dd8f Auto merge of #2763 - syd0:upgrade-libsodium, r=daira
Update libsodium from 1.0.11 to 1.0.15

Closes #2693.
2017-11-28 13:20:13 -08:00
Homu 213ac8d1fe Auto merge of #2764 - syd0:remove-old-boost-defines, r=str4d
Remove Boost conditional compilation.

Boost is currently at version 106200 in the depends subsystem
so it is safe to remove code the refers to earlier versions.

This closes #2445
2017-11-28 12:19:27 -08:00
syd 4e4aa5b6ec Get rid of underscore prefixes for include guards.
This is because they may conflict with reserved names. Also took
this opportunity to make the guards in the zcash subdir a bit
more uniform by having them all conform to ZC_<...>_H_

This closes #1272
2017-11-28 14:57:58 -05:00
Homu 2ff8ab7dfb Auto merge of #2751 - syd0:upgrade-googletest-1.8.0, r=str4d
Upgrade googletest to 1.8.0

Closes #1432.
2017-11-28 07:37:20 -08:00
Homu ce72b494b1 Auto merge of #2760 - bitcartel:fix_wallet_test_pipe_error, r=str4d
Fix broken pipe error on some platforms when running QA test wallet.py.

Closes #2759.
2017-11-28 06:33:54 -08:00
syd d52dcf5d0c InitGoogleMock instead of InitGoogleTest per CR 2017-11-27 11:08:34 -05:00
Homu 9ce4859459 Auto merge of #2766 - syd0:remove-fPowAllowMinDifficultyBlocks, r=str4d
Get rid of consensus.fPowAllowMinDifficultyBlocks.

This closes #1380
2017-11-27 04:06:27 -08:00
Homu 77f4d0505e Auto merge of #2773 - syd0:remove-fp3, r=ebfull
Get rid of fp3 from libsnark, it is not used.

This is for #1544
2017-11-25 17:49:34 -08:00
syd 5163fd9d07 Get rid of fp3 from libsnark, it is not used.
This is for #1544
2017-11-25 15:08:01 -05:00
syd a10c2f46a5 Add gtests to .gitignore 2017-11-25 11:05:01 -05:00
syd 7c591c6d2f Don't compile libgtest.a when building libsnark.
Previously libsnark would try to build libgtest if /usr/src/gtest
exists on the build machine. This caused issues because the
version of libgtest in /usr/src isn't necessarily the same as
the one that the rest of zcash's gtests were built with.
2017-11-25 10:58:37 -05:00
syd dffc025d38 Get rid of consensus.fPowAllowMinDifficultyBlocks.
This closes #1380
2017-11-23 12:20:50 -05:00
syd 6df5f51b7c Update to address @daira comments wrt fixing configure.ac
Since we're enforcing Boost >= 1.62, we no longer need HAVE_WORKING_BOOST_SLEEP_FOR.
2017-11-23 11:58:25 -05:00
syd c72a4732cc Remove Boost conditional compilation.
Boost is currently at version 106200 in the depends subsystem
so it is safe to remove code the refers to earlier versions.

This closes #2445
2017-11-23 00:05:21 -05:00
syd 0c177bc585 Update libsodium from 1.0.11 to 1.0.15 2017-11-22 23:16:51 -05:00
Homu df1c3debcc Auto merge of #2752 - syd0:fix-sec-hard-tests, r=daira
Get the sec-hard tests to run correctly.

This fixes the way arguments were passed to security-check, and also
a typo in how BIND_NOW was being searched for in a list.

Also fix how symbol-check is invoked although that script isn't
currently used.
2017-11-22 15:22:10 -08:00
Simon 159aa37fc0 Closes #2759. Fixes broken pipe error with QA test wallet.py. 2017-11-22 00:02:52 -08:00
Homu 3092ba0a42 Auto merge of #2744 - bitcartel:doc_z_shieldcoinbase, r=str4d
Add documentation for shielding coinbase utxos and payment disclosure
2017-11-20 17:52:56 -08:00
Simon 43f5d52123 Add documentation for payment disclosure. 2017-11-20 16:55:10 -08:00
Homu 3ee1d04a8d Auto merge of #2756 - str4d:release-v1.0.13, r=str4d
Release v1.0.13
2017-11-20 13:48:14 -08:00
Simon f4f064bb1f Add documentation for shielding coinbase utxos. 2017-11-20 13:44:31 -08:00
Jack Grigg 4b9eb663bf
make-release.py: Updated release notes and changelog for 1.0.13. 2017-11-20 12:31:53 +00:00
Jack Grigg 404de74fc6
make-release.py: Updated manpages for 1.0.13. 2017-11-20 12:31:33 +00:00
Jack Grigg 0523d21d22
make-release.py: Versioning changes for 1.0.13. 2017-11-20 12:23:45 +00:00
syd 2d342736dc Get the sec-hard tests to run correctly.
This fixes the way arguments were passed to security-check, and also
a typo in how BIND_NOW was being searched for in a list.

Also fix how symbol-check is invoked although that script isn't
currently used.
2017-11-20 00:48:12 -05:00
syd 24902602f2 Upgrade googletest to 1.8.0 2017-11-19 14:08:17 -05:00
Homu 05207b865c Auto merge of #2743 - str4d:release-v1.0.13-rc2, r=arcalinea
Release v1.0.13-rc2
2017-11-17 10:05:17 -08:00
Jack Grigg 48ea914cd0
make-release.py: Updated release notes and changelog for 1.0.13-rc2. 2017-11-17 18:01:08 +00:00
Jack Grigg 562b55bec1
make-release.py: Updated manpages for 1.0.13-rc2. 2017-11-17 18:00:32 +00:00
Jack Grigg e70c8d2ea3
make-release.py: Versioning changes for 1.0.13-rc2. 2017-11-17 17:49:28 +00:00
Homu 2c72e703c5 Auto merge of #2739 - str4d:2736-gitian-libsnark-bug, r=str4d
Fix Gitian bugs caused by bringing libsnark in-tree

Closes #2736.
2017-11-17 08:17:25 -08:00
Jack Grigg 051698a05c
Add the tar-pax option to automake
This enables the tarball generated by "make dist" to contain file names longer
than 99 characters.
2017-11-16 22:37:38 +00:00
Jack Grigg fee8835388
Mark libsnark includes as library includes 2017-11-15 16:49:10 +00:00
Jack Grigg 8f23c734e6
Pass correct dependencies path to libsnark from both Gitian and build.sh 2017-11-15 15:30:21 +00:00
Jack Grigg 83bef3fcbe
Move libsnark from DIST_SUBDIRS into EXTRA_DIST 2017-11-15 11:10:19 +00:00
Homu c1282bebb8 Auto merge of #2733 - str4d:release-v1.0.13-rc1, r=str4d
Release v1.0.13-rc1
2017-11-14 16:40:00 -08:00
Jack Grigg 66a9fd8b72
Change auto-senescence cycle to 16 weeks
Closes #2686
2017-11-15 00:37:02 +00:00
Jack Grigg cbd823ae59
make-release.py: Updated release notes and changelog for 1.0.13-rc1. 2017-11-15 00:02:21 +00:00
Jack Grigg 563f13cd93
make-release.py: Updated manpages for 1.0.13-rc1. 2017-11-15 00:02:07 +00:00
Jack Grigg c5b04132bd
make-release.py: Versioning changes for 1.0.13-rc1. 2017-11-14 23:53:45 +00:00
Homu c8ecd49574 Auto merge of #2159 - bitcartel:1.0.7_payment_disclosure, r=str4d
Payment disclosure (experimental feature)
2017-11-14 14:06:22 -08:00
Simon 45232b1961 Add payment disclosure as experimental feature. 2017-11-14 13:29:05 -08:00
Homu 064600ec8a Auto merge of #2649 - bitcartel:2576_security_url, r=str4d
Closes #2576. Update link to security info on z.cash website.
2017-11-09 15:19:41 -08:00