Commit Graph

10760 Commits

Author SHA1 Message Date
Nathan Wilcox 5a027a4a6e Do not use `-rpcwait` on all `zcash_rpc` invocations, only block when starting zcashd. 2017-05-22 17:51:23 -07:00
Nathan Wilcox 4e47698633 Reuse zcash_rpc. 2017-05-22 17:47:36 -07:00
Nathan Wilcox 453c74743c Fix a variable name typo. 2017-05-22 17:46:26 -07:00
Nathan Wilcox 0cfc9d65fa Enable set -u mode. 2017-05-22 17:46:13 -07:00
Nathan Wilcox 0df82709b4 First full-release-branch version of script; rewrite large swatch of release-process.md. [Manually tested.] 2017-05-22 12:34:00 -07:00
Homu 7ea88c9513 Auto merge of #2389 - str4d:2388-bench-archive-determinism, r=nathan-at-least
Remove additional sources of nondeterminism from benchmark archive

Closes #2388.
2017-05-22 11:05:36 -07:00
Nathan Wilcox c66c5ab21f Tidy up / systematize logging output a bit more. 2017-05-19 18:20:00 -07:00
Nathan Wilcox 08d66a9c01 Polish logging a bit more. 2017-05-19 18:09:35 -07:00
Nathan Wilcox c62edf9471 Generate manpages; commit that; improve error output in sh_log. 2017-05-19 18:05:02 -07:00
Nathan Wilcox 785244020a Commit the version changes and build. 2017-05-19 18:05:02 -07:00
Nathan Wilcox f6b9ffefb7 Shorten the arg log line. 2017-05-19 18:05:02 -07:00
Nathan Wilcox 14b2a420d3 Switch from `sh_out_logged` to `sh_log`. 2017-05-19 17:35:20 -07:00
Nathan Wilcox cf97f66987 Remove portions of `./doc/release-process.md` now implemented in `make-release.py`. 2017-05-19 17:16:59 -07:00
Nathan Wilcox 4dbb6c0b1d Modify the `APPROX_RELEASE_HEIGHT`. 2017-05-19 17:09:37 -07:00
Jack Grigg 08dc7889d2
Remove additional sources of determinism from benchmark archive
The archive has also been moved from .tar.gz to .tar.xz for a
33% reduction in size.

Closes #2388.
2017-05-20 11:59:16 +12:00
Nathan Wilcox ab55424763 Generalize buildnum patching for both `clientversion.h` and `configure.ac`. 2017-05-19 16:45:01 -07:00
Nathan Wilcox 482291582e Implement the IS_RELEASE rule for betas. 2017-05-19 16:35:44 -07:00
Nathan Wilcox 68ab915a24 Implement `PathPatcher` abstraction, `clientversion.h` rewrite, and build numbering w/ unittests. 2017-05-19 16:32:09 -07:00
Homu c7e1e4f29a Auto merge of #2364 - emilrus:tordoc, r=nathan-at-least
Trivial: Replace bitcoind with zcashd in tor doc
2017-05-19 15:34:08 -07:00
Nathan Wilcox 2d8d493ff9 Exit instead of raising an unexpected exception, since it's already logged. 2017-05-19 15:27:07 -07:00
Nathan Wilcox fad06b020b Make sure to pull the latest master. 2017-05-19 15:25:39 -07:00
Nathan Wilcox ea5abe2ca7 Add an option to run against a different repo directory. 2017-05-19 15:15:59 -07:00
Nathan Wilcox b43194baee Make --help output clean by not running self-test. 2017-05-19 13:09:24 -07:00
Nathan Wilcox 1ecb494896 Always run unittests prior to actual runs. 2017-05-19 13:08:26 -07:00
Nathan Wilcox b9b7f25fb9 Make SystemExit errors less redundant in output; verify clean git status on master. 2017-05-19 13:05:55 -07:00
Nathan Wilcox 3250b3d34e Add version sorting, assert that RELEASE_PREV is the most recent release. 2017-05-19 13:00:59 -07:00
Nathan Wilcox 7f53785735 Add support for beta/rc release versions. 2017-05-19 12:24:22 -07:00
Nathan Wilcox a93f4de2f6 Add all of the zcash release tags in my current repo as positive test vector. 2017-05-19 12:20:14 -07:00
Nathan Wilcox 987d040660 Add another case from debian-style versions. 2017-05-19 12:17:07 -07:00
Nathan Wilcox 6e5b990a35 Update version spec by altering test; also update regex to pass single 0 digits in major/minor/patch. 2017-05-19 12:16:13 -07:00
Nathan Wilcox 30cc01ef13 Start on a make-release.py script; currently just arg parsing and unittests [unittests fail]. 2017-05-19 12:14:46 -07:00
Homu 8214ebc61c Auto merge of #2372 - str4d:2355-connectblock-bench, r=nathan-at-least
Benchmark for calling ConnectBlock on a block with many inputs

Requires placing `block-107134.tar.gz` (containing the block, and a fake CoinsDB containing its inputs) into the base directory of the repository.

To facilitate generation of the fake CoinsDB, an additional field `valuesZat` has been added to `getrawtransaction` containing the integer number of zatoshis instead of a decimal number of ZEC.

Closes #2355.
2017-05-18 20:13:26 -07:00
Homu 4578919278 Auto merge of #2281 - str4d:release-version-handling, r=nathan-at-least
Release version handling

- Convert Zcash versions to Debian format for packaging
- [manpage] Handle build numbers in versions
2017-05-18 17:40:47 -07:00
Homu 3cbcabc16d Auto merge of #2376 - str4d:2271-miner-tests, r=nathan-at-least
Regenerate miner tests

Closes #2271.
2017-05-18 15:00:04 -07:00
Jack Grigg c66c731adf
Add a benchmark for calling ConnectBlock on a block with many inputs
Requires placing block-107134.tar.gz (containing the block, and a fake CoinsDB
containing its inputs) into the base directory of the repository. This can be
generated using qa/zcash/create_benchmark_archive.py (see the script for usage
details).

To facilitate generation of the fake CoinsDB, an additional field 'valueZat' has
been added to 'getrawtransaction' containing the integer number of zatoshis
instead of a decimal number of ZEC.

Closes #2355.
2017-05-18 11:03:46 +12:00
Homu 73676ce6d6 Auto merge of #2200 - str4d:1884-tx-priority-test, r=nathan-at-least
Fix prioritisetransaction RPC test

Part of #1884.
2017-05-16 11:54:49 -07:00
Jack Grigg 2857f6960d
Regenerate miner tests
Closes #2271.
2017-05-16 22:38:07 +12:00
Homu 38684e4c42 Auto merge of #2293 - daira:alerts-for-2017-04-11.a, r=nathan-at-least
Alerts for 2017-04-11.a security issue (fixed in 1.0.8-1)

Alert 1002 (versions 1.0.0-1.0.2 inclusive).
Alert 1003 (versions 1.0.3-1.0.8 inclusive).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-05-15 16:08:29 -07:00
Homu 2adeb3948b Auto merge of #2369 - nathan-at-least:build-toolchain-logging, r=nathan-at-least
Print toolchain versions before making depends, autoconf, or main build.

Closes #2218.

Note: I spent a half hour attempting to have make do this so that people not using `build.sh` would get the same output. There's no easy way I found to ensure that output occurs first and regardless of the result of other build rules.
2017-05-15 13:12:05 -07:00
Homu 0d77ed35ae Auto merge of #2340 - ioptio:master, r=nathan-at-least
wallet backup instructions

closes #2178
2017-05-15 11:19:40 -07:00
Homu e209ba4951 Auto merge of #2338 - amgadabdelhafez:patch-1, r=nathan-at-least
Update timedata.cpp to fix error message string from bitcoin core to zcash

Changing error message string from bitcoin core to zcash. fixes issue #2336
2017-05-15 09:42:19 -07:00
Homu 3a98e3b4c2 Auto merge of #2297 - str4d:2274-apoptosis, r=nathan-at-least
Implement automatic shutdown of deprecated Zcash versions

Closes #2274.
2017-05-14 18:39:14 -07:00
Homu 01bc99205a Auto merge of #2251 - str4d:2210-tor-quotedstring-escapes, r=nathan-at-least
Handle escapes in Tor QuotedStrings

Also adds a missing copyright header.

Closes #2210.
2017-05-13 15:24:58 -07:00
Homu 2869db7993 Auto merge of #2362 - daira:2361.disable-proton-by-default, r=nathan-at-least
Disable building Proton by default

fixes #2361

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-05-12 18:07:58 -07:00
Nathan Wilcox 867d3e344f Show toolchain versions in build.sh. 2017-05-11 22:02:00 -07:00
Paige Peterson 4088ac68db specify exportdir being within homedirectory 2017-05-11 22:43:01 -04:00
Jack Grigg b4f861d191 Wrap messages nicely on metrics screen 2017-05-12 14:41:50 +12:00
Jack Grigg 5b3bc9716e Implement automatic shutdown of deprecated Zcash versions
Closes #2274.
2017-05-12 14:41:46 +12:00
Paige Peterson 56dbd7b564 str4d and Ariel's suggestions 2017-05-11 19:51:21 -04:00
emilrus bcbcf1437e Replace bitcoind with zcashd 2017-05-11 11:41:13 +03:00