Commit Graph

10718 Commits

Author SHA1 Message Date
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
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
Jack Grigg
de3e143461 Clarify branching and force-building operations in hotfix process 2017-09-15 10:52:51 +01:00
Homu
d1bba6f1b6 Auto merge of #2601 - str4d:2156-large-wallet-utxos, r=str4d
Benchmark time to call sendtoaddress with many UTXOs

Part of #2156.
2017-09-13 15:38:57 -07:00
Homu
3d2122d5b5 Auto merge of #2609 - str4d:2262-github-release-notes, r=str4d
Add GitHub release notes to release process

Closes #2262.
2017-09-13 13:53:28 -07:00
Jack Grigg
99b7cfb3a2 Add GitHub release notes to release process
Closes #2262.
2017-09-12 12:05:02 +01:00
Jack Grigg
e719bf75d4 Adjust instructions for UTXO dataset creation
--nocleanup is sufficient to leave the data directories behind. --noshutdown is
only useful if you want to inspect the nodes afterwards, and you'd need to
manually shut down both nodes before copying the data directories.
2017-09-11 21:53:35 +01:00
Jack Grigg
d669871e8b Fix bug in benchmark data generation script 2017-09-06 19:52:35 +01:00
Homu
446c49b047 Auto merge of #2560 - str4d:ci-workers-bugfix, r=str4d
ci-workers: Bugfixes and improvements
2017-09-06 04:32:03 -07:00
Homu
053fafc21a Auto merge of #2570 - jasondavies:fix-deprecation-comment, r=str4d
Fix deprecation policy comment.

Thanks to @daira for spotting this and suggesting the correct policy.

Feel free to adjust wording, this is primarily to track the issue and suggest a potential fix.
2017-09-04 14:35:39 -07:00
Jack Grigg
a76174b76b Benchmark time to call sendtoaddress with many UTXOs 2017-08-31 02:15:06 +01:00
Jack Grigg
24bfc7c6c6 Enforce sequential hotfix versioning 2017-08-31 02:05:07 +01:00
Jack Grigg
df3005f955 Document the hotfix release process 2017-08-31 02:04:49 +01:00
Jack Grigg
869c9f91c4 Add hotfix support to release script 2017-08-30 13:02:50 +01:00
Jason Davies
d6252a9473 Fix deprecation policy comment.
Thanks to @daira for spotting this and suggesting the correct policy.
2017-08-15 19:09:12 +01:00
Homu
02dd675a25 Auto merge of #2585 - str4d:release-v1.0.11, r=str4d
Release v1.0.11
2017-08-15 09:22:56 -07:00
Jack Grigg
71629a3c0b make-release.py: Updated release notes and changelog for 1.0.11. 2017-08-15 10:06:25 +01:00
Jack Grigg
d8e7bdd6cd make-release.py: Updated manpages for 1.0.11. 2017-08-15 10:06:08 +01:00
Jack Grigg
2fd43c599f make-release.py: Versioning changes for 1.0.11. 2017-08-15 09:52:36 +01:00
Ariel
251ab9b3d7 add examples to z_getoperationresult 2017-08-13 18:22:14 +02:00
Jack Grigg
bac53a2c1d ci-workers: Variable overrides and process tweaks for CentOS 7
Part of #2510
2017-08-10 00:00:21 +02:00
Jack Grigg
2e839df328 ci-workers: Fail if Python is not version 2.7
Ansible works with Python 2.6 and 2.7, but Buildbot requires 2.7. Both have
at least preliminary Python 3 support, but until our RPC tests are migrated to
Python 3, we need to use Python 2 for testing, and so this requirement stands.
2017-08-08 00:19:23 +01:00
Jack Grigg
6dec2d0355 Rationalize currency unit to "ZEC" 2017-08-03 18:49:04 +01:00
Ross Nicoll
091b2116a0 Rationalize currency unit to "BTC"
Previously various user-facing strings have used inconsistent currency units "BTC",
"btc" and "bitcoins". This adds a single constant and uses it for each reference to
the currency unit.

Also adds a description of the unit for --maxtxfee, and adds the missing "amount"
field description to the (deprecated) move RPC command.
2017-08-03 16:32:41 +01:00
Jack Grigg
30cc2b846e Variable overrides for Arch Linux
Part of #2550
2017-08-03 14:36:51 +01:00
Homu
2a42478bff Auto merge of #2562 - arielgabizon:release-v1.0.11-rc1, r=daira
Release v1.0.11 rc1
2017-08-01 12:37:26 -07:00
Ariel Gabizon
1ea4df6826 make-release.py: Updated release notes and changelog for 1.0.11-rc1. 2017-08-01 17:12:52 +02:00
Ariel Gabizon
dc5d6d5f5d make-release.py: Updated manpages for 1.0.11-rc1. 2017-08-01 17:12:50 +02:00
Ariel Gabizon
fcf824e9f1 make-release.py: Versioning changes for 1.0.11-rc1. 2017-08-01 17:11:57 +02:00
Jack Grigg
8ebb299d40 ci-workers: Enable pipelining, and use root to set admin and host details
Workarounds for Ansible issues when becoming an unprivileged user:
https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user
2017-08-01 12:35:58 +01:00
Homu
10acd8a1fb Auto merge of #2484 - str4d:block-download-completion, r=daira
Add block download progress to metrics UI
2017-07-28 21:57:19 -07:00
Jack Grigg
92bfde0edf Improve network height estimation 2017-07-28 10:50:07 +00:00
Jack Grigg
4a651837be Correct and extend EstimateNetHeightInner tests
Corrections are to the median block times, which were generated by subtracting
CBlockIndex::nMedianTimeSpan / 2 from the block height and then multiplying by
the target spacing. GetMedianTimePast() takes an array sorted by std::sort() and
returns element CBlockIndex::nMedianTimeSpan / 2, meaning that if
CBlockIndex::nMedianTimeSpan is odd (which it is), there is an out-by-one error
in the subtraction.
2017-07-28 10:45:44 +00:00
Homu
d6e6f51724 Auto merge of #2526 - bitcartel:2480_segfault_zeroconf_from_zaddr, r=daira
Fixes #2480 where missing map entry would cause a segfault.

`wtxHeight = mapBlockIndex[wtx.hashBlock]->nHeight;` results in undefined behaviour when the block hash is not present in the map, returning a null value which is dereferenced via `->nHeight`.  This error is triggered by a zero-conf wallet transaction which has not been mined yet.  As discussed in #2480, on some systems there is a segfault whilst on others there is a silent exit.  This makes it difficult to write a test, but the fix has been tested empirically to confirm an exception is thrown.  This PR fixes the segfault and complements #2525 which prevents a user from sending from a zaddr with minconf 0.
2017-07-27 22:42:59 -07:00
Jack Grigg
047aec1e0e Add block download progress to metrics UI 2017-07-26 00:51:12 +00:00
Homu
e88ab1a920 Auto merge of #2529 - str4d:2444-rpc-www-authenticate, r=daira
[rpc] Add WWW-Authenticate header to 401 response

Fix cherry-picked from upstream PR bitcoin/bitcoin#7472.

Closes #2444.
2017-07-25 15:36:33 -07:00
Homu
eeac474228 Auto merge of #2543 - nathan-at-least:2499-specify-ci-worker-criteria, r=daira
Document our criteria for adding CI workers.

This is a doc improvement that came out of #2499.
2017-07-25 14:16:22 -07:00
Daira Hopwood
75401530d7 Document our criteria for adding CI workers. closes #2499
Author: Nathan Wilcox <nathan@z.cash>
Author: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-07-25 21:27:16 +01:00
Homu
a698116b28 Auto merge of #2478 - bitcartel:2477_send_alert_1.0.10, r=daira
Alert for 2017-06-23.a degraded networking (fixed in 1.0.10-1)

Alert 1004 (version 1.0.10 only) Issue #2477
2017-07-25 13:03:53 -07:00
Homu
95d18784ec Auto merge of #2525 - bitcartel:2519_no_zero_minconf_from_zaddr_zsendmany, r=daira
When sending from a zaddr, minconf cannot be zero.

Closes #2519.
2017-07-20 08:24:54 -07:00
Bjorn Hjortsberg
ecd04e914f Remove deprecated exception specification
Warns on a newer compiler that these are deprecated in C++11
2017-07-20 13:58:39 +02:00
Bjorn Hjortsberg
4272a1e2b1 Do not warn on built in declaration mismatch 2017-07-20 13:27:37 +02:00
Homu
d2627bc65d Auto merge of #2504 - daira:2501.remove-upnp, r=daira
Remove UPnP support. fixes #2500

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-07-16 03:43:54 -07:00
Homu
d3a976095f Auto merge of #2509 - str4d:ci-workers, r=str4d
Ansible playbook for configuring CI workers

The playbook in this PR can be used for configuring common Unix variants to run a Buildbot worker for the Zcash CI, starting from a fresh install (or a VM template provided by a hosting service).
2017-07-14 19:10:21 -07:00