Commit Graph

12140 Commits

Author SHA1 Message Date
Taylor Hornby f3d99770b5 Update Proton from 0.17.0 to 0.26.0. #3816, #3786 2019-01-30 14:16:50 -07:00
Taylor Hornby 0a4cafa6df Update Rust from v1.28.0 to v1.32.0. #3786 2019-01-30 14:16:42 -07:00
Taylor Hornby 221ca965eb Update boost from v1.66.0 to v1.69.0. #3786 2019-01-30 14:16:34 -07:00
Taylor Hornby b41b316758 Update OpenSSL from 1.1.0h to 1.1.1a. #3786 2019-01-30 14:16:25 -07:00
Homu bf8ba762d6 Auto merge of #3737 - gtank:zmq_checkedblock, r=str4d
zmq: add flag to publish all checked blocks

This change adds a hook for the BlockChecked signal to the zmq publisher. This is useful for light wallet daemon initialization (see https://github.com/zcash/zcash/issues/3638 for context, and [lightwalletd](https://github.com/zcash-hackworks/lightwalletd) for implementation).

The new flag is `-zmqpubcheckedblock=address`, in keeping with the established style.
2019-01-23 12:53:51 -08:00
Homu beb465dd2e Auto merge of #3789 - rex4539:update-zmq, r=str4d
Update zmq to 4.3.1

Closes https://github.com/zcash/zcash/issues/3785
2019-01-23 00:17:25 -08:00
Homu 5862b2921b Auto merge of #3646 - Eirik0:transaction-builder-result, r=daira
Return more information when building a transaction fails

This PR is intended to make it easier to diagnose what went wrong when building a transaction using `TransactionBuilder` fails.
2019-01-22 10:14:27 -08:00
Homu 08dc0904fb Auto merge of #3711 - str4d:wallet-atomic-write-optimisation, r=Eirik0
wallet: Skip transactions with no shielded data in CWallet::SetBestChain()

Co-authored-by: Daira Hopwood <daira@jacaranda.org>

Closes #3495.
2019-01-21 13:16:00 -08:00
Homu beac3f3f62 Auto merge of #3766 - ca333:patch-3, r=mdr0id
update libsodium dl-path

the 1.0.15 was moved to https://download.libsodium.org/libsodium/releases/old/ which results in DL from zcashs fallback repo
2019-01-17 19:36:56 -08:00
Homu ac03c88b29 Auto merge of #3784 - Eirik0:3718-txexpiringsoon, r=str4d
Fix tx expiring soon test

Closes #3718
2019-01-17 17:30:36 -08:00
Eirik Ogilvie-Wigley c297558169 throw an exception rather than returning false when building invalid transactions 2019-01-17 15:19:13 -07:00
Eirik Ogilvie-Wigley d55d88707c Return more information when building a transaction fails 2019-01-17 15:10:42 -07:00
Eirik Ogilvie-Wigley a482e4c9fa Strategically sync to prevent intermittent failures 2019-01-17 15:00:57 -07:00
Eirik Ogilvie-Wigley 32212cbad7 Extract helper methods 2019-01-17 15:00:57 -07:00
Eirik Ogilvie-Wigley 5e654035a6 fail test if pong is not received 2019-01-17 15:00:57 -07:00
Eirik Ogilvie-Wigley 3dab742638 Check entire contents of mempool 2019-01-17 15:00:52 -07:00
Eirik Ogilvie-Wigley 57dcc9e6bf Make variables local 2019-01-17 14:58:50 -07:00
Eirik Ogilvie-Wigley 73859fd218 Move common code to helper 2019-01-17 14:58:46 -07:00
Dimitris Apostolou 4d0aca70a0
Update zmq to 4.3.1 2019-01-17 17:15:44 +02:00
Eirik Ogilvie-Wigley 23b329d912 flake8 cleanup 2019-01-14 14:00:24 -07:00
ca333 8eaa721dfd
update libsodium dl-path
the 1.0.15 was moved to https://download.libsodium.org/libsodium/releases/old/ which results in DL from zcashs fallback repo
2019-01-07 13:38:21 +01:00
Homu 8df7a073ce Auto merge of #3647 - LarryRuane:2926-mutex-assert-stop, r=str4d
On shutdown, wait for miner threads to exit (join them)

Closes #2926. Have `Shutdown()` running in the main thread wait for miner threads to exit before exiting.
2019-01-03 08:49:16 -08:00
Jack Grigg a6da0b03da
Set Sprout note data in WalletTest.WriteWitnessCache 2019-01-02 13:23:28 +00:00
Homu 66e39a0dd6 Auto merge of #3538 - mdr0id:mac_fix_local_rpctest, r=daira
Update for Mac OS local rpc-tests

This PR is for #3341 .

The main issue is that ```#!/usr/bin/env python2``` is not valid on Mac. However, ```#!/usr/bin/env python``` is standard for Python2.7 interpreter link.

On a side note, pyflakes does a passive check on modules imported per some python file. This allows modules to be imported even if they do not exist on the current system (e.g. pyzmq, pybake2). Ultimately, the missing modules wont throw errors until ```rpc-test.sh``` calls that python file.

I sanity checked running this update on an Ubuntu 16.04 node, and the tests pass as expected (minus a known issue that is independent from this update). Also have updated the RTD documentation for the MacOS user guide procedure.
2018-12-19 03:24:50 -08:00
Homu abd55f27f2 Auto merge of #3691 - ebfull:printsproutr1cs, r=daira
Allow user to ask server to save the Sprout R1CS to a file during startup.

This adds an experimental feature `-savesproutr1cs` which can be used to save the file `r1cs` containing the constraint system used in the original launch of Zcash. The file is written to the parameters directory. This can be used to recover this file for verification of the Sprout MPC transcript and parameters.
2018-12-18 23:28:06 -08:00
mdr0id 4ca5def62f Make pythonisms consistent 2018-12-18 12:16:23 -08:00
George Tankersley 0c6bd14d06 zmq: remove extraneous space from zmq_sub.py 2018-12-17 14:53:53 -05:00
Homu e84b865a55 Auto merge of #3716 - charlieok:initialize_params_in_transaction_builder_tests, r=daira
initialize pCurrentParams in TransactionBuilder tests

In issue https://github.com/zcash/zcash/issues/3715 the failing tests were calling Params(), which includes an assertion that pCurrentParams is not null, without first calling SelectParams(), which will set that pointer. All the other tests in the same test case (which don't fail in the manner described in #3715 ) start out by calling `SelectParams(CBaseChainParams::REGTEST);`.

This change adds an identical call to the affected tests, getting past the failed assertion  in Params() on pCurrentParams.

Here is a GitLab pipeline showing output from these tests run in isolation before this change:
https://gitlab.com/charlieok/zcash/pipelines/38304730

...and here is one with the same set of tests after this change:
https://gitlab.com/charlieok/zcash/pipelines/38307556
2018-12-16 06:01:54 -08:00
George Tankersley 260e81a8b1 zmq: add flag to publish all checked blocks
This change adds a hook for the BlockChecked signal to the zmq
publisher. This is useful for light wallet daemon initialization.

The new flag is `-zmqpubcheckedblock=address`
2018-12-15 00:02:52 -05:00
Homu c4d352166d Auto merge of #3699 - Eirik0:mergetoaddress-doc-update, r=daira
Update z_mergetoaddress documentation

Corrected an error, added clarification, and updated some formatting for z_mergetoaddress documentation.
2018-12-12 11:58:18 -08:00
Eirik Ogilvie-Wigley 25f1f7dc61 Update z_mergetoaddress documentation 2018-12-11 14:25:35 -07:00
Jack Grigg 7afb23ef31
Add Sapling test cases 2018-12-01 15:55:34 +00:00
Jack Grigg c3eaffdb48
Use nullptr instead of NULL in wallet tests 2018-12-01 15:51:00 +00:00
Homu 9cd74866c7 Auto merge of #3262 - str4d:2074-perf-1, r=str4d
Bitcoin 0.12 performance improvements

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6918
- bitcoin/bitcoin#6932

Part of #2074.
2018-11-30 15:25:33 -08:00
Homu 93dd24cc2d Auto merge of #3707 - Eirik0:3698-fix-help-output, r=daira
Remove --disable-libs flag from help output

The --disable-libs option was removed. This PR removes it from the output of `./zcutil/build.sh --help`.
2018-11-30 13:04:20 -08:00
Homu 8e2ca4d94e Auto merge of #3714 - mdr0id:release-v2.0.2, r=bitcartel
Release v2.0.2
2018-11-30 10:18:43 -08:00
mdr0id 6f8d182f50 Add Charlie and Ariel alias to author_aliases
Update approx_release_height to allow pre-rel to get into master prior

Bump APPROX_RELEASE_HEIGHT due to transient failures in pre-release 2.0.2 PR
2018-11-30 10:04:49 -08:00
Homu 62aacb5c95 Auto merge of #3717 - mdr0id:pre-release_2.0.2, r=ianamunoz
Pre-Release 2.0.2

Update nnMinimumChainWork per 2.0.2 getblockchaininfo
2018-11-29 15:01:08 -08:00
mdr0id 9a126cbb70 Update nnMinimumChainWork per 2.0.2 getblockchaininfo 2018-11-29 10:32:18 -08:00
Charlie O'Keefe 67d2b19caa initialize pCurrentParams in TransactionBuilder tests
These three tests were failing when run in isolation, or sporadically
when test order is randomized, since Params() includes an assertion that
pCurrentParams is not null.
2018-11-29 01:40:37 -07:00
mdr0id 4336741c35 make-release.py: Updated release notes and changelog for 2.0.2. 2018-11-28 11:09:08 -08:00
mdr0id 2d9d69f747 make-release.py: Updated manpages for 2.0.2. 2018-11-28 11:09:07 -08:00
mdr0id d974ec3fec make-release.py: Versioning changes for 2.0.2. 2018-11-28 11:00:22 -08:00
Jack Grigg 0de659946e
wallet: Skip transactions with no shielded data in CWallet::SetBestChain()
Co-authored-by: Daira Hopwood <daira@jacaranda.org>

Closes #3495.
2018-11-28 00:56:42 +01:00
Eirik Ogilvie-Wigley e7860a2843 Remove --disable-libs flag from help output 2018-11-26 12:45:17 -07:00
Homu 6bb3124367 Auto merge of #3697 - LarryRuane:nonascii-in-rpc-help, r=daira
remove non-ascii characters from help text

Nonascii characters in output displayed to the user can break python scripts.
2018-11-22 02:52:25 -08:00
Larry Ruane 23c9deafb7 remove non-ascii characters from help text 2018-11-20 17:41:45 -07:00
Homu aae4b57e4d Auto merge of #3694 - mdr0id:release-v2.0.2-rc1, r=ianamunoz
Release v2.0.2 rc1
2018-11-19 17:56:43 -08:00
mdr0id bfd87b641d make-release.py: Updated release notes and changelog for 2.0.2-rc1. 2018-11-18 10:19:49 -08:00
mdr0id 0432ffe1aa make-release.py: Updated manpages for 2.0.2-rc1. 2018-11-18 10:19:48 -08:00