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
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
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
Jack Grigg
109fed51ff
Additional test cases for importprivkey RPC test
2017-09-21 22:21:44 +01:00
Homu
0eebdefb8a
Auto merge of #2597 - kpcyrd:fetch-ipfs, r=str4d
...
Fetch params from ipfs if possible
This patch allows fetch-params to download the params from [ipfs], if it's installed. This reduces the need for a central server and ensures the params are available if the official server ceases to exist.
For now, the default is still wget. If wget exits with an error, the script automatically tries ipfs. To use ipfs instead of wget:
ZC_DISABLE_WGET=1 ./zcutil/fetch-params.sh
[ipfs]: https://github.com/ipfs/go-ipfs
2017-09-21 09:26:29 -07:00
kpcyrd
076e177dd9
Prefer wget over ipfs
2017-09-21 03:28:14 +02:00
kpcyrd
3ccbbe31a4
Fetch params from ipfs if possible
...
Disable ipfs with ZC_DISABLE_IPFS=
2017-09-21 03:28:04 +02:00
Homu
60b4a79000
Auto merge of #2620 - bitcartel:2583_watch_only_fspendable, r=str4d
...
Closes #2583 . Exclude watch-only utxos from coin selection.
2017-09-20 04:49:48 -07:00
Simon
5a0721f0fe
Set up a clean chain.
...
Delete redundant method wait_until_miner_sees() via use of sync_all().
2017-09-19 20:42:53 -07:00
Simon
b17e1b4080
Closes #2583 . Exclude watch-only utxos from z_sendmany coin selection.
2017-09-19 19:42:48 -07:00
Homu
e797c7bdb1
Auto merge of #2586 - str4d:release-script-build-progress, r=str4d
...
Add build progress to the release script if progressbar module is available
Install progressbar2 in your Python path to see the build progress.
2017-09-19 14:43:11 -07:00
Jack Grigg
53e1e64d44
List dependencies for release script in release process doc
2017-09-19 22:32:59 +01:00
Homu
17cb84a63f
Auto merge of #2582 - arielgabizon:apitweak, r=daira
...
add examples to z_getoperationresult
Add examples of usage in payment-api.md
2017-09-19 13:37:58 -07:00
Homu
6e9964ff70
Auto merge of #2613 - arielgabizon:load-wallet-benchmark, r=str4d
...
Add load-wallet benchmark
Closes #2518 .
2017-09-19 01:52:22 -07:00
Homu
2dfc8842ae
Auto merge of #2618 - str4d:2596-user-guide-t9n, r=str4d
...
Update user guide translations as part of release process
Part of #2596 .
2017-09-18 18:21:19 -07:00
Homu
151932d478
Auto merge of #2600 - str4d:2497-hotfix-release, r=str4d
...
Implement process for hotfix releases
Closes #2497 .
2017-09-18 16:02:26 -07:00
Ariel Gabizon
2e8aefdce1
add load-wallet benchmark
2017-09-18 21:54:53 +02:00
Homu
61d9c6745a
Auto merge of #2545 - bhjortsberg:fixes-for-gcc-7, r=str4d
...
Fixes for gcc 7
This fixes a few issues when using a newer compiler (in my case gcc 7.1.1) available in for example Arch Linux.
Solves for example this issue: https://github.com/zcash/zcash/issues/2304
The first thing is an error when checking for boost_system and is solved by disabling that warning (wich is treated as an error and, hence, stops the build):
```
configure:22242: checking for exit in -lboost_system-mt
configure:22267: g++ -m64 -o conftest -std=c++11 -pipe -fPIC -O1 -fwrapv -fno-strict-aliasing -Werror -g -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -fPIE ..<snip>... /x86_64-unknown-linux-gnu/share/../lib conftest.cpp -lboost_system-mt -lanl >&5
conftest.cpp:70:6: error: declaration of 'char exit()' conflicts with built-in declaration 'void exit(int)' [-Werror=builtin-declaration-mismatch]
char exit ();
^~~~
cc1plus: all warnings being treated as errors
```
The second thing was to clean some code that is deprecated in C++11 which also lead to a warning treated as error. It could also be fixed with `-Wno-deprecated` but better to fix the issue in my opinion.
2017-09-18 11:45:24 -07:00
Jack Grigg
fd5724eca7
make-release.py: Send stderr to stdout
2017-09-18 10:45:03 +01:00
Jack Grigg
200ef16950
Update user guide translations as part of release process
...
Part of #2596 .
2017-09-18 08:34:34 +01:00
Homu
e0bef1de56
Auto merge of #2564 - str4d:2074-currency-units, r=str4d
...
Rationalize currency unit to "ZEC"
Cherry-picked from the upstream PR bitcoin/bitcoin#6504
Part of #2074
2017-09-18 00:07:52 -07:00
Nathan Wilcox
de422c066b
[tests pass] Ensure `importprivkey` outputs the address in case key is already imported.
2017-09-18 15:30:42 +09:00
Nathan Wilcox
3e92c028ce
Add a new requirement that `importprivkey` API is idempotent.
2017-09-18 15:30:42 +09:00
Nathan Wilcox
d187317083
[tests pass] Output address on new key import.
2017-09-18 15:30:42 +09:00