]> Git Repo - VerusCoin.git/log
VerusCoin.git
5 years agoAuto merge of #3817 - Eirik0:3646-better-error-msgs, r=mdr0id
Homu [Tue, 19 Feb 2019 18:09:43 +0000 (10:09 -0800)]
Auto merge of #3817 - Eirik0:3646-better-error-msgs, r=mdr0id

Improve some error messages when building a transaction fails

Follow up from #3646

5 years agoAuto merge of #3843 - str4d:sapling-bench-runner, r=mdr0id
Homu [Mon, 18 Feb 2019 23:12:54 +0000 (15:12 -0800)]
Auto merge of #3843 - str4d:sapling-bench-runner, r=mdr0id

Add Sapling benchmarks to benchmark runner

Follow-up to #3611. Once this is merged, we can add the Sapling benchmarks to CI.

5 years agoAdd Sapling benchmarks to benchmark runner
Jack Grigg [Sat, 16 Feb 2019 18:44:16 +0000 (18:44 +0000)]
Add Sapling benchmarks to benchmark runner

5 years agoAuto merge of #3809 - defuse:dependency-updates, r=str4d
Homu [Fri, 15 Feb 2019 01:30:04 +0000 (17:30 -0800)]
Auto merge of #3809 - defuse:dependency-updates, r=str4d

Dependency Updates

This updates:

- Boost from 1.66.0 to 1.69.0
- OpenSSL From 1.1.0h to 1.1.1a
- Proton from 0.17.0 to 0.26.0
- Rust from 1.28.0 to 1.32.0

5 years agoAuto merge of #3833 - mdr0id:release-v2.0.3, r=mdr0id
Homu [Mon, 11 Feb 2019 18:34:20 +0000 (10:34 -0800)]
Auto merge of #3833 - mdr0id:release-v2.0.3, r=mdr0id

Release v2.0.3

5 years agomake-release.py: Updated release notes and changelog for 2.0.3.
mdr0id [Mon, 11 Feb 2019 17:16:09 +0000 (09:16 -0800)]
make-release.py: Updated release notes and changelog for 2.0.3.

5 years agomake-release.py: Updated manpages for 2.0.3.
mdr0id [Mon, 11 Feb 2019 17:16:09 +0000 (09:16 -0800)]
make-release.py: Updated manpages for 2.0.3.

5 years agomake-release.py: Versioning changes for 2.0.3.
mdr0id [Mon, 11 Feb 2019 17:05:39 +0000 (09:05 -0800)]
make-release.py: Versioning changes for 2.0.3.

5 years agoUpdate nMinimumChainWork with information from the getblockchaininfo RPC
mdr0id [Mon, 11 Feb 2019 17:04:13 +0000 (09:04 -0800)]
Update nMinimumChainWork with information from the getblockchaininfo RPC

5 years agoPatch Proton for a minimal build. #3786
Taylor Hornby [Wed, 30 Jan 2019 21:13:41 +0000 (14:13 -0700)]
Patch Proton for a minimal build. #3786

5 years agoAuto merge of #3826 - mdr0id:release-v2.0.3-rc1, r=mdr0id
Homu [Tue, 5 Feb 2019 02:03:05 +0000 (18:03 -0800)]
Auto merge of #3826 - mdr0id:release-v2.0.3-rc1, r=mdr0id

Release v2.0.3 rc1

5 years agomake-release.py: Updated release notes and changelog for 2.0.3-rc1.
mdr0id [Mon, 4 Feb 2019 20:05:43 +0000 (12:05 -0800)]
make-release.py: Updated release notes and changelog for 2.0.3-rc1.

5 years agomake-release.py: Updated manpages for 2.0.3-rc1.
mdr0id [Mon, 4 Feb 2019 20:05:43 +0000 (12:05 -0800)]
make-release.py: Updated manpages for 2.0.3-rc1.

5 years agomake-release.py: Versioning changes for 2.0.3-rc1.
mdr0id [Mon, 4 Feb 2019 19:51:52 +0000 (11:51 -0800)]
make-release.py: Versioning changes for 2.0.3-rc1.

6 years agoUpdate Proton from 0.17.0 to 0.26.0. #3816, #3786
Taylor Hornby [Wed, 30 Jan 2019 06:29:08 +0000 (23:29 -0700)]
Update Proton from 0.17.0 to 0.26.0. #3816, #3786

6 years agoUpdate Rust from v1.28.0 to v1.32.0. #3786
Taylor Hornby [Wed, 23 Jan 2019 19:20:49 +0000 (12:20 -0700)]
Update Rust from v1.28.0 to v1.32.0. #3786

6 years agoUpdate boost from v1.66.0 to v1.69.0. #3786
Taylor Hornby [Wed, 23 Jan 2019 18:28:48 +0000 (11:28 -0700)]
Update boost from v1.66.0 to v1.69.0. #3786

6 years agoUpdate OpenSSL from 1.1.0h to 1.1.1a. #3786
Taylor Hornby [Wed, 23 Jan 2019 17:55:43 +0000 (10:55 -0700)]
Update OpenSSL from 1.1.0h to 1.1.1a. #3786

6 years agoImprove some error messages when building a transaction fails
Eirik Ogilvie-Wigley [Wed, 30 Jan 2019 11:12:15 +0000 (04:12 -0700)]
Improve some error messages when building a transaction fails

6 years agoAuto merge of #3737 - gtank:zmq_checkedblock, r=str4d
Homu [Wed, 23 Jan 2019 20:53:51 +0000 (12:53 -0800)]
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.

6 years agoAuto merge of #3789 - rex4539:update-zmq, r=str4d
Homu [Wed, 23 Jan 2019 08:17:25 +0000 (00:17 -0800)]
Auto merge of #3789 - rex4539:update-zmq, r=str4d

Update zmq to 4.3.1

Closes https://github.com/zcash/zcash/issues/3785

6 years agoAuto merge of #3646 - Eirik0:transaction-builder-result, r=daira
Homu [Tue, 22 Jan 2019 18:14:27 +0000 (10:14 -0800)]
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.

6 years agoAuto merge of #3711 - str4d:wallet-atomic-write-optimisation, r=Eirik0
Homu [Mon, 21 Jan 2019 21:16:00 +0000 (13:16 -0800)]
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 <[email protected]>
Closes #3495.

6 years agoAuto merge of #3766 - ca333:patch-3, r=mdr0id
Homu [Fri, 18 Jan 2019 03:36:56 +0000 (19:36 -0800)]
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

6 years agoAuto merge of #3784 - Eirik0:3718-txexpiringsoon, r=str4d
Homu [Fri, 18 Jan 2019 01:30:36 +0000 (17:30 -0800)]
Auto merge of #3784 - Eirik0:3718-txexpiringsoon, r=str4d

Fix tx expiring soon test

Closes #3718

6 years agothrow an exception rather than returning false when building invalid transactions
Eirik Ogilvie-Wigley [Wed, 31 Oct 2018 16:15:37 +0000 (10:15 -0600)]
throw an exception rather than returning false when building invalid transactions

6 years agoReturn more information when building a transaction fails
Eirik Ogilvie-Wigley [Tue, 30 Oct 2018 20:12:40 +0000 (14:12 -0600)]
Return more information when building a transaction fails

6 years agoStrategically sync to prevent intermittent failures
Eirik Ogilvie-Wigley [Tue, 15 Jan 2019 04:27:01 +0000 (21:27 -0700)]
Strategically sync to prevent intermittent failures

6 years agoExtract helper methods
Eirik Ogilvie-Wigley [Mon, 14 Jan 2019 23:04:16 +0000 (16:04 -0700)]
Extract helper methods

6 years agofail test if pong is not received
Eirik Ogilvie-Wigley [Mon, 14 Jan 2019 21:37:31 +0000 (14:37 -0700)]
fail test if pong is not received

6 years agoCheck entire contents of mempool
Eirik Ogilvie-Wigley [Mon, 14 Jan 2019 21:29:39 +0000 (14:29 -0700)]
Check entire contents of mempool

6 years agoMake variables local
Eirik Ogilvie-Wigley [Mon, 14 Jan 2019 21:05:53 +0000 (14:05 -0700)]
Make variables local

6 years agoMove common code to helper
Eirik Ogilvie-Wigley [Mon, 14 Jan 2019 21:01:38 +0000 (14:01 -0700)]
Move common code to helper

6 years agoUpdate zmq to 4.3.1
Dimitris Apostolou [Thu, 17 Jan 2019 15:15:44 +0000 (17:15 +0200)]
Update zmq to 4.3.1

6 years agoflake8 cleanup
Eirik Ogilvie-Wigley [Mon, 14 Jan 2019 21:00:24 +0000 (14:00 -0700)]
flake8 cleanup

6 years agoupdate libsodium dl-path
ca333 [Mon, 7 Jan 2019 12:38:21 +0000 (13:38 +0100)]
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

6 years agoAuto merge of #3647 - LarryRuane:2926-mutex-assert-stop, r=str4d
Homu [Thu, 3 Jan 2019 16:49:16 +0000 (08:49 -0800)]
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.

6 years agoSet Sprout note data in WalletTest.WriteWitnessCache
Jack Grigg [Wed, 2 Jan 2019 13:23:28 +0000 (13:23 +0000)]
Set Sprout note data in WalletTest.WriteWitnessCache

6 years agoAuto merge of #3538 - mdr0id:mac_fix_local_rpctest, r=daira
Homu [Wed, 19 Dec 2018 11:24:50 +0000 (03:24 -0800)]
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.

6 years agoAuto merge of #3691 - ebfull:printsproutr1cs, r=daira
Homu [Wed, 19 Dec 2018 07:28:06 +0000 (23:28 -0800)]
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.

6 years agoMake pythonisms consistent
mdr0id [Tue, 18 Dec 2018 20:00:46 +0000 (12:00 -0800)]
Make pythonisms consistent

6 years agozmq: remove extraneous space from zmq_sub.py
George Tankersley [Mon, 17 Dec 2018 19:53:53 +0000 (14:53 -0500)]
zmq: remove extraneous space from zmq_sub.py

6 years agoAuto merge of #3716 - charlieok:initialize_params_in_transaction_builder_tests, r...
Homu [Sun, 16 Dec 2018 14:01:54 +0000 (06:01 -0800)]
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

6 years agozmq: add flag to publish all checked blocks
George Tankersley [Sat, 15 Dec 2018 04:18:15 +0000 (23:18 -0500)]
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`

6 years agoAuto merge of #3699 - Eirik0:mergetoaddress-doc-update, r=daira
Homu [Wed, 12 Dec 2018 19:58:18 +0000 (11:58 -0800)]
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.

6 years agoUpdate z_mergetoaddress documentation
Eirik Ogilvie-Wigley [Tue, 11 Dec 2018 21:25:35 +0000 (14:25 -0700)]
Update z_mergetoaddress documentation

6 years agoAdd Sapling test cases
Jack Grigg [Sat, 1 Dec 2018 15:55:34 +0000 (15:55 +0000)]
Add Sapling test cases

6 years agoUse nullptr instead of NULL in wallet tests
Jack Grigg [Sat, 1 Dec 2018 15:51:00 +0000 (15:51 +0000)]
Use nullptr instead of NULL in wallet tests

6 years agoAuto merge of #3262 - str4d:2074-perf-1, r=str4d
Homu [Fri, 30 Nov 2018 23:25:33 +0000 (15:25 -0800)]
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.

6 years agoAuto merge of #3707 - Eirik0:3698-fix-help-output, r=daira
Homu [Fri, 30 Nov 2018 21:04:20 +0000 (13:04 -0800)]
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`.

6 years agoAuto merge of #3714 - mdr0id:release-v2.0.2, r=bitcartel
Homu [Fri, 30 Nov 2018 18:18:43 +0000 (10:18 -0800)]
Auto merge of #3714 - mdr0id:release-v2.0.2, r=bitcartel

Release v2.0.2

6 years agoAdd Charlie and Ariel alias to author_aliases
mdr0id [Thu, 29 Nov 2018 18:55:44 +0000 (10:55 -0800)]
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

6 years agoAuto merge of #3717 - mdr0id:pre-release_2.0.2, r=ianamunoz
Homu [Thu, 29 Nov 2018 23:01:08 +0000 (15:01 -0800)]
Auto merge of #3717 - mdr0id:pre-release_2.0.2, r=ianamunoz

Pre-Release 2.0.2

Update nnMinimumChainWork per 2.0.2 getblockchaininfo

6 years agoUpdate nnMinimumChainWork per 2.0.2 getblockchaininfo
mdr0id [Thu, 29 Nov 2018 18:32:18 +0000 (10:32 -0800)]
Update nnMinimumChainWork per 2.0.2 getblockchaininfo

6 years agoinitialize pCurrentParams in TransactionBuilder tests
Charlie O'Keefe [Thu, 29 Nov 2018 05:44:52 +0000 (22:44 -0700)]
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.

6 years agomake-release.py: Updated release notes and changelog for 2.0.2.
mdr0id [Wed, 28 Nov 2018 19:09:08 +0000 (11:09 -0800)]
make-release.py: Updated release notes and changelog for 2.0.2.

6 years agomake-release.py: Updated manpages for 2.0.2.
mdr0id [Wed, 28 Nov 2018 19:09:07 +0000 (11:09 -0800)]
make-release.py: Updated manpages for 2.0.2.

6 years agomake-release.py: Versioning changes for 2.0.2.
mdr0id [Wed, 28 Nov 2018 19:00:22 +0000 (11:00 -0800)]
make-release.py: Versioning changes for 2.0.2.

6 years agowallet: Skip transactions with no shielded data in CWallet::SetBestChain()
Jack Grigg [Tue, 27 Nov 2018 23:56:42 +0000 (00:56 +0100)]
wallet: Skip transactions with no shielded data in CWallet::SetBestChain()

Co-authored-by: Daira Hopwood <[email protected]>
Closes #3495.

6 years agoRemove --disable-libs flag from help output
Eirik Ogilvie-Wigley [Mon, 26 Nov 2018 19:45:17 +0000 (12:45 -0700)]
Remove --disable-libs flag from help output

6 years agoAuto merge of #3697 - LarryRuane:nonascii-in-rpc-help, r=daira
Homu [Thu, 22 Nov 2018 10:52:25 +0000 (02:52 -0800)]
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.

6 years agoremove non-ascii characters from help text
Larry Ruane [Wed, 21 Nov 2018 00:41:45 +0000 (17:41 -0700)]
remove non-ascii characters from help text

6 years agoAuto merge of #3694 - mdr0id:release-v2.0.2-rc1, r=ianamunoz
Homu [Tue, 20 Nov 2018 01:56:43 +0000 (17:56 -0800)]
Auto merge of #3694 - mdr0id:release-v2.0.2-rc1, r=ianamunoz

Release v2.0.2 rc1

6 years agomake-release.py: Updated release notes and changelog for 2.0.2-rc1.
mdr0id [Sun, 18 Nov 2018 18:19:49 +0000 (10:19 -0800)]
make-release.py: Updated release notes and changelog for 2.0.2-rc1.

6 years agomake-release.py: Updated manpages for 2.0.2-rc1.
mdr0id [Sun, 18 Nov 2018 18:19:48 +0000 (10:19 -0800)]
make-release.py: Updated manpages for 2.0.2-rc1.

6 years agomake-release.py: Versioning changes for 2.0.2-rc1.
mdr0id [Sun, 18 Nov 2018 18:11:46 +0000 (10:11 -0800)]
make-release.py: Versioning changes for 2.0.2-rc1.

6 years agoAllow user to ask server to save the Sprout R1CS out during startup.
Sean Bowe [Sat, 17 Nov 2018 22:47:35 +0000 (15:47 -0700)]
Allow user to ask server to save the Sprout R1CS out during startup.

6 years agoAuto merge of #3689 - bitcartel:zec13_expiry_dos_mitigation, r=bitcartel
Homu [Sat, 17 Nov 2018 17:18:43 +0000 (09:18 -0800)]
Auto merge of #3689 - bitcartel:zec13_expiry_dos_mitigation, r=bitcartel

ZEC-013 mitigation

6 years agoFor ZEC-013. RPC sendrawtransaction returns error if tx expiring soon.
Simon [Thu, 15 Nov 2018 22:23:15 +0000 (14:23 -0800)]
For ZEC-013. RPC sendrawtransaction returns error if tx expiring soon.

6 years agoFor ZEC-013. Update qa tests broken by expiring soon threshold.
Simon [Mon, 12 Nov 2018 23:03:05 +0000 (15:03 -0800)]
For ZEC-013. Update qa tests broken by expiring soon threshold.

6 years agoFor ZEC-013. RPC createrawtransaction returns error if tx expiring soon.
Simon [Wed, 7 Nov 2018 07:32:30 +0000 (23:32 -0800)]
For ZEC-013. RPC createrawtransaction returns error if tx expiring soon.

6 years agoFor ZEC-013. Don't propagate txs which are expiring soon in p2p messages.
Simon [Wed, 7 Nov 2018 01:33:27 +0000 (17:33 -0800)]
For ZEC-013. Don't propagate txs which are expiring soon in p2p messages.

When responding to "mempool" message, do not include the txid of an
expiring soon transaction in the "inv" message reply.
When responding to "getdata" message, do not reply with a "tx" message
for a transaction which is expiring soon.

6 years agoFor ZEC-013. Mitigate potential tx expiry height related DoS vector.
Simon [Mon, 5 Nov 2018 18:24:20 +0000 (10:24 -0800)]
For ZEC-013. Mitigate potential tx expiry height related DoS vector.

Don't accept transactions which are about to expire (next 3 blocks).
Don't set a ban score if a peer does propragate these transactions.
See ZEC-013 for more detail.

6 years agoAdd support for "notfound" message to mininode.
Simon [Wed, 7 Nov 2018 22:58:20 +0000 (14:58 -0800)]
Add support for "notfound" message to mininode.

6 years agoAuto merge of #3684 - str4d:load-sapling-chain-value, r=bitcartel
Homu [Sat, 17 Nov 2018 05:07:46 +0000 (21:07 -0800)]
Auto merge of #3684 - str4d:load-sapling-chain-value, r=bitcartel

Load sapling chain value into memory

`CBlockIndex::nSaplingValue` has been correctly set and written to disk since before Sapling activated, meaning that all nodes now are correctly tracking the Sapling shielded pool value on-disk. However, on restart the per-block values are not being read into memory, and so the in-memory pool value appears to be zero on every restart. Setting `nSaplingValue` in-memory during block index loading fixes the problem.

6 years agoAuto merge of #3670 - LarryRuane:3399-peer-ban-overwinter, r=bitcartel
Homu [Sat, 17 Nov 2018 03:22:48 +0000 (19:22 -0800)]
Auto merge of #3670 - LarryRuane:3399-peer-ban-overwinter, r=bitcartel

don't ban peers when loading pre-sapling (and pre-blossom) blocks

Resolves #3399.

6 years agoAuto merge of #3619 - Eirik0:3216-z-mergetoaddress, r=bitcartel
Homu [Sat, 17 Nov 2018 01:31:20 +0000 (17:31 -0800)]
Auto merge of #3619 - Eirik0:3216-z-mergetoaddress, r=bitcartel

Sapling Support for z_mergetoaddress

Closes #3216.
Closes #3063.

6 years agoAdjust z_mergetoaddress assertions in Sapling rpc test
Eirik Ogilvie-Wigley [Fri, 26 Oct 2018 06:08:05 +0000 (00:08 -0600)]
Adjust z_mergetoaddress assertions in Sapling rpc test

6 years agoAdd additional z_mergetoaddress parameter tests
Eirik Ogilvie-Wigley [Wed, 31 Oct 2018 06:59:48 +0000 (00:59 -0600)]
Add additional z_mergetoaddress parameter tests

6 years agoBetter error messages when sending between Sprout and Sapling
Eirik Ogilvie-Wigley [Fri, 16 Nov 2018 01:03:52 +0000 (18:03 -0700)]
Better error messages when sending between Sprout and Sapling

6 years agoAdd locking for Sapling notes
Eirik Ogilvie-Wigley [Wed, 24 Oct 2018 22:19:09 +0000 (16:19 -0600)]
Add locking for Sapling notes

6 years agoAdd Sapling support to z_mergetoaddress
Eirik Ogilvie-Wigley [Thu, 18 Oct 2018 21:37:58 +0000 (15:37 -0600)]
Add Sapling support to z_mergetoaddress

6 years agoExtend Sprout mergetoaddress rpc test to also work for Sapling
Eirik Ogilvie-Wigley [Thu, 18 Oct 2018 17:13:51 +0000 (11:13 -0600)]
Extend Sprout mergetoaddress rpc test to also work for Sapling

6 years agoAdd fail method to rpc test utils
Eirik Ogilvie-Wigley [Thu, 18 Oct 2018 18:59:29 +0000 (12:59 -0600)]
Add fail method to rpc test utils

6 years agoFix z_mergetoaddress parameter tests
Eirik Ogilvie-Wigley [Wed, 31 Oct 2018 06:49:45 +0000 (00:49 -0600)]
Fix z_mergetoaddress parameter tests

6 years agoAuto merge of #3680 - bitcartel:3671_sapling_default_z_getnewaddress, r=bitcartel
Homu [Fri, 16 Nov 2018 22:23:50 +0000 (14:23 -0800)]
Auto merge of #3680 - bitcartel:3671_sapling_default_z_getnewaddress, r=bitcartel

Make Sapling the default address format when calling RPC z_getnewaddress

Closes #3671.

6 years agoUpdate qa tests for new "sapling" default for z_getnewaddress.
Simon [Fri, 16 Nov 2018 22:22:23 +0000 (14:22 -0800)]
Update qa tests for new "sapling" default for z_getnewaddress.

6 years agoUpdate rpc_wallet_tests for new "sapling" default for z_getnewaddress.
Simon [Wed, 14 Nov 2018 23:20:22 +0000 (15:20 -0800)]
Update rpc_wallet_tests for new "sapling" default for z_getnewaddress.

6 years agoCloses #3671 to make "sapling" the default for z_getnewaddress RPC.
Simon [Wed, 14 Nov 2018 23:19:24 +0000 (15:19 -0800)]
Closes #3671 to make "sapling" the default for z_getnewaddress RPC.

6 years agoTest Sapling value pool accounting
Jack Grigg [Fri, 16 Nov 2018 16:14:52 +0000 (16:14 +0000)]
Test Sapling value pool accounting

6 years agoComment in CDiskBlockIndex that LoadBlockIndexGuts also needs updating
Jack Grigg [Fri, 16 Nov 2018 15:13:17 +0000 (15:13 +0000)]
Comment in CDiskBlockIndex that LoadBlockIndexGuts also needs updating

6 years agoSet nSaplingValue in-memory when loading block index from disk
Jack Grigg [Fri, 16 Nov 2018 15:11:33 +0000 (15:11 +0000)]
Set nSaplingValue in-memory when loading block index from disk

6 years agoAuto merge of #3669 - charlieok:init_win_networking_in_test_setup, r=str4d
Homu [Thu, 15 Nov 2018 20:34:11 +0000 (12:34 -0800)]
Auto merge of #3669 - charlieok:init_win_networking_in_test_setup, r=str4d

Add a call to SetupNetworking in BasicTestingSetup

In issue https://github.com/zcash/zcash/issues/3668 , the error code returned by `getaddrinfo_a` (10093) is `WSANOTINITIALISED`:

> Successful WSAStartup not yet performed.  Either the application has not called WSAStartup or WSAStartup  failed. The application may be accessing a socket that the current  active task does not own (that is, trying to share a socket between  tasks), or WSACleanup has been called too many times.

https://docs.microsoft.com/en-us/windows/desktop/winsock/windows-sockets-error-codes-2

`WSAStartup` is called from the `SetupNetworking` function in `util.cpp`, but `SetupNetworking` was not being called during test setup. This pull request adds that call.

Here is a gitlab pipeline running tests in the `test_bitcoin.exe` executable before this change:
https://gitlab.com/charlieok/zcash/pipelines/36483478

...and here is the same set of tests run after this change:
https://gitlab.com/charlieok/zcash/pipelines/36485098

6 years agoAuto merge of #2815 - str4d:2074-relay-pruning, r=bitcartel
Homu [Thu, 15 Nov 2018 18:28:44 +0000 (10:28 -0800)]
Auto merge of #2815 - str4d:2074-relay-pruning, r=bitcartel

Relay blocks when pruning

Cherry-picked from https://github.com/bitcoin/bitcoin/pull/6148

Part of #2074.

6 years agoAuto merge of #3663 - garethtdavies:3610-rpc-cleanup, r=bitcartel
Homu [Thu, 15 Nov 2018 16:42:33 +0000 (08:42 -0800)]
Auto merge of #3663 - garethtdavies:3610-rpc-cleanup, r=bitcartel

Cleaning up RPC output

Closes #3610 and #3661 to clean up RPC help messages.

6 years agoAuto merge of #3585 - str4d:merkle-tree-test-vectors, r=bitcartel
Homu [Thu, 15 Nov 2018 05:48:35 +0000 (21:48 -0800)]
Auto merge of #3585 - str4d:merkle-tree-test-vectors, r=bitcartel

Update IncrementalMerkleTree test vectors to use valid commitments

The original commitments were SHA256 outputs, and some were outside the
scalar field. This didn't affect the Merkle hash, which drops the high
bit from each commitment, but it does affect the creation of the Merkle
path in Rust, which requires path nodes to be valid scalars.

Here, we explicitly drop the high bit of all test vector commitments,
as well as reducing the two that remain outside the field. The test
vectors still pass, and can now also be used in the Rust implementation.

6 years agodon't ban peers when loading pre-sapling (and pre-blossom) blocks
Larry Ruane [Wed, 14 Nov 2018 00:37:59 +0000 (17:37 -0700)]
don't ban peers when loading pre-sapling (and pre-blossom) blocks

6 years agoAdd a call to SetupNetworking in BasicTestingSetup
Charlie O'Keefe [Tue, 13 Nov 2018 18:05:57 +0000 (11:05 -0700)]
Add a call to SetupNetworking in BasicTestingSetup

6 years agoAuto merge of #3613 - bitcartel:3597_transaction_builder_version_check, r=bitcartel
Homu [Mon, 12 Nov 2018 21:18:47 +0000 (13:18 -0800)]
Auto merge of #3613 - bitcartel:3597_transaction_builder_version_check, r=bitcartel

Closes #3597. TransactionBuilder should check tx version before adding Sapling spends and outputs

6 years agoCleaning up RPC output
Gareth Davies [Sat, 10 Nov 2018 15:49:05 +0000 (07:49 -0800)]
Cleaning up RPC output

Closes #3610 and #3661

This page took 0.06705 seconds and 4 git commands to generate.