Commit Graph

553 Commits

Author SHA1 Message Date
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
Simon 8da1ab7792 Fix debian manpage manually as part of release process 2017-02-10 14:12:10 -08:00
Simon 5b9eb25e67 Fix manpage as part of release process. 2017-02-10 12:54:09 -08:00
Simon 027ab14b29 Update debian changelog as part of release process 2017-02-10 10:29:10 -08:00
Simon 31a4f0d5c9 Debian man pages updated as part of release process 2017-02-10 10:20:21 -08:00
Simon 2ddec8f0e4 Bump version to 1.0.6 as part of release process 2017-02-10 09:55:49 -08:00
Jack Grigg 0821ddb0de
Remove JSON Spirit from contrib/debian/copyright 2017-02-10 00:53:11 +00:00
Jack Grigg 05e6ead8da
Add ZeroMQ license to contrib/debian/copyright 2017-02-08 22:11:53 +00:00
isle2983 5dfea488e4
[copyright] add MIT License copyright header to zmq_sub.py 2017-02-08 22:11:53 +00:00
Jonas Schnelli 3ba2e19e2b
[ZMQ] append a message sequence number to every ZMQ notification 2017-02-08 22:11:53 +00:00
Jeff Garzik f200002cf3
Add ZeroMQ support. Notify blocks and transactions via ZeroMQ
Continues Johnathan Corgan's work.
Publishing multipart messages

Bugfix: Add missing zmq header includes

Bugfix: Adjust build system to link ZeroMQ code for Qt binaries
2017-02-08 22:10:42 +00: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
Sean Bowe 5046d8cd05 Update release notes and Debian package. 2017-01-19 19:25:00 -07:00
Sean Bowe b8f737b364 Bump version to 1.0.5. 2017-01-19 19:21:32 -07:00
Jack Grigg b50b4d5c38
Generate Debian control file to fix shlibs lint 2017-01-17 01:55:50 +01:00
Jack Grigg 6a62bff3e0
Debian package lint
- Tweak description synopsis to make Debian happy
- Put bash completion files in correct directory
- Add a manpage for zcash-fetch-params
2017-01-17 01:55:50 +01:00
Simon f1498d5829 Remove UTF-8 BOM efbbbf from zcash.conf to avoid problems with command line tools 2017-01-12 18:26:20 -08: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 611f25b604
Release notes, authors, changelog 2016-12-15 16:47:49 +13:00
Jack Grigg 196df30d72
Update man pages 2016-12-15 16:45:18 +13:00
Jack Grigg 83ce8a4d7c
Update version to 1.0.4 2016-12-15 16:33:09 +13:00
Jack Grigg 73546e1b81
Add Zcash RPC commands to CLI argument completion 2016-12-02 17:41:37 +13:00
Jack Grigg a01daac728
Always bash-complete the default account 2016-12-02 17:26:57 +13:00
Jack Grigg 58966e96c5
Change function names to not clash with Bitcoin, apply to correct binaries 2016-12-02 17:09:44 +13:00
Christian von Roques c794f6d33b
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
2016-12-02 16:52:53 +13:00
Rhett Creighton 8d57ab33a6 Merge branch 'master' of git://github.com/zcash/zcash into zcash-master-103
Conflicts:
	README.md
2016-11-18 19:09:04 -08:00
Simon 26fb4db53b 1.0.3 Release 2016-11-17 16:07:09 -08:00
Sean Bowe 996fccf267 1.0.2 release. 2016-11-07 19:03:20 -07:00
Rhett Creighton 1a1f0a28bb remove seed nodes 2016-11-04 21:40:39 -07:00
Sean Bowe eb2e2b7043 1.0.1 release. 2016-11-03 22:26:15 -06:00
Jack Grigg ff5f66b847
Update Debian manpages and buildscript 2016-10-28 04:39:00 -07:00
Jack Grigg 409dcb7e1d
Update Debian changelog 2016-10-28 04:12:29 -07:00
Jack Grigg 998202ba20
Update version strings to 1.0.0
Debian uses 1.0.0-sprout to ensure correct ordering.
2016-10-28 04:12:20 -07:00
zkbot ab5c175744 Auto merge of #1661 - ageis:deb-pkg-enhancements, r=arcalinea
Debian packaging fixes

* Updates maintainer scripts from latest version of `dh_make`
* Includes `rules` file
* Use `fakeroot` to build the package.
We use currently `dpkg-deb --build` instead of `debuild` or `dpkg-buildpackage`, so I don't know if the package is well-formatted for the latter. (one difference, the former works with uppercase `DEBIAN`, the latter lowercase `debian` -- that's why the directory was renamed)
2016-10-27 19:13:35 +00:00
Jack Grigg 31cc0d0861
Fix DEBIAN/control errors raised by lintian 2016-10-27 08:45:16 -07:00
Daira Hopwood 3a334bedd2 Update version numbers for 1.0.0-rc4.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-27 13:47:53 +01:00
Kevin Gallagher 590480bc75 Adds zcash.examples and zcash.manpages 2016-10-26 16:24:35 -07:00
Kevin Gallagher 71cf68da48 Add DEBIAN/rules file (required by policy) 2016-10-26 16:10:55 -07:00
Kevin Gallagher 8764ae0eb7 Fixes executable mode of maintainer scripts 2016-10-26 16:10:34 -07:00
Kevin Gallagher b37870bbf3 Update Debian package maintainer scripts 2016-10-26 15:59:32 -07:00
Daira Hopwood 1eee125bfc Update version numbers for rc3.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-26 23:52:25 +01:00
zkbot 0fabe19495 Auto merge of #1646 - ebfull:manpages, r=daira
Add manpages for zcashd and zcash-cli binaries for debian.

See #1524.
2016-10-25 23:00:30 -04:00
zkbot 8d04ff72ca Auto merge of #1643 - ioptio:example-config, r=daira
add zcash.conf

port examples/bitcoin.conf to examples/zcash.conf
2016-10-25 22:21:16 -04:00
Daira Hopwood d79ef011c1 Tweak descriptions of mining parameters for example zcash.conf.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-26 03:18:32 +01:00
Paige Peterson 4340a34de8 fix per Daira's suggestions 2016-10-25 20:55:53 -04:00
Paige Peterson 473389dfb4 fix per Jack's mod suggestions 2016-10-25 20:35:59 -04:00
Sean Bowe 2399b1f9ad Add manpages for zcashd and zcash-cli binaries for debian. 2016-10-25 18:35:08 -06:00
Paige Peterson 7ac57982d6 add zcash.config 2016-10-25 16:24:01 -04:00
Daira Hopwood 9cb7abafb5 Changes to upgrade bdb to 6.2.23
ref #1255
2016-10-25 16:18:19 +01:00
Kevin Gallagher e07471634b Adds libgomp1 to Debian package depends
Fixes #1610.
2016-10-24 16:41:10 -07:00
Daira Hopwood 90c116ac54 Add release notes and Debian changelog entry.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-23 03:03:00 +01:00
Daira Hopwood d14207f6f4 Bump version numbers to 1.0.0-rc2.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-23 02:22:08 +01:00
Daira Hopwood 5626f8a8dc Remove copyright entries for some files we deleted.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-23 02:22:08 +01:00
zkbot 4dc45bad95 Auto merge of #1532 - arcalinea:cleanup-documentation, r=daira
Cleanup documentation

Added zcash developer public keys to /contrib/gitian-downloader, incorporated some of @daira's suggestions for files in the /doc directory
2016-10-20 02:34:25 -04:00
Simon 1218603f73 Update Debian changelog. 2016-10-17 11:52:55 -07:00
zkbot 98224d76f5 Auto merge of #1521 - zcash:gitian, r=bitcartel
Update Linux Gitian descriptor for building Zcash

Changes required to use the Gitian builder at https://github.com/zcash/zcash-gitian

Closes #540.
2016-10-17 01:55:03 -04: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
Kevin Gallagher b53b5a63e1 Adds . to blank lines in Google license 2016-10-16 20:53:06 -07:00
Kevin Gallagher dc7db2029c Updates Zcash Core developers -> Zcash developers 2016-10-16 20:24:12 -07:00
Daira Hopwood 80181ffa0a Fix blank lines in DEBIAN/copyright license texts. 2016-10-16 20:10:00 -07:00
Kevin Gallagher 92833e9dd7 Adds additional licenses to Debian copyright file 2016-10-16 19:56:49 -07:00
Kevin Gallagher 558081c98c
Adds faketime to Gitian build dependencies 2016-10-15 15:57:11 -05:00
Kevin Gallagher 74dcb5ff05
Include contrib/devtools/split-debug.sh from upstream 2016-10-15 15:57:11 -05:00
Kevin Gallagher a9f33db1ae
Moves V=1 and NO_QT=1 to MAKEOPTS 2016-10-15 15:57:11 -05:00
Kevin Gallagher 9c61dc4b00
Updates Gitian descriptor for Zcash 2016-10-15 15:57:11 -05:00
Kevin Gallagher 993682d88f
Adds distro: debian to gitian-linux.yml 2016-10-15 15:57:11 -05:00
Kevin Gallagher 4d0ee1b227
Updates trusty -> jessie in Gitian Linux descriptor 2016-10-15 15:57:11 -05:00
Kevin Gallagher d707438c72
Updates Linux gitian descriptor file for Zcash 2016-10-15 15:57:11 -05:00
Jack Grigg 7d1c2d0b72
[gitian] Don't call "make check-symbols"
Currently it does not recognise any of the C++11 symbols. We can re-enable this
when either we update it, or upstream migrates to C++11 and does so.
2016-10-15 15:55:28 -05:00
MarcoFalke e2d16e0a86
[gitian] hardcode datetime for depends 2016-10-15 14:16:49 -05:00
MarcoFalke 82f8b4899a
[gitian] Default reference_datetime to commit author date 2016-10-15 14:16:45 -05:00
Wladimir J. van der Laan bf5b79510a
gitian: Add --disable-bench to config flags for windows
Forgot to do this in #7776.
2016-10-15 14:13:16 -05:00
Cory Fields 2e43dcec21
gitian: create debug packages for linux/windows
The -debug tarballs/zips contain detached debugging symbols. To use them, place
in the same dir as the target binary, and invoke gdb as usual.

Also, because the debug symbols add a substantial space requirement, the build
dirs are now deleted when they're no longer needed.
2016-10-15 14:12:55 -05:00
Cory Fields acfb4cf7c5
gitian: use CONFIG_SITE rather than hijacking the prefix 2016-10-15 14:12:53 -05:00
Wladimir J. van der Laan 2762638a01
build: Remove unnecessary executables from gitian release
This removes the following executables from the binary gitian release:

- test_bitcoin-qt[.exe]
- bench_bitcoin[.exe]

@jonasschnelli and me discussed this on IRC a few days ago - unlike the
normal `bitcoin_tests` which is useful to see if it is safe to run
bitcoin on a certain OS/environment combination, there is no good reason
to include these. Better to leave them out to reduce the download
size.

Sizes from the 0.12 release:
```
2.4M bitcoin-0.12.0/bin/bench_bitcoin.exe
 22M bitcoin-0.12.0/bin/test_bitcoin-qt.exe
```
2016-10-15 14:09:44 -05:00
Cory Fields 8ef3b1b934
release: add security/symbol checks to gitian 2016-10-15 14:05:04 -05:00
Cory Fields 3797182d51
release: add _IO_stdin_used to ignored exports
For details see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#109
2016-10-15 13:57:41 -05:00
Wladimir J. van der Laan 5494f303a4
gitian: Need `ca-certificates` and `python` for LXC builds
[Zcash: removed doc/gitian-building.md]
2016-10-15 13:54:52 -05:00
MarcoFalke 752a0848f2
[gitian] Set reference date to something more recent 2016-10-15 13:49:49 -05:00
Wladimir J. van der Laan db57ce9d3f
gitian: make windows build deterministic 2016-10-15 13:48:59 -05:00
Wladimir J. van der Laan bdb3f2ce3e
gitian: use trusty for building 2016-10-15 13:48:58 -05:00
Wladimir J. van der Laan 3599031edc
devtools: add libraries for bitcoin-qt to symbol check
Forgot to add these.
Also add a short description for each required library.
2016-10-15 13:48:56 -05:00
Jack Grigg 85fe644139
Remaining changes from bitcoin/bitcoin#6854
Add a check to symbol-check.py that checks that only the subset of
allowed libraries is imported (to avoid incompatibilities).

See 56734f4b27 for the earlier changes.
2016-10-15 13:47:10 -05:00
Kevin Gallagher 80eabf2b66 Adds copyright file back to Debian package 2016-10-14 10:37:41 -07:00
Kevin Gallagher 1888d3d1bb Adds newline between source and package definition
Also updates doc/release-process.md instructions for the
Debian package and Gitian descriptor.
2016-10-14 09:57:58 -07:00
Kevin Gallagher 3327ef3df0 Moves zcash-fetch-params to /usr/bin
Since the file is managed by the package manager, this is a more appropriate
location for that script. Also updates the timestamp in the changelog.
2016-10-13 20:13:37 -07:00
Kevin Gallagher b5718a5a57 Initial packaging for Debian
This adds some source files, a script and skeleton for building
a Debian package that installs the zcash daemon and CLI tool.
Also removes unused Bitcoin files.
2016-10-13 13:15:14 -07:00
Jay Graber ab5b7fef46 Rm bitcoin dev keys from gitian-downloader, add zcash dev keys 2016-10-12 17:02:33 -07:00
Simon 5bd677f5c6 Rename client identifier from Satoshi to MagicBean (closes #1481) 2016-10-12 10:50:05 -07:00
Taylor Hornby 56734f4b27 Pull in upstream's make check-security, based on upstream PR #6854 and #7424. 2016-07-21 20:45:10 -06:00
Jack Grigg 3985a40d1f Change default ports 2016-06-17 00:21:58 +12:00
Matt Corallo 131d7f997c Change URLs to https in debian/control 2015-10-23 03:24:27 +00:00
Matt Corallo 7ce2c91503 Update debian/changelog and slight tweak to debian/control 2015-10-23 03:24:21 +00:00
Matt Corallo 54f9dee50c Update bluematt-key, the old one is long-since revoked 2015-10-14 08:21:42 +00:00
Zak Wilcox 6fd0019232 Drop "with minimal dependencies" from description
Five boost libs plus libcrypto are needed; I don't think that quite passes for minimal.
2015-10-14 08:20:37 +00:00
Zak Wilcox 2394f4d674 Split bitcoin-tx into its own package
Reverts the change putting it in the bitcoind deb.
2015-10-14 08:20:37 +00:00
Zak Wilcox 1e672ae343 Include bitcoin-tx binary on Debian/Ubuntu
Currently left out of Matt's PPA.  Debian's package for unstable already has it.
2015-10-14 08:20:37 +00:00
Diego Viola 9b9acc27d2 Fix spelling of Qt 2015-10-14 08:20:36 +00:00
Wladimir J. van der Laan 4dbcec03ab
net: Disable upnp by default
Common sentiment is that the miniupnpc codebase likely contains further
vulnerabilities.

I'd prefer to get rid of the dependency completely, but a compromise for
now is to at least disable it by default.

Github-Pull: #6795
Rebased-From: 21d27ebad5721bc61c62bc72dc3ab3197f9da268
2015-10-10 11:41:54 +02:00
Veres Lajos 45bfa137ef PARTIAL: typofixes (found by misspell_fixer)
Upstream: 9f68ed6b6d1a9c6436ce37913666165f2b180ee3 (PR #6539)
2015-09-22 00:43:15 +00:00