Commit Graph

10784 Commits

Author SHA1 Message Date
Homu
4c9b77d8fb Auto merge of #2654 - str4d:429-test-driver-script, r=str4d
[Test] New merge test suite driver script

Running the script with no arguments will run all test stages in succession.
Passing one or more stages as arguments will run just those stages.

Closes #429.
2017-10-16 21:51:21 -07:00
Jack Grigg
6e98511cf1 Add stdout notice if any stage fails 2017-10-16 16:16:14 -04:00
Jack Grigg
88fbdc4868 Add bitcoin-util-test.py to full_test_suite.py
Not moved, because upstream makes improvements to this script, and the need to
set environment variables makes it simpler to just use the given script.
2017-10-16 16:15:10 -04:00
Homu
a2dc9be5c5 Auto merge of #2533 - str4d:2530-mininode, r=str4d
Migrate MiniNode to Zcash

This enables various RPC tests that use it (most of them in the extended test suite) to properly test Zcash code.

The PR also fixes bugs in the BIP65 and BIP66 tests that were both masking and masked by the un-migrated MiniNode.

The Python module `pyblake2` is now a requirement for the RPC tests.

Part of #2530.
2017-10-16 08:43:58 -07:00
Homu
af549fe6ed Auto merge of #2650 - str4d:2645-listunspent-benchmark, r=str4d
Add benchmark for listunspent

Closes #2645.
2017-10-12 15:24:53 -07:00
Homu
d7c4e19f80 Auto merge of #2648 - str4d:ci-workers-grind, r=str4d
Add Ansible playbook for grind workers
2017-10-12 14:09:08 -07:00
Homu
4ad2f17fcb Auto merge of #2659 - str4d:2377-memory-validatelargetx, r=str4d
Add memory benchmark for validatelargetx

Closes #2377.
2017-10-12 13:05:11 -07:00
Jack Grigg
94790c5d8f Add memory benchmark for validatelargetx 2017-10-09 22:18:28 +01:00
Jack Grigg
c6af0aa453 Move check-security-hardening.sh into full_test_suite.py 2017-10-06 11:17:45 +01:00
Jack Grigg
105b2b6248 Move ensure-no-dot-so-in-depends.py into full_test_suite.py 2017-10-06 11:17:45 +01:00
Jack Grigg
aadf3aa159 Replace full-test-suite.sh with a new test suite driver script
This will be the canonical location for the entire Zcash merge test suite.
2017-10-06 11:17:11 +01:00
Homu
4485d5d3f3 Auto merge of #2548 - jasondavies:fix-bitcoin-mentions, r=str4d
Replace "Bitcoin" with "Zcash" in thread names and error messages

Part of #1756.
2017-10-05 10:58:02 -07:00
Jason Davies
b30900a54b Replace "bitcoin" with "Zcash". 2017-10-05 18:10:15 +01:00
Homu
ab28fc4ec3 Auto merge of #2150 - brunoarueira:removes_btc_mentions, r=str4d
Replace "Bitcoin" with "Zcash" in strings

Closes #1756
2017-10-05 08:55:53 -07:00
Jack Grigg
f8ef223ce3 Un-indent RPC test output in test runner
The indentation caused the test stdout to be buffered and only printed at the
end of the test, which makes it harder to diagnose hanging tests.
2017-10-05 15:18:58 +01:00
Jack Grigg
5455ca0d0e Fix BIP65 and BIP66 tests
Blocks were being created that didn't satisfy the regtest consensus rules.
2017-10-05 15:18:54 +01:00
Jack Grigg
c10c40779d [Test] MiniNode: Implement Zcash coinbase 2017-10-05 15:18:53 +01:00
Jack Grigg
7596a4922d [Test] MiniNode: Coerce OP_PUSHDATA bytearrays to bytes
If a bytearray is passed in as part of an iterable, the CScript constructor
fails because b''.join() cannot be used to join a bytearray to a bytes or str in
Python 2.
2017-10-05 15:18:31 +01:00
Jack Grigg
643235859a [Test] MiniNode: Fix coinbase creation
CScriptNum is only used for heights > 16.
2017-10-05 15:18:27 +01:00
Jack Grigg
e68c3ec188 [Test] MiniNode: Use Zcash PoW
Equihash solver code extracted from https://github.com/str4d/zcash-pow

RPC tests now require pyblake2 to be installed
2017-10-05 15:15:10 +01:00
Jack Grigg
0de9a481ab [Test] MiniNode: Update protocol version and network magics 2017-10-05 15:15:10 +01:00
Jack Grigg
31bc3d2581 [Test] MiniNode: Implement Zcash block parsing 2017-10-05 15:15:10 +01:00
Jack Grigg
c47dc872a7 [Test] MiniNode: Implement v2 CTransaction parsing 2017-10-05 15:15:10 +01:00
Jack Grigg
13ca1e8011 [Test] MiniNode: Implement JSDescription parsing 2017-10-05 15:15:06 +01:00
Simon
6de850120f Replace 'bitcoin address' with 'zcash address'. 2017-10-04 17:07:07 -07:00
Jay Graber
c16528495c s/zcash/Zcash 2017-10-04 17:06:51 -07:00
Bruno Arueira
d2c1e4a807 Removes out bitcoin mention in favor for zcash
Bitcoin Core => Zcash
bitcoin address => Zcash address
bitcoinaddress => zcashaddress

Closes #1756
2017-10-04 17:05:30 -07:00
Jack Grigg
99dd50c30c Add benchmark for listunspent
Closes #2645.
2017-10-04 12:48:50 +01:00
Jack Grigg
243b6a9d4b Add connections in BIP65 and BIP66 tests to the test manager
Fixes a bug in the tests causing them to silently pass instead of correctly
reporting other errors. Introduced in 4a785b0a5b
during the test rewrites.
2017-10-03 17:41:37 +01:00
Jack Grigg
2c016e06c7 Add Ansible playbook for grind workers 2017-10-02 21:37:13 +01:00
Homu
b86b9feb6c Auto merge of #2642 - str4d:release-v1.0.12, r=str4d
Release v1.0.12
2017-09-28 01:29:24 -07:00
Jack Grigg
8988766730 make-release.py: Updated release notes and changelog for 1.0.12. 2017-09-28 01:26:44 +01:00
Jack Grigg
eb6d25e7ab make-release.py: Updated manpages for 1.0.12. 2017-09-28 01:24:59 +01:00
Jack Grigg
0f49863acb make-release.py: Versioning changes for 1.0.12. 2017-09-28 01:17:05 +01:00
Homu
e806f9c603 Auto merge of #2638 - bitcartel:2637_experimental_feature_z_shieldcoinbase, r=str4d
Closes #2637. Make z_shieldcoinbase an experimental feature.

Can be enabled with: `zcashd -experimentalfeatures -zshieldcoinbase`
2017-09-27 16:09:54 -07:00
Homu
e2ef206ee3 Auto merge of #2640 - str4d:perf-benchmark-fixes, r=str4d
Perf benchmark fixes
2017-09-27 11:51:08 -07:00
Jack Grigg
091c089d03 Fix incorrect failure in memory benchmark 2017-09-27 19:42:39 +01:00
Jack Grigg
72b4f0b3e6 Individualise performance-measurements.sh errors for debugging 2017-09-27 19:41:54 +01:00
Simon
5023af7bd5 Closes #2637. Make z_shieldcoinbase an experimental feature where it
can be enabled with: zcashd -experimentalfeatures -zshieldcoinbase.
2017-09-27 10:43:54 -07:00
Homu
056110fe08 Auto merge of #2636 - str4d:pyflakes-fixes, r=str4d
Fix pyflakes warnings in RPC tests
2017-09-27 09:31:21 -07:00
Jack Grigg
f897e075c2 Fix pyflakes warnings in RPC tests 2017-09-27 17:24:19 +01:00
Homu
14148301e6 Auto merge of #2632 - bitcartel:2623_update_getbestanchor_lock, r=str4d
Update which lock to synchronize on when calling GetBestAnchor().

Closes issue #2623.
2017-09-27 07:14:20 -07:00
Simon
b85008e786 Update which lock to synchronize on when calling GetBestAnchor(). 2017-09-26 10:16:33 -07:00
Homu
6e4ce0dfa2 Auto merge of #2627 - str4d:release-v1.0.12-rc1, r=str4d
Release v1.0.12-rc1
2017-09-23 03:21:25 -07:00
Jack Grigg
29a2ee4958 make-release.py: Updated release notes and changelog for 1.0.12-rc1. 2017-09-23 10:51:36 +01:00
Jack Grigg
94183b6360 make-release.py: Updated manpages for 1.0.12-rc1. 2017-09-23 10:50:00 +01:00
Jack Grigg
39cb7df909 make-release.py: Versioning changes for 1.0.12-rc1. 2017-09-23 10:42:23 +01:00
Homu
f34c60de37 Auto merge of #2615 - bitcartel:2448_shield_coinbase, r=bitcartel
Add RPC command shield_coinbase #2448.

Shield transparent coinbase funds by sending to a shielded z address. Closes #2448.
2017-09-22 12:04:31 -07:00
Simon
06c19063bb Implement RPC shield_coinbase #2448. 2017-09-21 15:04:12 -07:00
Homu
8f16b27304 Auto merge of #2616 - nathan-at-least:importprivkey-shows-address.4, r=str4d
Importprivkey shows address

Scratching an itch: make `importprivkey` output the corresponding address.

Without this PR, `importprivkey` shows no output. Because we're moving towards an "address-based" RPC interface, rather than "account-based", there's a gap when using `importprivkey` because there's no way to assign it to a specific account, but also no easy way to determine the address. This change fixes that wart.
2017-09-21 14:29:03 -07:00