Commit Graph

12425 Commits

Author SHA1 Message Date
Eirik0 eceff9bed6 make-release.py: Updated manpages for 2.0.5-1. 2019-05-08 06:57:28 -06:00
Eirik0 f809ff997f make-release.py: Versioning changes for 2.0.5-1. 2019-05-08 06:50:57 -06:00
Homu 92702158ae Auto merge of #3990 - Eirik0:fix-migration-amount, r=Eirik0
Fix calculating amount to migrate
2019-05-07 20:57:30 -07:00
Eirik0 ea8823ce51 coinsView is required when using TransactionBuilder if there may be Sprout change 2019-05-07 18:41:35 -06:00
Eirik0 5fd7af5f85 Add the amount migrated to the operation's result 2019-05-07 08:58:23 -06:00
Eirik0 f0f7b3f012 Fix summing available funds 2019-05-07 08:55:26 -06:00
Homu 5347f6e6cb Auto merge of #3989 - Eirik0:2.0.5-1_release_notes, r=bitcartel
Notable changes for v2.0.5-1
2019-05-06 19:45:12 -07:00
Eirik0 aa23406263 Notable changes for v2.0.5-1 2019-05-06 17:22:10 -06:00
Homu cc80501ea3 Auto merge of #3987 - Eirik0:migration-null-defence, r=Eirik0
Sprout -> Sapling migration status nullptr defence
2019-05-06 12:12:06 -07:00
Eirik0 94e419f95d Rename variable and add comment 2019-05-06 11:46:16 -06:00
Eirik0 d48c3efca7 Store the migration operation id rather than the operation iteslf 2019-05-06 09:57:40 -06:00
Eirik0 7cf4749d0d Correctly account for migration transactions in the mempool
Co-authored-by: LarryRuane <larry@z.cash>
2019-05-05 12:59:43 -06:00
Homu d1d80d9548 Auto merge of #3984 - Eirik0:release-v2.0.5, r=Eirik0
Release v2.0.5
2019-05-03 20:07:44 -07:00
Eirik0 5d69949aaa make-release.py: Updated release notes and changelog for 2.0.5. 2019-05-03 16:35:30 -06:00
Eirik0 380babed98 make-release.py: Updated manpages for 2.0.5. 2019-05-03 16:35:30 -06:00
Eirik0 c1daa11d7b make-release.py: Versioning changes for 2.0.5. 2019-05-03 16:30:13 -06:00
Homu 4df60f4b33 Auto merge of #3981 - Eirik0:2.0.5_release_notes, r=Eirik0
Notable changes for v2.0.5
2019-05-03 09:14:08 -07:00
Eirik0 e152af3c7c Add missing word to release notes 2019-05-03 09:30:26 -06:00
Homu 4d6d2f05e1 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.
2019-05-02 21:13:13 -07:00
Eirik0 95fe7ae676 Notable changes for v2.0.5 2019-05-02 19:34:52 -06:00
Simon 68c17ffec8 Update chain work and checkpoint using block 525000. 2019-05-02 14:53:35 -07:00
Homu 8010becd4e 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.
2019-05-02 12:08:07 -07:00
Ian Munoz 5bff723807 add curl to package list for gitian lxc container 2019-05-02 11:47:25 -04:00
Homu 910b1ea2ad Auto merge of #3979 - Eirik0:release-v2.0.5-rc1, r=mdr0id
Release v2.0.5 rc1
2019-05-01 19:33:45 -07:00
Eirik0 12a9e172e5 make-release.py: Updated release notes and changelog for 2.0.5-rc1. 2019-05-01 14:16:08 -06:00
Eirik0 cf0a5ca28d make-release.py: Updated manpages for 2.0.5-rc1. 2019-05-01 14:16:08 -06:00
Eirik0 6c47e6fe7b make-release.py: Versioning changes for 2.0.5-rc1. 2019-05-01 14:15:14 -06:00
Homu d894f7b3b2 Auto merge of #3977 - LarryRuane:3873-setmigration-cli, r=bitcartel
3873 z_setmigration cli bool enable arg conversion

Addresses #3873.
2019-05-01 09:26:20 -07:00
Larry Ruane 4cbe0a9d02 3873 z_setmigration cli bool enable arg conversion 2019-05-01 10:03:24 -06:00
Homu bf2204878f Auto merge of #3973 - Eirik0:3938-migration-status, r=mdr0id
3938 migration status

Closes #3938
2019-05-01 02:18:50 -07:00
Eirik0 3cad5f454f Do not throw an exception if HD Seed is not found when exporting wallet 2019-04-30 15:47:03 -06:00
Eirik0 e14cf96642 Calculate the number of confimations in the canonical way 2019-04-30 11:06:08 -06:00
Eirik0 345177cfc1 Do not look at vin/vout when determining migration txs and other cleanup 2019-04-30 09:52:53 -06:00
Eirik0 e9530f40f2 use -valueBalance rather than vpub_new to calculate migrated amount 2019-04-29 17:00:26 -06:00
Eirik0 108e587c14 Fix typos and update documentation 2019-04-29 15:29:29 -06:00
Eirik0 2276133bb3 Test migration using both the parameter and the default Sapling address 2019-04-29 15:29:29 -06:00
Eirik0 5969bd8f55 Fix help message 2019-04-29 15:29:27 -06:00
Eirik0 6e82d72852 Add rpc to get Sprout to Sapling migration status 2019-04-29 15:28:35 -06:00
Eirik0 52cfa9c1ee Create method for getting HD seed in RPCs 2019-04-29 15:28:35 -06:00
Homu f283f2460e Auto merge of #3967 - Eirik0:3961-migration-address, r=Eirik0
3961 migration address

Closes #3961
2019-04-29 11:41:47 -07:00
Homu 63fff636d7 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.
2019-04-29 09:08:46 -07:00
str4d b9c7f274a4
remove extra hyphen
Co-Authored-By: Eirik0 <eirik@z.cash>
2019-04-29 09:55:07 -06:00
Eirik0 8ffd63af2d Add migration options to conf file
Co-authored-by: Simon <simon@bitcartel.com>
2019-04-29 09:36:26 -06:00
Homu 20821614a8 Auto merge of #3888 - Eirik0:3873-sapling-migration, r=Eirik0
Sapling migration RPC

Closes #3873
2019-04-27 12:29:29 -07:00
Eirik0 6acb37bcee Check for full failure message in test case 2019-04-26 19:01:23 -06:00
Homu 244922d527 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.
2019-04-26 11:05:25 -07:00
Larry Ruane 7fb8088288 add -timestampindex for bitcore insight block explorer 2019-04-26 08:44:56 -06:00
Homu 1b24243392 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).
2019-04-25 16:32:22 -07:00
Homu 1fefed9eb5 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.
2019-04-25 13:15:51 -07:00
Eirik0 5519d16997 Set min depth when selecting notes to migrate 2019-04-25 13:43:23 -06:00