Commit Graph

150 Commits

Author SHA1 Message Date
aayanl bbb2d1423c Zcash release v1.0.10-1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZTemCAAoJEMj0nAgfOsbEBhAQAKDhVCZbinJanT29coarBAwG
 6yXXLzhO2nQOKqLfcCLG1XyEF1cmcG73lLPBNnR6L5JSvdOcZKil7ajeyNXFCFR+
 Tq4Sl3LFURWICN6qUj+DCv0Jv7305fHTIyzxzVXv7jcMFsopVauawUVMH89Qi1tF
 dm1fLmdBSeTtdzJ8LTuiezs1j7uMDgvFzdatrTrmsJDCw9d95sWusXsFJ4JefGcN
 JadFmGo6iq7MwDhmbNneZVXntTq1AjSmWADC1vXBT75jjnBs6BdVjJWuzVpnFQxs
 NasBeZb/GnbB4kqr9uCBxCoRVsvNYLaDV95I0udEEFLD2Kf33+7L3PBh94lBHE8N
 k+cIBwMuyDv0W71dCrkJhXONWJEGMo4tAXv7lcfKa0XwMDkJPtdsdXsW/MwB3os5
 38Dx2X+/psRzwKF8w8v7sy60eyXH637EX8Hzp61qetmhIQwAgdY2NakM61KXFxMK
 GopNIk2wdU1G9ZVN1dxL9ZJRITmLn5B6DhJcwUk+MCHtPXCticferMlJaMiyQKXy
 gHJE55cQTyhRg4oI/vluVWb4NHWE480A9bZWUJBCZxT4QaBWz1nldBOhU9Qj1wR2
 SGFbXdDcZuO7eFt3ACGW/bSnqI/DczHpeKTrAvH6LBF7DA10cUm9K/xaLryZWer0
 sCuGMJoGPUpMOB4lVds5
 =9035
 -----END PGP SIGNATURE-----

Merge tag 'v1.0.10-1' into zcl-v1.0.10-1

Zcash release v1.0.10-1
2017-08-23 21:53:37 -04:00
Homu 00fd23930b Auto merge of #2443 - str4d:1621-priority-download-path, r=str4d
Rename FALLBACK_DOWNLOAD_PATH to PRIORITY_DOWNLOAD_PATH

Closes #1621.
2017-06-19 23:46:44 -07:00
Jack Grigg be60c6d7f6
Rename FALLBACK_DOWNLOAD_PATH to PRIORITY_DOWNLOAD_PATH
Closes #1621.
2017-06-15 16:32:36 +12:00
kozyilmaz e6dc07bc69 support per platform filename and hash setting for dependencies 2017-06-09 13:15:27 +03:00
aayanl 02abf011fe Zcash release v1.0.9.
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEAaIg3w6ppCxOrmsd7UF/vnnJnowFAlkmE0kACgkQ7UF/vnnJ
 noy8vhAAn7eTfoM2CG0Nec6YyakxzfL8dLg71VDpCg9V9EaxIRQCo0Qv7v1u9v8U
 DZuJXFisua/lEHCQP1FrkwAhRC+oOitWqLZxO0qfm6e2L5VYrDxNj2FpEItH4UNB
 T8RMVh0/VdKwEKdF0ji+cMkgh+NLf4NpyIrn28LunR8KnLGfUp/oAJ6MEGzkBwBB
 Xu6d5QmQtfTgSoKiTqccuySTsrm3d0xVZcJhnQifs/RxsZkI5c/UpYfBBIHMI6CW
 K5wBd38C0g88SLOhdSEXhlMxwAddw1Kz1Q8jQGRvusIgrEmNO3uFLgARXm1ZA6DJ
 8m08/OMGm3LXD90ZEOqemlEKJTCMYmDuLcT4WTcYL75LkMJnK8ggx353Klk625jD
 xmyZGnJcS43G4fsDfJv5elaEPy2PTxL4CDUwXESPP1zXOj7L9LWMFdSOTHdzqCrZ
 oTiorGPvEsHQBBfP9sqHMCXXBrGJ4fG57FpUW7d+JXjFMb7WZuZN2RGOx2Qq9IvH
 U5ompyeWMR31Ig4vDGppAH637eMdxfdM1fYRNKWJFAtVLRS3jlyee2Cs6G73C+Pn
 ILZHiX2I0DbnIShwopojGrS4GUI1QbDDRWecGyQW2WZAKQUqeQCNRpLQXrWrmx8O
 7tXduTdbtoUqpx49yQ4AAGyxN/XU6YSQzd/I+53vNzLYZ1b0YCQ=
 =4vKf
 -----END PGP SIGNATURE-----

Merge tag 'v1.0.9' of https://github.com/zcash/zcash into v1.0.9

Zclassic release v1.0.9.
2017-05-28 00:41:02 -04:00
Simon b9f6e40c9c Patch to build Proton with minimal dependencies.
Closes #2279.  Configures CMake to enable C++11, build static libaries
and only build cpp bindings with minimal dependencies. Documentation,
examples, tests and other language bindings are no longer built.
CMake will no longer try to find commands and packages which are not
required for building the target.
2017-04-28 12:03:37 -07:00
Simon 56f66372c5 Fix proton build issue with debian jessie, as used on CI servers.
Debian 8 stable ships with gcc 4.9.2 and cmake 3.0.2.  Previously
the depends package used CMAKE_CXX_STANDARD to tell cmake to use
C++11, but the option requires cmakes 3.1+.  To resolve the issue
we now update relevant CMakeLists.txt and set CMAKE_CXX_FLAGS.
2017-04-16 00:30:58 -07:00
joshuayabut a64c8bf338 Release 1.0.8.
-----BEGIN PGP SIGNATURE-----
 
 iF4EABYIAAYFAljZ1QgACgkQ/S21FcdQdRkuSQEAqQC0TrvzJbtyHvwwC+16YONr
 v2vdx5LhJDs92gtgBGMA/3NmfhhTTDlJB8ldSQWfnjEJCr3jjTSbO/7V/wK+JdIB
 =RkA7
 -----END PGP SIGNATURE-----

Merge v1.0.8
2017-04-13 17:40:02 -04:00
Simon f493d3e044 Add --disable-proton flag to build.sh. Proton has build/linker issues with gcc 4.9.2 and requires gcc 5.x. 2017-03-25 09:41:54 -07:00
Simon 99eb947a98 Add AMQP 1.0 support via Apache Qpid Proton C++ API 0.17.0 2017-03-25 08:51:40 -07:00
Jack Grigg a163953929
[depends] libevent 2.1.8 2017-03-24 09:03:59 +13:00
fanquake ec626cc530
[depends] libevent 2.1.7rc 2017-03-24 09:03:59 +13:00
Wladimir J. van der Laan 32f4e7744c
depends: Add libevent compatibility patch for windows
Add a patch that seems to be necessary for compatibilty of libevent
2.0.22 with recent mingw-w64 gcc versions (at least GCC 5.3.1 from Ubuntu
16.04).

Without this patch the Content-Length in the HTTP header ends up as
`Content-Length: zu`, causing communication between the RPC
client and server to break down. See discussion in #8653.

Source: https://sourceforge.net/p/levent/bugs/363/

Thanks to @sstone for the suggestion.
2017-03-24 09:03:59 +13:00
Cory Fields 91295c4b4d
libevent: Windows reuseaddr workaround in depends
Make it possible to reuse sockets.
This is necessary to make the RPC tests work in WINE.
2017-03-24 09:03:59 +13:00
Cory Fields 505b30ff01
libevent: add depends 2017-03-24 09:03:59 +13:00
Sean Bowe 802ea76b3a Allow Rust-language related assets to be disabled with `--disable-rust`. 2017-03-18 07:47:40 -06:00
Sean Bowe 6a0c7ceae9 Introduce librustzcash and Rust to depends system. 2017-03-17 11:46:41 -06:00
Simon abecfc422c Remove redundant gui options from build scripts 2017-03-10 10:35:23 -08:00
Daira Hopwood 8247636d21 Remove unused packages and patches.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-03-07 19:40:09 +00:00
Daira Hopwood d596658022 Remove NO_QT make option.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-03-07 19:15:08 +00:00
joshuayabut ce15355120 Disable RELRO for Windows builds 2017-03-04 22:05:53 -05:00
joshuayabut 5a723a1959 Zcash v1.0.6 release
-----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJYnmNDAAoJEMj0nAgfOsbEwmYP/1xID0ipI1MLLYUd3JjEoCUs
 snUVuFjn/zNX2gvEVILF1tGsTBFkJFJdMHiwcMIK/6iiKRmU2CI0IvK3QtSgIM/0
 uMcxVdzHrg2T+r/eA2kgCwAxzzHMfpT0u/EwE6s8eDjgSX6YyZksEMRtrrgmyriP
 KsYxdiu8z61wDCDJGFln18rtX3qzaivFV13Eauq37H9Zj9M9zFHQxTLgijahwaHr
 +jBCAZGNAO10EFFPmSLKe7TGKRNedeZ/g09PF5g50BMugWKujO7Iw05qjZqrhW+3
 tNp5ZH1fr4Ac6LUMUaB5SnoIm22/berqiPMryM3f75kCqyXHAqbLBXTKTEEMpt82
 Y4vRmZrmFcGUsS96ZLi8WgGOyUoEIdkdMAyHaQLPa4uK8e/7uVgO9s8aTw4g9hI5
 3aHUI9VIsLYiPoIq3LQlHCPf8R9OB4aLbDvk2NBzHdXXx1CuR/dJzNQ1sdfd51TN
 iT0XzvmnZUjYADNU9oisje30JF6n2niW6ZGtbUAGPgbPHhABCXmVktMe+O3G3MqH
 En/IMopmSGLW46VDRPJa6uqRwNp8UZoH7TZ0axNOg0hDOP6nvDX4Hiq99DIbdJz/
 4BTsmBCuMQODb0jb9PyQ0dP7v+as5bfnCSJ9NzUkiQ2ic8cA5D9KzwaxYpb0d4PK
 zdnU8ZYMsySHaH9AY8uL
 =A8on
 -----END PGP SIGNATURE-----

Merge tag 'v1.0.6' of https://github.com/zcash/zcash into v1.0.6-dev

Zcash v1.0.6 release

Conflicts:
	README.md
	configure.ac
	contrib/debian/changelog
	contrib/debian/control
	contrib/debian/manpages/zcash-cli.1
	contrib/debian/manpages/zcashd.1
	contrib/gitian-descriptors/gitian-linux.yml
	depends/packages/libsnark.mk
	doc/authors.md
	doc/payment-api.md
	qa/rpc-tests/wallet_protectcoinbase.py
	src/Makefile.gtest.include
	src/Makefile.zcash.include
	src/asyncrpcoperation.h
	src/chainparams.cpp
	src/clientversion.h
	src/init.cpp
	src/json/json_spirit_value.h
	src/metrics.cpp
	src/rpcmining.cpp
	src/rpcserver.h
	src/test/rpc_wallet_tests.cpp
	src/util.cpp
	src/wallet/asyncrpcoperation_sendmany.cpp
	src/wallet/asyncrpcoperation_sendmany.h
	src/wallet/rpcwallet.cpp
	zcutil/build.sh
2017-02-17 23:48:38 -05:00
Sean Bowe 69566ad756 Update libsnark. 2017-02-09 15:30:09 -07:00
Jack Grigg 602407de95
[depends] ZeroMQ 4.2.1 2017-02-08 22:11:53 +00:00
fanquake 00bcf2230d
[depends] ZeroMQ 4.1.5 2017-02-08 22:11:53 +00:00
fanquake c3c55e10e8
[depends] ZeroMQ 4.1.4 2017-02-08 22:11:53 +00:00
fanquake 6702d371c5
[depends] zeromq 4.0.7 2017-02-08 22:10:42 +00:00
Jonas Schnelli 0388c23a76
depends: fix platform specific packages variable
prefix instead of postfix
2017-02-08 22:10:42 +00:00
Cory Fields cce7754eb8
Depends: Add ZeroMQ package 2017-02-08 22:10:42 +00:00
Joshua Yabut 7c6a6521a0 Update bdb.mk 2017-02-01 13:56:45 -05:00
Joshua Yabut bb8e667314 V1.0.5 multios (#57)
* Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo

* Add benchmark for attempting decryption of notes

* Add benchmark for incrementing note witnesses

* Add -metricsui flag to toggle between persistent screen and rolling metrics

Defaults to true if stdout is a TTY, else false.

* Add -metricsrefreshtime option

* Only show metrics by default if stdout is a TTY

* Document metrics screen options

* Fix stale comment referencing upstream block interval

* Add checkpoint at block height 15000

* Make command line option to show all debugging consistent with similar options

Most people expect a value of 1 to enable all for command line arguments.
However to do this for the -debug option you must type "-debug=".
This has been changed to allow "-debug=1" as well as "-debug=" to
enable all debug logging

* Update documentation to match the #4219 change

* Update help message to match the #4219 change

* Clarify that metrics options are only useful without -daemon and -printtoconsole

* Increase length of metrics divider

* Closes #1857. Fixes bug where tx spending only notes had priority of 0.

* Closes #1901. Increase default settings for the max block size when
mining and the amount of space available for priority transactions.

* Write witness caches when writing the best block

For steady-state operation, this reduces the average time between wallet disk
writes from once per block to once per hour.

On -rescan, witness caches are only written out at the end along with the best
block, increasing speed while ensuring that on-disk state is kept consistent.

Witness caches are now never recreated during a -reindex, on the assumption that
the blocks themselves are not changing (the chain is just being reconstructed),
and so the witnesses will remain valid.

Part of #1749.

* Add porter dev overrides for CC, CXX, MAKE, BUILD, HOST

* Apply miniupnpc patches to enable compilation on Solaris 11

These can be removed after the next MiniUPnP release.

Closes #1835.

* Closes #1903. Add fee parameter to z_sendmany.

* Add an upstream miniupnpc patch revision

* Metrics - Don't exclaim unless > 1

"You have validated 0 transactions!" sounds a little less enthusiastic that intended. Also, only says "1 transaction".

* Address review comments, tweak strings

* bash-completion: Adapt for 0.12 and 0.13

 * separate completion for bitcoind and bitcoin-cli
 * remove RPC support from bitcoind completion
 * add completion for bitcoin-tx and bitcoin-qt
 * rely on autoloading of completions

* Change function names to not clash with Bitcoin, apply to correct binaries

* Add bash completion files to Debian package

* Always bash-complete the default account

* Add Zcash RPC commands to CLI argument completion

* Fixes #1823. Witness anchors for input notes no longer cross block boundaries.

* Edit for grammar: "block chain"

At this point, I believe it is universally accepted that "blockchain" is one word, and should not be separated into two.

* Increase timeout as laptops on battery power have cpu throttling.

* Isolate verification to a `ProofVerifier` context object that allows verification behavior to be tuned by the caller.

* Regression test.

* Ensure cache contains valid entry when anchor is popped.

* Ensure ProofVerifier cannot be accidentally copied.

* Document behaviour of CWallet::SetBestChain

* WitnessAnchorData only needs to store one witness per JSOutPoint.

* Rename Dummy to Disabled.

* Add more tests for ProofVerifier.

* Fix indentation

* Generate JS for trydecryptnotes, make number of addresses a variable

* Add JS to second block to ensure witnesses are incremented

* ASSERT_TRUE -> ASSERT_FALSE

* Skip JoinSplit verification before the last checkpoint

Part of #1749

* Gather release notes from previous release to HEAD

Also update release-process.md to replace git shortlog command with
release-notes.py script.

* Add a reindex test that fails because of a bug in decrementing witness caches

Ref: https://github.com/zcash/zcash/pull/1904#issuecomment-265992988

* Make the test pass by fixing the bug!

* Only check cache validity for witnesses being incremented or decremented

Fixes the bug resulting from #1904.

* Update release process to check in with users who opened resolved issues

* Check that E' points are actually in G2 by ensuring they are of order r.

* Fix bug in wallet tests

* Extract block-generation wallet test code into a function

* Rewrite reindex test to check beyond the max witness cache size

* Fix bug in IncrementNoteWitness()

* Extend createjoinsplit to benchmark parallel JoinSplits

Closes #1940

* Update payment API docs to recommend -rescan for fixing witness errors

* Add total number of commitments to getblockchaininfo

* Update version to 1.0.4

* Update man pages

* Release notes, authors, changelog

* Only enable getblocktemplate when wallet is enabled

* Only run wallet tests when wallet is enabled

* Add a tool for profiling the creation of JoinSplits

* Add test for IncrementalMerkleTree::size().

* Exclude test binaries from make install

Closes #1943.

* Fixes #1964 to catch general exception in z_sendmany and catch
exceptions as reference-to-const.

* Fixes #1967 by adding age of note to z_sendmany logging.

* Scan the whole chain whenever a z-key is imported

Closes #1941.

* Instruct users to run zcash-fetch-params if network params aren't available

Closes #1786.

* Fixes a bug where the unsigned transaction was logged by z_sendmany
after a successful sign and send, meaning that the logged hash fragment
would be different from the txid logged by "AddToWallet".  This issue
occured when sending from transparent addresses, as utxo inputs must be
signed.  It did not occur when sending from shielded addresses.

* Trigger metrics UI refresh on new messages

* Strip out the SECURE flag in metrics UI so message style is detected

* Add 'CreateJoinSplit' standalone utility to gitignore.

* Handle newlines in UI messages

* Suggest ./zcutil/fetch-params.sh as well

Once we improve the from-source installation docs to use 'make install', we can
revert this commit.

* Update debug categories

Closes #1954.

* CreateJoinSplit: add start_profiling() call

This solves the problem of profiling output displaying nonsensical large time values.

* rpc: Implement random-cookie based authentication

When no `-rpcpassword` is specified, use a special 'cookie' file for
authentication. This file is generated with random content when the
daemon starts, and deleted when it exits. Read access to this file
controls who can access through RPC. By default this file is stored in
the data directory but it be overriden with `-rpccookiefile`.

This is similar to Tor CookieAuthentication: see
https://www.torproject.org/docs/tor-manual.html.en

Alternative to #6258. Like that pull, this allows running bitcoind
without any manual configuration. However, daemons should ideally never write to
their configuration files, so I prefer this solution.

* Rename build-aux/m4/bitcoin_find_bdb48.m4 to remove version

Closes #1622.

* Bump COPYRIGHT_YEAR from 2016 to 2017.

* Throw an error if zcash.conf is missing

An empty zcash.conf is sufficient to bypass this error.

* Show a friendly message explaining why zcashd needs a zcash.conf

* Closes #1780. Result of z_getoperationstatus now sorted by creation time of operation

* Create ISSUE_TEMPLATE.md

* move template to subdirectory, fix typo, include prompt under describing issue section, include uploading file directly to github ticket as option for sharing logs

* Remove UTF-8 BOM efbbbf from zcash.conf to avoid problems with command line tools

* Closes #1097 so zcash-cli now displays license info like zcashd.

LicenseInfo is refactored from init.cpp to util.cpp so that the
bitcoin-cli makefile target does not need to be modified.

* Fixes #1497 ZCA-009 by restricting data exporting to user defined folder.

Previously the RPC interface allowed z_exportwallet, backupwallet and
dumpwallet to write data to an arbitrary filename.  ZCA-009 demonstrates
how this is vulnerable.  The resolution is to only allow data to
written when the -exportdir has been configured.  Also filenames are
restricted to alphanumeric characters.

* Closes #1957 by adding tx serialization size to listtransactions output.

* Fix gtest ordering broken by #1949

Part of #1539

* Fixes #1960: z_getoperationstatus/result now includes operation details.

* Debian package lint

- Tweak description synopsis to make Debian happy
- Put bash completion files in correct directory
- Add a manpage for zcash-fetch-params

* Generate Debian control file to fix shlibs lint

* Create empty zcash.conf during performance measurements

* Create empty zcash.conf during coverage checks

Fixes regression caused by #2013.

* Coverage build system tweaks

* Update walletbackup.py qa test to use -exportdir option

* Add missing header required by std::accumulate

* Increase timeout for z_sendmany transaction in wallet.py qa test

* Add test for z_importkey rescanning from beginning of chain.

* Bump version to 1.0.5.

* Update release notes and Debian package.

* V1.0.4 mac (#51)

* initial mac version of zclassic

Work in progress - 15JAN2017

more refactoring

linux refactoring fixes

osx refactoring fixes

initial win64 commit

fixup! initial win64 commit

compile libsnark with posix threads

build gtest and gmock with posix

Working build

fixup! Working build

* Windows and Linux builds ok

* fixup! Merge tag 'v1.0.5' into v1.0.5-multios

* fixup! fixup! Merge tag 'v1.0.5' into v1.0.5-multios

* fixup! fixup! fixup! Merge tag 'v1.0.5' into v1.0.5-multios

* Fix OSX compatibility with depends

* OSX Compat - Fix site_t ambiguity in json

* fixup! OSX Compat - Fix site_t ambiguity in json
2017-01-31 18:33:46 -05:00
Jack Grigg 18cc8f45fd
Upgrade OpenSSL to 1.1.0d
Closes #2047
2017-01-31 15:23:56 +01:00
Joshua Yabut 36c4a6d4c5 Added MacOS Compatibility (#53) 2017-01-16 14:21:36 -05:00
Joshua Yabut 98b7178783 Merge: v1.0.4 into master (#42)
* Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo

* Add benchmark for attempting decryption of notes

* Add benchmark for incrementing note witnesses

* Add -metricsui flag to toggle between persistent screen and rolling metrics

Defaults to true if stdout is a TTY, else false.

* Add -metricsrefreshtime option

* Only show metrics by default if stdout is a TTY

* Document metrics screen options

* Fix stale comment referencing upstream block interval

* Add checkpoint at block height 15000

* Added mainnet, testnet, and onion nodes

* Make command line option to show all debugging consistent with similar options

Most people expect a value of 1 to enable all for command line arguments.
However to do this for the -debug option you must type "-debug=".
This has been changed to allow "-debug=1" as well as "-debug=" to
enable all debug logging

* Update documentation to match the #4219 change

* Update help message to match the #4219 change

* Clarify that metrics options are only useful without -daemon and -printtoconsole

* Increase length of metrics divider

* Closes #1857. Fixes bug where tx spending only notes had priority of 0.

* Closes #1901. Increase default settings for the max block size when
mining and the amount of space available for priority transactions.

* Write witness caches when writing the best block

For steady-state operation, this reduces the average time between wallet disk
writes from once per block to once per hour.

On -rescan, witness caches are only written out at the end along with the best
block, increasing speed while ensuring that on-disk state is kept consistent.

Witness caches are now never recreated during a -reindex, on the assumption that
the blocks themselves are not changing (the chain is just being reconstructed),
and so the witnesses will remain valid.

Part of #1749.

* Add porter dev overrides for CC, CXX, MAKE, BUILD, HOST

* Apply miniupnpc patches to enable compilation on Solaris 11

These can be removed after the next MiniUPnP release.

Closes #1835.

* Closes #1903. Add fee parameter to z_sendmany.

* Add an upstream miniupnpc patch revision

* Metrics - Don't exclaim unless > 1

"You have validated 0 transactions!" sounds a little less enthusiastic that intended. Also, only says "1 transaction".

* Address review comments, tweak strings

* bash-completion: Adapt for 0.12 and 0.13

 * separate completion for bitcoind and bitcoin-cli
 * remove RPC support from bitcoind completion
 * add completion for bitcoin-tx and bitcoin-qt
 * rely on autoloading of completions

* Change function names to not clash with Bitcoin, apply to correct binaries

* Add bash completion files to Debian package

* Always bash-complete the default account

* Add Zcash RPC commands to CLI argument completion

* Fixes #1823. Witness anchors for input notes no longer cross block boundaries.

* Edit for grammar: "block chain"

At this point, I believe it is universally accepted that "blockchain" is one word, and should not be separated into two.

* Increase timeout as laptops on battery power have cpu throttling.

* Isolate verification to a `ProofVerifier` context object that allows verification behavior to be tuned by the caller.

* Regression test.

* Ensure cache contains valid entry when anchor is popped.

* Ensure ProofVerifier cannot be accidentally copied.

* Document behaviour of CWallet::SetBestChain

* WitnessAnchorData only needs to store one witness per JSOutPoint.

* Rename Dummy to Disabled.

* Add more tests for ProofVerifier.

* Fix indentation

* Generate JS for trydecryptnotes, make number of addresses a variable

* Add JS to second block to ensure witnesses are incremented

* ASSERT_TRUE -> ASSERT_FALSE

* Skip JoinSplit verification before the last checkpoint

Part of #1749

* Gather release notes from previous release to HEAD

Also update release-process.md to replace git shortlog command with
release-notes.py script.

* Add a reindex test that fails because of a bug in decrementing witness caches

Ref: https://github.com/zcash/zcash/pull/1904#issuecomment-265992988

* Make the test pass by fixing the bug!

* Only check cache validity for witnesses being incremented or decremented

Fixes the bug resulting from #1904.

* Check that E' points are actually in G2 by ensuring they are of order r.

* Fix bug in wallet tests

* Extract block-generation wallet test code into a function

* Rewrite reindex test to check beyond the max witness cache size

* Fix bug in IncrementNoteWitness()

* Update payment API docs to recommend -rescan for fixing witness errors

* Update version to 1.0.4

* Update man pages

* Release notes, authors, changelog

* Update seed nodes

* Bugfix #14 - getblocksubsidy RPC command is incorrect
2016-12-19 07:59:58 -05:00
Jack Grigg bebec25313
Add an upstream miniupnpc patch revision 2016-12-01 12:29:18 +13:00
Jack Grigg aefa70f948
Apply miniupnpc patches to enable compilation on Solaris 11
These can be removed after the next MiniUPnP release.

Closes #1835.
2016-12-01 01:12:59 +13:00
Jack Grigg da7bcff4fe
Build libsnark with -march=x86-64 instead of -march=native 2016-10-27 16:32:27 -07:00
Daira Hopwood 9cb7abafb5 Changes to upgrade bdb to 6.2.23
ref #1255
2016-10-25 16:18:19 +01:00
zkbot 90031e1d61 Auto merge of #1577 - radix42:v1.0.0-rc1-gitian, r=daira
V1.0.0 rc1 gitian

Removes indeterminism from gitian builds: underlying processor instruction set variant of x86_64 was being detected by the libgmp autoconf process, which caused differences in libgmp and libsnark
2016-10-20 17:40:27 -04:00
David Mercer ed928f413e explicitly pass HOST and BUILD to libgmp ./configure 2016-10-19 20:18:03 -07:00
David Mercer 1ead1bb0b3 allow both HOST and BUILD to be passed in from the zcutil/build.sh 2016-10-19 19:36:52 -07:00
Daira Hopwood 0ee86d399e Changes to build on Alpine Linux.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-20 00:36:32 +01:00
zkbot 4ee9d712b5 Auto merge of #1541 - str4d:upstream-gitian-updates, r=bitcartel
Upstream gitian updates

This PR pulls in all gitian-related PRs that have been merged upstream since 0.11.2. The only ones I left out were documentation-only PRs, because we removed `doc/gitian-building.md` at some point. Here are the commits applied here, in the order shown in `git log` (ie. last to first):

- bitcoin/bitcoin#7283
  - fa42a67
  - fa58c76
- bitcoin/bitcoin#8175
  - 74c1347
- bitcoin/bitcoin#8167
  - 7e7eb27
  - ad38204
  - b676f38
- bitcoin/bitcoin#7776
  - f063863
- bitcoin/bitcoin#7424
  - a81c87f ~ we already partly applied
  - a8ce872
  - f3d3eaf ~ we already partly applied
  - 475813b
  - ~~cd27bf5~~ X we already applied
- bitcoin/bitcoin#7060
  - 3b468a0 ~ we removed doc/gitian-building.md
  - ~~99fda26~~ X we removed doc/gitian-building.md
- bitcoin/bitcoin#7251
  - fa09562
- bitcoin/bitcoin#6900
  - ~~2cecb24~~ X we removed doc/gitian-building.md
  - 957c0fd
  - 2e31d74
  - ~~0b416c6~~ X we removed QT
  - 9f251b7
- bitcoin/bitcoin#6854
  - 579b863 ~ we already partly applied

Part of #540
2016-10-17 01:17:01 -04:00
Jack Grigg de064bab95
Update libsnark to include determinism fix 2016-10-16 12:27:01 -05:00
Cory Fields e6fa787a62
depends: allow for CONFIG_SITE to be used rather than stealing prefix
This does not break any existing prefix behavior, only makes new behavior work.

For example:
CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure --prefix=/
2016-10-15 14:12:41 -05:00
Jack Grigg 63bc8c9a17 Downgrade bdb to 5.3.28
bdb 6.X was released under the AGPL, which is incompatible with MIT-licensed
software (the result must be licensed under AGPL). bdb 5.X uses the same license
as bdb 4.8, and thus retains the same compatibility as in upstream Bitcoin.

Thanks to Luke-Jr for raising this issue.
2016-10-01 23:02:32 +13:00
Jack Grigg be9e7ce722 Remove no-autoalginit and no-autoerrinit OpenSSL flags
These flags are potentially risky, because they require that the app explicitly
initialize stuff that it wouldn't otherwise need to initialize, and we don't
have time for the necessary review.
2016-09-30 14:11:27 +13:00
Jack Grigg 629c8743a7 Disable nearly everything in OpenSSL
Flags obtained from:
https://gist.github.com/steakknife/8247726#gistcomment-1739713

Some flags not enabled because they aren't supported in OpenSSL 1.1.0b.

Flags not enabled because they break compilation:
- no-deprecated
- no-dh
- no-ec
2016-09-29 15:53:41 +13:00
Jack Grigg 21fb88a348 Fix auto_ptr deprecation warning in Boost 2016-09-29 14:15:55 +13:00
Jack Grigg 19c3917ce9 Upgrade ccache to 3.3.1 2016-09-29 12:34:40 +13:00