]> Git Repo - VerusCoin.git/log
VerusCoin.git
5 years agomake-release.py: Updated release notes and changelog for 2.0.5.
Eirik0 [Fri, 3 May 2019 22:35:30 +0000 (16:35 -0600)]
make-release.py: Updated release notes and changelog for 2.0.5.

5 years agomake-release.py: Updated manpages for 2.0.5.
Eirik0 [Fri, 3 May 2019 22:35:30 +0000 (16:35 -0600)]
make-release.py: Updated manpages for 2.0.5.

5 years agomake-release.py: Versioning changes for 2.0.5.
Eirik0 [Fri, 3 May 2019 22:30:13 +0000 (16:30 -0600)]
make-release.py: Versioning changes for 2.0.5.

5 years agoAuto merge of #3981 - Eirik0:2.0.5_release_notes, r=Eirik0
Homu [Fri, 3 May 2019 16:14:08 +0000 (09:14 -0700)]
Auto merge of #3981 - Eirik0:2.0.5_release_notes, r=Eirik0

Notable changes for v2.0.5

5 years agoAdd missing word to release notes
Eirik0 [Fri, 3 May 2019 15:30:26 +0000 (09:30 -0600)]
Add missing word to release notes

5 years agoAuto merge of #3982 - bitcartel:2.0.5_chainwork_update, r=Eirik0
Homu [Fri, 3 May 2019 04:13:13 +0000 (21:13 -0700)]
Auto merge of #3982 - bitcartel:2.0.5_chainwork_update, r=Eirik0

Update chain work and checkpoint for 2.0.5 release

Update chain work and checkpoint using block 525000.

5 years agoNotable changes for v2.0.5
Eirik0 [Fri, 3 May 2019 01:34:52 +0000 (19:34 -0600)]
Notable changes for v2.0.5

5 years agoUpdate chain work and checkpoint using block 525000.
Simon [Thu, 2 May 2019 21:37:50 +0000 (14:37 -0700)]
Update chain work and checkpoint using block 525000.

5 years agoAuto merge of #3980 - ianamunoz:fix-gitian-dependency, r=mdr0id
Homu [Thu, 2 May 2019 19:08:07 +0000 (12:08 -0700)]
Auto merge of #3980 - ianamunoz:fix-gitian-dependency, r=mdr0id

add curl to package list for gitian lxc container

This PR fixes the issue we are seeing in the gitian builder:
https://github.com/zcash/zcash-gitian/issues/64

The base lxc image no longer contains curl by default so it must be installed.

5 years agoadd curl to package list for gitian lxc container
Ian Munoz [Thu, 2 May 2019 15:47:25 +0000 (11:47 -0400)]
add curl to package list for gitian lxc container

5 years agoAuto merge of #3979 - Eirik0:release-v2.0.5-rc1, r=mdr0id
Homu [Thu, 2 May 2019 02:33:45 +0000 (19:33 -0700)]
Auto merge of #3979 - Eirik0:release-v2.0.5-rc1, r=mdr0id

Release v2.0.5 rc1

5 years agomake-release.py: Updated release notes and changelog for 2.0.5-rc1.
Eirik0 [Wed, 1 May 2019 20:16:08 +0000 (14:16 -0600)]
make-release.py: Updated release notes and changelog for 2.0.5-rc1.

5 years agomake-release.py: Updated manpages for 2.0.5-rc1.
Eirik0 [Wed, 1 May 2019 20:16:08 +0000 (14:16 -0600)]
make-release.py: Updated manpages for 2.0.5-rc1.

5 years agomake-release.py: Versioning changes for 2.0.5-rc1.
Eirik0 [Wed, 1 May 2019 20:15:14 +0000 (14:15 -0600)]
make-release.py: Versioning changes for 2.0.5-rc1.

5 years agoAuto merge of #3977 - LarryRuane:3873-setmigration-cli, r=bitcartel
Homu [Wed, 1 May 2019 16:26:20 +0000 (09:26 -0700)]
Auto merge of #3977 - LarryRuane:3873-setmigration-cli, r=bitcartel

3873 z_setmigration cli bool enable arg conversion

Addresses #3873.

5 years ago3873 z_setmigration cli bool enable arg conversion
Larry Ruane [Wed, 1 May 2019 16:03:24 +0000 (10:03 -0600)]
3873 z_setmigration cli bool enable arg conversion

5 years agoAuto merge of #3973 - Eirik0:3938-migration-status, r=mdr0id
Homu [Wed, 1 May 2019 09:18:50 +0000 (02:18 -0700)]
Auto merge of #3973 - Eirik0:3938-migration-status, r=mdr0id

3938 migration status

Closes #3938

5 years agoDo not throw an exception if HD Seed is not found when exporting wallet
Eirik0 [Tue, 30 Apr 2019 21:47:03 +0000 (15:47 -0600)]
Do not throw an exception if HD Seed is not found when exporting wallet

5 years agoCalculate the number of confimations in the canonical way
Eirik0 [Tue, 30 Apr 2019 17:06:08 +0000 (11:06 -0600)]
Calculate the number of confimations in the canonical way

5 years agoDo not look at vin/vout when determining migration txs and other cleanup
Eirik0 [Tue, 30 Apr 2019 15:52:53 +0000 (09:52 -0600)]
Do not look at vin/vout when determining migration txs and other cleanup

5 years agouse -valueBalance rather than vpub_new to calculate migrated amount
Eirik0 [Mon, 29 Apr 2019 23:00:26 +0000 (17:00 -0600)]
use -valueBalance rather than vpub_new to calculate migrated amount

5 years agoFix typos and update documentation
Eirik0 [Mon, 29 Apr 2019 20:42:48 +0000 (14:42 -0600)]
Fix typos and update documentation

5 years agoTest migration using both the parameter and the default Sapling address
Eirik0 [Mon, 29 Apr 2019 19:53:29 +0000 (13:53 -0600)]
Test migration using both the parameter and the default Sapling address

5 years agoFix help message
Eirik0 [Mon, 29 Apr 2019 16:39:05 +0000 (10:39 -0600)]
Fix help message

5 years agoAdd rpc to get Sprout to Sapling migration status
Eirik0 [Fri, 26 Apr 2019 21:31:57 +0000 (15:31 -0600)]
Add rpc to get Sprout to Sapling migration status

5 years agoCreate method for getting HD seed in RPCs
Eirik0 [Wed, 24 Apr 2019 22:20:08 +0000 (16:20 -0600)]
Create method for getting HD seed in RPCs

5 years agoAuto merge of #3967 - Eirik0:3961-migration-address, r=Eirik0
Homu [Mon, 29 Apr 2019 18:41:47 +0000 (11:41 -0700)]
Auto merge of #3967 - Eirik0:3961-migration-address, r=Eirik0

3961 migration address

Closes #3961

5 years agoAuto merge of #3968 - bitcartel:3768_enable_mainnet_turnstile, r=bitcartel
Homu [Mon, 29 Apr 2019 16:08:46 +0000 (09:08 -0700)]
Auto merge of #3968 - bitcartel:3768_enable_mainnet_turnstile, r=bitcartel

Activate turnstile on mainnet

This PR enables [ZIP209](https://github.com/zcash/zips/blob/master/zip-0209.rst) support on mainnet, to mark blocks as invalid if they would lead to a turnstile violation in the Sprout or Sapling value pools.

To test this PR, I performed the following manual tests:

1. Used RPC call `getblock` to verify the fallback Sprout value.
2. Individually changed the fallback Sprout block hash, block height and chain value, recompiling and relaunching the node, verifying that each individual change resulted in an error.  When the block hash and block height are incorrect, an error is logged to debug.log `FallbackSproutValuePoolBalance(): fallback block hash is incorrect`.  An incorrect chain value results in node termination with error: `void FallbackSproutValuePoolBalance(CBlockIndex*, const CChainParams&): Assertion '*pindex->nChainSproutValue == chainparams.SproutValuePoolCheckpointBalance()' failed.`
3. Ran the `Smoke Testing` described in PR #3885, on mainnet.
4. Launched zcashd with experimental feature `-developersetpoolsizezero` to manually trigger a turnstile violation in both Sprout and Sapling shielded pools.  The Sprout turnstile violation occurred after launch, due to chance, when the next incoming block 520786 contained a Sprout unshielding transaction. The Sapling turnstile violation was triggered after creating a Sapling unshielding transaction.

5 years agoremove extra hyphen
str4d [Mon, 29 Apr 2019 15:55:07 +0000 (09:55 -0600)]
remove extra hyphen

Co-Authored-By: Eirik0 <[email protected]>
5 years agoAdd migration options to conf file
Eirik0 [Mon, 29 Apr 2019 15:36:26 +0000 (09:36 -0600)]
Add migration options to conf file

Co-authored-by: Simon <[email protected]>
5 years agoAuto merge of #3888 - Eirik0:3873-sapling-migration, r=Eirik0
Homu [Sat, 27 Apr 2019 19:29:29 +0000 (12:29 -0700)]
Auto merge of #3888 - Eirik0:3873-sapling-migration, r=Eirik0

Sapling migration RPC

Closes #3873

5 years agoCheck for full failure message in test case
Eirik0 [Sat, 27 Apr 2019 01:01:23 +0000 (19:01 -0600)]
Check for full failure message in test case

5 years agoAuto merge of #3857 - LarryRuane:3708-timestampindex, r=bitcartel
Homu [Fri, 26 Apr 2019 18:05:25 +0000 (11:05 -0700)]
Auto merge of #3857 - LarryRuane:3708-timestampindex, r=bitcartel

add TimestampIndex changes needed for bitcore block explorer

Addresses #3708, follow-on to #3849, no tests yet. This is the third of 3 indices that we're adding.

5 years agoadd -timestampindex for bitcore insight block explorer
Larry Ruane [Thu, 21 Feb 2019 21:01:12 +0000 (14:01 -0700)]
add -timestampindex for bitcore insight block explorer

5 years agoAuto merge of #3849 - LarryRuane:3708-spentindex, r=daira
Homu [Thu, 25 Apr 2019 23:32:22 +0000 (16:32 -0700)]
Auto merge of #3849 - LarryRuane:3708-spentindex, r=daira

add SpentIndex changes needed for bitcore block explorer

Addresses #3708, follow-on to #3837, note there are no tests yet (will come later with RPC interfaces).

5 years agoAuto merge of #3940 - str4d:3607-init-encrypted-wallet-without-hd-seed, r=bitcartel
Homu [Thu, 25 Apr 2019 20:15:51 +0000 (13:15 -0700)]
Auto merge of #3940 - str4d:3607-init-encrypted-wallet-without-hd-seed, r=bitcartel

init: Fix new HD seed generation for previously-encrypted wallets

Closes #3607.

How to verify (with `zcashd` flags `-testnet -wallet=wallet.3607.dat -experimentalfeatures -developerencryptwallet`):
- Start `zcashd` 2.0.0, encrypt the wallet, and stop the node.
- Start `zcashd` 2.0.1+ (before this branch), and see that it crashes during startup.
- Start `zcashd` built from this branch, and see that it does not crash during startup. Unlock the wallet, then stop.
- Start `zcashd` 2.0.1+ (before this branch), and see that it no longer crashes during startup.

5 years agoSet min depth when selecting notes to migrate
Eirik0 [Thu, 25 Apr 2019 19:43:23 +0000 (13:43 -0600)]
Set min depth when selecting notes to migrate

5 years agoRefactor wait_and_assert_operationid_status to allow returning the result
Eirik0 [Thu, 18 Apr 2019 21:41:27 +0000 (15:41 -0600)]
Refactor wait_and_assert_operationid_status to allow returning the result

5 years agoAdditional locking and race condition prevention
Eirik0 [Wed, 17 Apr 2019 01:35:04 +0000 (19:35 -0600)]
Additional locking and race condition prevention

5 years agoDocumentation cleanup
Eirik0 [Wed, 17 Apr 2019 01:12:53 +0000 (19:12 -0600)]
Documentation cleanup

5 years agoMove migration logic to ChainTip
Eirik0 [Wed, 17 Apr 2019 01:05:15 +0000 (19:05 -0600)]
Move migration logic to ChainTip

5 years agoAdd rpc to enable and disable Sprout to Sapling migration
Eirik0 [Tue, 19 Mar 2019 02:33:02 +0000 (20:33 -0600)]
Add rpc to enable and disable Sprout to Sapling migration

5 years agoEnable experimental feature -developersetpoolsizezero on mainnet.
Simon [Wed, 24 Apr 2019 15:40:17 +0000 (08:40 -0700)]
Enable experimental feature -developersetpoolsizezero on mainnet.

5 years agoAuto merge of #3951 - LarryRuane:3947-integer-log2-warn, r=ebfull
Homu [Wed, 24 Apr 2019 12:00:33 +0000 (05:00 -0700)]
Auto merge of #3951 - LarryRuane:3947-integer-log2-warn, r=ebfull

Update boost to v1.70.0 to eliminate build warning

Closes #3947.

5 years agoEnable ZIP209 on mainnet and set fallback Sprout pool balance.
Simon [Wed, 24 Apr 2019 05:57:30 +0000 (22:57 -0700)]
Enable ZIP209 on mainnet and set fallback Sprout pool balance.

5 years agoAuto merge of #3964 - bitcartel:test_turnstile_violation, r=bitcartel
Homu [Tue, 23 Apr 2019 22:07:43 +0000 (15:07 -0700)]
Auto merge of #3964 - bitcartel:test_turnstile_violation, r=bitcartel

Test turnstile violation

Adds experimental feature -developersetpoolsizezero to enable developers to test Sprout and Sapling turnstile violations on testnet and in regtest mode.

5 years agoAdd qa test for experimental feature: -developersetpoolsizezero
Simon [Fri, 19 Apr 2019 17:57:12 +0000 (10:57 -0700)]
Add qa test for experimental feature: -developersetpoolsizezero

5 years agoAuto merge of #3948 - mms710:pr-checklist-2, r=ebfull
Homu [Tue, 23 Apr 2019 17:48:18 +0000 (10:48 -0700)]
Auto merge of #3948 - mms710:pr-checklist-2, r=ebfull

Create a checklist for all zcash PRs

All items in the checklist must be done before a PR can be merged.

5 years agoUpdate boost from v1.69.0 to v1.70.0. #3947
Larry Ruane [Fri, 12 Apr 2019 18:25:13 +0000 (12:25 -0600)]
Update boost from v1.69.0 to v1.70.0. #3947

5 years agoadd -spentindex changes for bitcore insight block explorer
Larry Ruane [Tue, 23 Apr 2019 17:06:23 +0000 (11:06 -0600)]
add -spentindex changes for bitcore insight block explorer

5 years agoAuto merge of #3505 - str4d:rust-targets, r=str4d
Homu [Tue, 23 Apr 2019 15:33:40 +0000 (08:33 -0700)]
Auto merge of #3505 - str4d:rust-targets, r=str4d

depends: Support additional cross-compilation targets in Rust

This will make it easier for third parties to cross-compile `zcashd` for other platforms. The third commit in this PR shows how to add a new target to the Rust dependency builder.

The default Rust target during cross-compilation is the canonical host, which is derived from `HOST` using `depends/config.sub`. If the canonical host differs from the required Rust target, add the necessary mapping in addition to the target itself.

Also includes fixes for cross-compiling aarch64 targets.

5 years agoAdd testnet and regtest experimental feature: -developersetpoolsizezero
Simon [Fri, 19 Apr 2019 17:54:51 +0000 (10:54 -0700)]
Add testnet and regtest experimental feature: -developersetpoolsizezero

5 years agoAuto merge of #3966 - garethtdavies:3962-fix-gitian-build, r=daira
Homu [Mon, 22 Apr 2019 18:56:44 +0000 (11:56 -0700)]
Auto merge of #3966 - garethtdavies:3962-fix-gitian-build, r=daira

Adding addressindex.h to Makefile.am

Co-authored by: Daira Hopwood <[email protected]>

Closes #3962

5 years agoAdding addressindex.h to Makefile.am
Gareth Davies [Sun, 21 Apr 2019 13:56:08 +0000 (06:56 -0700)]
Adding addressindex.h to Makefile.am

Co-authored by: Daira Hopwood <[email protected]>

5 years agoAuto merge of #3901 - rex4539:electric-coin-company, r=str4d
Homu [Tue, 16 Apr 2019 17:23:59 +0000 (10:23 -0700)]
Auto merge of #3901 - rex4539:electric-coin-company, r=str4d

Update "Zcash Company" to "Electric Coin Company"

5 years agoAuto merge of #3935 - str4d:blossom-activation-logic, r=str4d
Homu [Tue, 9 Apr 2019 17:39:07 +0000 (10:39 -0700)]
Auto merge of #3935 - str4d:blossom-activation-logic, r=str4d

Add Blossom to upgrade list

5 years agoCreates checklist template for new PRs being opened and addresses Str4d's suggestion...
Mary Moore-Simmons [Tue, 9 Apr 2019 15:57:17 +0000 (09:57 -0600)]
Creates checklist template for new PRs being opened and addresses Str4d's suggestion for using GitHub handles

5 years agoAuto merge of #3906 - sandakersmann:patch-1, r=str4d
Homu [Tue, 9 Apr 2019 15:45:30 +0000 (08:45 -0700)]
Auto merge of #3906 - sandakersmann:patch-1, r=str4d

Update _COPYRIGHT_YEAR in configure.ac to 2019

Update _COPYRIGHT_YEAR in configure.ac to 2019

5 years agoAuto merge of #3907 - LarryRuane:3860-enable-debug-build, r=daira
Homu [Tue, 9 Apr 2019 10:45:07 +0000 (03:45 -0700)]
Auto merge of #3907 - LarryRuane:3860-enable-debug-build, r=daira

fix enable-debug build DB_COINS undefined

Fixes #3860. The way `DB_COINS` is defined in this PR is the same as in `src/txdb.cpp` (static "global" instead of class member).

5 years agoAuto merge of #3837 - LarryRuane:3708-addressindex, r=bitcartel
Homu [Fri, 5 Apr 2019 00:36:56 +0000 (17:36 -0700)]
Auto merge of #3837 - LarryRuane:3708-addressindex, r=bitcartel

add AddressIndex changes needed for bitcore block explorer

Addresses #3708, note there are no tests yet (will come later with RPC interfaces).

5 years agoinit: Fix new HD seed generation for previously-encrypted wallets
Jack Grigg [Thu, 4 Apr 2019 17:27:46 +0000 (18:27 +0100)]
init: Fix new HD seed generation for previously-encrypted wallets

Closes #3607.

5 years agoAuto merge of #3848 - str4d:transaction-builder-sprout, r=Eirik0
Homu [Thu, 4 Apr 2019 17:19:46 +0000 (10:19 -0700)]
Auto merge of #3848 - str4d:transaction-builder-sprout, r=Eirik0

Add Sprout support to TransactionBuilder

The logic in `TransactionBuilder::CreateJSDescriptions()` is a combination of the logic used by `z_sendmany`, `z_mergetoaddress` and `z_shieldcoinbase`, in order to support arbitrary numbers of Sprout inputs or outputs.

5 years agoAdd Blossom to upgrade list
Jack Grigg [Tue, 2 Apr 2019 06:39:36 +0000 (07:39 +0100)]
Add Blossom to upgrade list

5 years agotests: adds unit test for IsPayToPublicKeyHash method
Braydon Fuller [Tue, 4 Oct 2016 19:03:13 +0000 (15:03 -0400)]
tests: adds unit test for IsPayToPublicKeyHash method

5 years agoadd -addressindex changes for bitcore insight block explorer
Larry Ruane [Tue, 19 Mar 2019 19:28:02 +0000 (13:28 -0600)]
add -addressindex changes for bitcore insight block explorer

5 years agoAuto merge of #3902 - zebambam:fix_speling_on_rd_adoption_statement, r=daira
Homu [Thu, 28 Mar 2019 15:08:47 +0000 (08:08 -0700)]
Auto merge of #3902 - zebambam:fix_speling_on_rd_adoption_statement, r=daira

Minor spelling changes

Speling fix for #3869

5 years agoAuto merge of #3922 - bitcartel:release-v2.0.4, r=bitcartel
Homu [Tue, 26 Mar 2019 20:02:51 +0000 (13:02 -0700)]
Auto merge of #3922 - bitcartel:release-v2.0.4, r=bitcartel

Release v2.0.4

5 years agoUpdate company name.
Simon [Tue, 26 Mar 2019 19:11:30 +0000 (12:11 -0700)]
Update company name.

5 years agomake-release.py: Updated release notes and changelog for 2.0.4.
Simon [Tue, 26 Mar 2019 18:29:21 +0000 (11:29 -0700)]
make-release.py: Updated release notes and changelog for 2.0.4.

5 years agomake-release.py: Updated manpages for 2.0.4.
Simon [Tue, 26 Mar 2019 18:29:21 +0000 (11:29 -0700)]
make-release.py: Updated manpages for 2.0.4.

5 years agomake-release.py: Versioning changes for 2.0.4.
Simon [Tue, 26 Mar 2019 18:25:19 +0000 (11:25 -0700)]
make-release.py: Versioning changes for 2.0.4.

5 years agoAuto merge of #3919 - defuse:openssl-regression, r=bitcartel
Homu [Tue, 26 Mar 2019 07:02:32 +0000 (00:02 -0700)]
Auto merge of #3919 - defuse:openssl-regression, r=bitcartel

Fix OpenSSL reproducible build regression

5 years agoAuto merge of #3918 - defuse:fix-proton-patch, r=bitcartel
Homu [Tue, 26 Mar 2019 05:16:13 +0000 (22:16 -0700)]
Auto merge of #3918 - defuse:fix-proton-patch, r=bitcartel

Fix proton patch regression.

Closes #3916.  Fixes a regression introduced in #3809.

Co-authored-by: Daira Hopwood <[email protected]>
5 years agoPatch out proton::url deprecation as workaround for build warnings
Taylor Hornby [Mon, 25 Mar 2019 23:38:07 +0000 (17:38 -0600)]
Patch out proton::url deprecation as workaround for build warnings

5 years agoFix OpenSSL reproducible build regression
Taylor Hornby [Mon, 25 Mar 2019 20:27:14 +0000 (14:27 -0600)]
Fix OpenSSL reproducible build regression

5 years agoFix proton patch regression. #3916
Taylor Hornby [Mon, 25 Mar 2019 17:46:37 +0000 (11:46 -0600)]
Fix proton patch regression. #3916

5 years agofix enable-debug build DB_COINS undefined
Larry Ruane [Wed, 20 Mar 2019 22:29:06 +0000 (16:29 -0600)]
fix enable-debug build DB_COINS undefined

5 years agoUpdate _COPYRIGHT_YEAR in configure.ac to 2019
Marius Kjærstad [Wed, 20 Mar 2019 20:09:51 +0000 (21:09 +0100)]
Update _COPYRIGHT_YEAR in configure.ac to 2019

Update _COPYRIGHT_YEAR in configure.ac to 2019

5 years agoAuto merge of #3903 - bitcartel:release-v2.0.4-rc1, r=bitcartel
Homu [Wed, 20 Mar 2019 17:58:26 +0000 (10:58 -0700)]
Auto merge of #3903 - bitcartel:release-v2.0.4-rc1, r=bitcartel

Release v2.0.4 rc1

5 years agoFix typo in release notes.
Simon [Wed, 20 Mar 2019 17:20:51 +0000 (10:20 -0700)]
Fix typo in release notes.

5 years agomake-release.py: Updated release notes and changelog for 2.0.4-rc1.
Simon [Wed, 20 Mar 2019 16:39:43 +0000 (09:39 -0700)]
make-release.py: Updated release notes and changelog for 2.0.4-rc1.

5 years agomake-release.py: Updated manpages for 2.0.4-rc1.
Simon [Wed, 20 Mar 2019 16:39:43 +0000 (09:39 -0700)]
make-release.py: Updated manpages for 2.0.4-rc1.

5 years agomake-release.py: Versioning changes for 2.0.4-rc1.
Simon [Wed, 20 Mar 2019 16:29:06 +0000 (09:29 -0700)]
make-release.py: Versioning changes for 2.0.4-rc1.

5 years agoMinor speling changes
zebambam [Wed, 20 Mar 2019 15:55:58 +0000 (08:55 -0700)]
Minor speling changes

5 years agoAuto merge of #3898 - sandakersmann:patch-1, r=bitcartel
Homu [Wed, 20 Mar 2019 14:36:25 +0000 (07:36 -0700)]
Auto merge of #3898 - sandakersmann:patch-1, r=bitcartel

Update COPYRIGHT_YEAR in clientversion.h to 2019

Update COPYRIGHT_YEAR in clientversion.h to 2019

5 years agoElectric Coin Company
Dimitris Apostolou [Wed, 20 Mar 2019 07:04:32 +0000 (09:04 +0200)]
Electric Coin Company

5 years agoAuto merge of #3900 - bitcartel:2.0.4_release_notes, r=bitcartel
Homu [Wed, 20 Mar 2019 06:05:39 +0000 (23:05 -0700)]
Auto merge of #3900 - bitcartel:2.0.4_release_notes, r=bitcartel

Update release notes for 2.0.4

5 years agoAuto merge of #3897 - ebfull:wallet-sprout-check-commitment, r=ebfull
Homu [Wed, 20 Mar 2019 04:21:54 +0000 (21:21 -0700)]
Auto merge of #3897 - ebfull:wallet-sprout-check-commitment, r=ebfull

Check consistency of note commitment and ciphertext in wallet

Fixes #3896.

5 years agoUpdate release notes for 2.0.4
Simon [Wed, 20 Mar 2019 02:43:37 +0000 (19:43 -0700)]
Update release notes for 2.0.4

Co-authored-by: Jack Grigg <[email protected]>
5 years agoAuto merge of #3890 - zebambam:add_dns_rebinding_warnings_security_3841, r=mdr0id
Homu [Tue, 19 Mar 2019 22:50:34 +0000 (15:50 -0700)]
Auto merge of #3890 - zebambam:add_dns_rebinding_warnings_security_3841, r=mdr0id

Added documentation warnings about DNS rebinding attacks, issue #3841

For AMQP and ZMQP.

5 years ago(wallet) Check that the commitment matches the note plaintext provided by the sender.
Sean Bowe [Tue, 19 Mar 2019 07:46:27 +0000 (01:46 -0600)]
(wallet) Check that the commitment matches the note plaintext provided by the sender.

5 years agoAuto merge of #3885 - ebfull:turnstile, r=bitcartel
Homu [Tue, 19 Mar 2019 19:10:17 +0000 (12:10 -0700)]
Auto merge of #3885 - ebfull:turnstile, r=bitcartel

Reject blocks that violate turnstile

This is an implementation of a consensus rule which marks blocks as invalid if they would lead to a turnstile violation in the Sprout or Shielded value pools. The motivations and deployment details can be found in the [accompanying ZIP draft](https://github.com/zcash/zips/pull/210).

**This PR only introduces the rule for testnet at the moment.**

We achieve the institution of this rule in three ways:

1. Nodes prior to #2795 did not record the "delta" in the Sprout value pool balance as part of the on-disk block index. This was a long time ago, though, and all nodes that are consensus-compatible with the network today have been recording this value for newer blocks. However, the value is absent from older block indexes unless the node has reindexed or synchronized from scratch in the time since. We shouldn't need to require nodes to reindex in order to enforce this consensus rule. We avoid this problem by falling back on a hardcoded Sprout shielded value pool balance in a very recent block.
2. If during `ConnectBlock` we observe that the resulting shielded value pool balance of Sprout or Sapling is negative, we reject the block.
3. During the miner's block assembly process the miner will skip over transactions if adding them to the assembled block might violate the turnstile, since the resulting block would be invalid. This means that theoretical transactions violating the turnstile would still be relayed in the network (and made available in users' memory pools) and so a turnstile violation would have some visibility outside of block relay.

## Smoke Testing

It's really tricky to test the behavior that automatically falls back to hardcoded shielded value pool balances in our architecture because it's very testnet-specific and node-version-specific. However, we can do some smoke tests to see that everything is working.

I modified the serialization of `CDiskBlockIndex` to serialize `boost::none` for `nSproutValue`

```
if ((s.GetType() & SER_DISK) && (nVersion >= SPROUT_VALUE_VERSION)) {
    boost::optional<CAmount> nSproutValueFake = boost::none;
    READWRITE(nSproutValueFake);
}
```

and then began a reindex of my node which I interruped around height 130k on testnet. I then restored the original serialization and resumed the reindex; I have thus _roughly_ simulated a older node "upgrading" to a newer node that records the deltas when processing new blocks. My node showed pool monitoring was disabled, as expected, for Sprout. I confirmed that some blocks following the reindex had nonzero Sprout `valueDelta` from `getblock`, as expected. I finished the reindex, restarted the node, and confirmed that the serialization worked for newer blocks but not older blocks by querying `getblock`, simply as a reassurance.

Finally, I introduced the code in this PR and reloaded the node. The desired behavior (that the chain began to be "monitored" again) worked, and the values were consistent with the hardcoded constant. I then made a payment to a Sprout z-addr from the transparent pool and the pool value increased as expected, as reported by `getblockchaininfo`. I reindexed the node again to exercise the remaining logic and check for turnstile violations throughout the history of testnet; there were none.

5 years agoRename and update comment
Eirik0 [Tue, 19 Mar 2019 18:55:55 +0000 (12:55 -0600)]
Rename and update comment

5 years ago(minor) Remove added newline.
Sean Bowe [Tue, 19 Mar 2019 18:45:21 +0000 (12:45 -0600)]
(minor) Remove added newline.

5 years agoDo not enable ZIP209 on regtest right now.
Sean Bowe [Tue, 19 Mar 2019 18:44:53 +0000 (12:44 -0600)]
Do not enable ZIP209 on regtest right now.

5 years agoUpdate COPYRIGHT_YEAR in clientversion.h to 2019
Marius Kjærstad [Tue, 19 Mar 2019 16:42:52 +0000 (17:42 +0100)]
Update COPYRIGHT_YEAR in clientversion.h to 2019

Update COPYRIGHT_YEAR in clientversion.h to 2019

5 years agoAuto merge of #3839 - sandakersmann:master, r=bitcartel
Homu [Tue, 19 Mar 2019 06:04:26 +0000 (23:04 -0700)]
Auto merge of #3839 - sandakersmann:master, r=bitcartel

Update of copyright year to 2019

Update of copyright year to 2019

5 years agoAuto merge of #3846 - garethtdavies:updated-logo, r=bitcartel
Homu [Tue, 19 Mar 2019 04:19:22 +0000 (21:19 -0700)]
Auto merge of #3846 - garethtdavies:updated-logo, r=bitcartel

Correcting logo on README

As a follow up to https://github.com/zcash/zcash/pull/3509 which I closed due to the updated branding. The logo [still has the wrong aspect ratio]. This corrects it with the logo taken from https://z.cash/press/ while preserving the original image dimensions and aspect ratio. I added it at 2x for retina displays.

5 years agoAuto merge of #3892 - zebambam:add_responsible_disclosure_statement_security_3869...
Homu [Tue, 19 Mar 2019 01:29:43 +0000 (18:29 -0700)]
Auto merge of #3892 - zebambam:add_responsible_disclosure_statement_security_3869, r=bitcartel

Added responsible disclosure statement for issue #3869

5 years agoAuto merge of #3887 - bitcartel:2.0.4_pre_release, r=bitcartel
Homu [Mon, 18 Mar 2019 21:53:09 +0000 (14:53 -0700)]
Auto merge of #3887 - bitcartel:2.0.4_pre_release, r=bitcartel

Update chain work and checkpoint for 2.0.4

Closes #3886

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