Commit Graph

10689 Commits

Author SHA1 Message Date
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
Daira Hopwood 1e9db0b38a Remove an unneeded version workaround as per @str4d's review comment.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-05-11 07:27:43 +01:00
Daira Hopwood b04529fefd Disable building Proton by default.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-05-10 16:54:58 +01:00
Amgad Abdelhafez 8dafb9c6ce Update timedata.cpp
Capitalizing the 'z' in "Zcash" string
2017-05-05 11:24:48 -04:00
Paige Peterson 8e27d624aa typo and rewording edits 2017-05-03 21:49:19 -04:00
Paige Peterson d5cdb0519a wallet backup instructions 2017-05-03 21:25:06 -04:00
Amgad Abdelhafez bed9dd2cd2 Update timedata.cpp
Changing error message string from botcoin core to zcash
2017-05-02 19:33:52 -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
Daira Hopwood 8d8318c947 Alert 1003 (versions 1.0.3-1.0.8 inclusive).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-04-24 19:55:20 +01:00
Daira Hopwood fa151bc517 Alert 1002 (versions 1.0.0-1.0.2 inclusive).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-04-24 19:42:12 +01:00
Jack Grigg 409606118b
Check that >3-digit octals are truncated. 2017-04-21 13:23:29 +12:00
Jack Grigg 8df5fd1116
Correctly handle three-digit octals with leading digit 4-7 2017-04-21 13:22:51 +12:00
Jack Grigg d15cab21bc
Address Daira's further comments 2017-04-21 13:15:39 +12:00
zkbot 20d61ac0ea Auto merge of #2270 - bitcartel:2269_change_regtest_port, r=daira
Change regtest port to 18344.  Closes #2269.
2017-04-19 11:07:49 +00:00
Jack Grigg 0b431fbdb5
Address Daira's comments 2017-04-19 15:23:28 +12:00
Jack Grigg 2bf4f2781b
[manpage] Handle build numbers in versions 2017-04-19 14:21:45 +12:00
Jack Grigg a2e20e9ac6
Convert Zcash versions to Debian format 2017-04-19 13:45:55 +12:00
Jack Grigg 519713d32e
torcontrol: Add missing copyright header 2017-04-18 12:54:22 +12:00
Jack Grigg b93cedafe4
torcontrol: Handle escapes in Tor QuotedStrings
https://trac.torproject.org/projects/tor/ticket/14999 is tracking an encoding
bug with the Tor control protocol, where many of the QuotedString instances that
Tor outputs are in fact CStrings, but it is not documented which ones are which.

https://spec.torproject.org/control-spec section 2.1.1 provides a future-proofed
rule for handing QuotedStrings, which this commit implements.
2017-04-18 12:54:16 +12:00
zkbot 8e96dc44dd Auto merge of #2205 - arcalinea:1804_zcash_addresses_in_help, r=daira
Change help text examples to use Zcash addresses

Closes #1804 and #2109

Ensures command line help text addresses are Zcash addresses.

Didn't change the text strings that say bitcoin or btc, leaving that for #2150 to close

Did I get all the addresses?
2017-04-17 15:49:37 +00:00
Simon 05844ba53b Change regtest port to 18344. Closes #2269. 2017-04-16 14:48:04 -07:00
zkbot ab3c2fe7b0 Auto merge of #2265 - daira:2263.fix-rpc-error-reporting, r=daira
Fix an error reporting bug due to BrokenPipeError and ConnectionResetError not existing in Python 2

refs #2263

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-04-16 16:56:16 +00:00