Commit Graph

12233 Commits

Author SHA1 Message Date
Jonas Schnelli 648d6bee65
miner: rename UpdateRequestCount signal to ResetRequestCount 2019-03-06 09:02:50 +13:00
Jonas Schnelli f4055fe158
add CReserveScript to allow modular script keeping/returning
- use one CReserveScript per mining thread
2019-03-06 09:02:50 +13:00
Jonas Schnelli 38da0d16b1
fix GetScriptForMining() CReserveKey::keepKey() issue 2019-03-06 09:02:50 +13:00
Jonas Schnelli b2993bc5d4
detach wallet from miner 2019-03-06 09:02:50 +13:00
Homu 92cd76fcba Auto merge of #3859 - LarryRuane:3708-patched-explorer, r=mdr0id
Simplify DisconnectBlock arguments/return value

DisconnectBlock currently has a complicated interface:

  Situation       Return value
                  pfClean != nullptr   pfClean == nullptr

  All good:       true                 true
  Failure:        false                false
  Unclean rewind: true                 false
                  with *pfClean=false

Change this to return a tristate enum instead. As an added bonus,
remove the ValidationState& argument which was unused.
2019-02-26 10:50:59 -08:00
Pieter Wuille ec555a8e9b Simplify DisconnectBlock arguments/return value
DisconnectBlock currently has a complicated interface:

  Situation       Return value
                  pfClean != nullptr   pfClean == nullptr

  All good:       true                 true
  Failure:        false                false
  Unclean rewind: true                 false
                  with *pfClean=false

Change this to return a tristate enum instead. As an added bonus,
remove the ValidationState& argument which was unused.
2019-02-26 11:10:20 -07:00
Homu 52fbc1ce66 Auto merge of #3657 - Eirik0:3395-sapling-benchmarks, r=str4d
Update zcbenchmarks to include sapling data

Closes #3395

This PR adds a benchmark named `trydecryptsaplingnotes` which is intended to be similar to `trydecryptnotes`. It also adds a benchmark `incnotewitnessessapling` which is similar to `incnotewitnesses`.

As a side note, while looking for examples to follow I ran in to a fair amount of setup, which I wanted to be able to reuse, repeated across several tests. I pulled some of that logic in to a utility functions and refactored the existing tests using that setup.
2019-02-26 09:05:35 -08:00
Gareth Davies 89606bcbf6 Correcting logo on README 2019-02-25 21:00:08 -08:00
Homu ff07644b21 Auto merge of #3819 - ioptio:rm-source-docs, r=Eirik0
redirect and update source docs

also, update Zcash logo source.

User guide related documentation in the `/doc` folder should really live in RTDs. I've left policy and process related docs as is for now.

This **should not** be merged until https://gitlab.com/zcash-docs/zcash-docs/merge_requests/90 is for associated redirect links to work.
2019-02-25 13:31:45 -08:00
Homu 48b7dea5a8 Auto merge of #3639 - leto:size_on_disk, r=bitcartel
Port getblockchaininfo.size_on_disk from BTC master

Closes #3630.
2019-02-25 10:08:44 -08:00
Homu 1ad0b3482b Auto merge of #3850 - Eirik0:update-author-aliases, r=Eirik0
Add missing author aliases

This adds some missing author aliases to release-notes.py.
2019-02-21 09:56:13 -08:00
Eirik Ogilvie-Wigley 3620d5709d Add missing author aliases 2019-02-20 12:52:41 -07:00
Homu e45154f559 Auto merge of #3817 - Eirik0:3646-better-error-msgs, r=mdr0id
Improve some error messages when building a transaction fails

Follow up from #3646
2019-02-19 10:09:43 -08:00
Homu 87171d35b1 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.
2019-02-18 15:12:54 -08:00
Jack Grigg ecde950bac
Add Sapling benchmarks to benchmark runner 2019-02-16 18:44:16 +00:00
Homu 6a20252282 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
2019-02-14 17:30:04 -08:00
sandakersmann 2ad41e00ce
Update of copyright year to 2019 2019-02-14 15:00:00 +01:00
Homu 647c155dc7 Auto merge of #3833 - mdr0id:release-v2.0.3, r=mdr0id
Release v2.0.3
2019-02-11 10:34:20 -08:00
mdr0id f4fe8542c7 make-release.py: Updated release notes and changelog for 2.0.3. 2019-02-11 09:16:09 -08:00
mdr0id b22a364a2a make-release.py: Updated manpages for 2.0.3. 2019-02-11 09:16:09 -08:00
mdr0id 81fbf49883 make-release.py: Versioning changes for 2.0.3. 2019-02-11 09:05:39 -08:00
mdr0id fe0507761a Update nMinimumChainWork with information from the getblockchaininfo RPC 2019-02-11 09:04:13 -08:00
Taylor Hornby 78c916eb2e Patch Proton for a minimal build. #3786 2019-02-06 13:18:53 -07:00
Homu d26ec8ca71 Auto merge of #3826 - mdr0id:release-v2.0.3-rc1, r=mdr0id
Release v2.0.3 rc1
2019-02-04 18:03:05 -08:00
mdr0id 722b147425 make-release.py: Updated release notes and changelog for 2.0.3-rc1. 2019-02-04 12:05:43 -08:00
mdr0id 9e6228c5b0 make-release.py: Updated manpages for 2.0.3-rc1. 2019-02-04 12:05:43 -08:00
mdr0id 626874390a make-release.py: Versioning changes for 2.0.3-rc1. 2019-02-04 11:51:52 -08:00
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
Paige Peterson 70ebc0942a redirect and update source documentation 2019-01-30 16:00:21 +00:00
Eirik Ogilvie-Wigley caa1203307 Improve some error messages when building a transaction fails 2019-01-30 04:12:15 -07:00
Eirik Ogilvie-Wigley 8a1d19307b Renaming and other minor cleanup 2019-01-29 21:18:10 -07:00
Eirik Ogilvie-Wigley 3e5cc59c2e Change to t->z transaction and create separate benchmark for sapling 2019-01-23 15:04:48 -07:00
Eirik Ogilvie-Wigley 275bd8f67a Add a method for generating a test CKey 2019-01-23 15:04:45 -07:00
Eirik Ogilvie-Wigley 010481c7e5 FakeCoinsViewDB can inherit directly from CCoinsView 2019-01-23 14:45:37 -07:00
Eirik Ogilvie-Wigley a6a17c45b8 benchmarks do not require updating network parameters 2019-01-23 14:45:37 -07:00
Eirik Ogilvie-Wigley b27ac486e4 Prevent header from being included multiple times 2019-01-23 14:45:37 -07:00
Eirik Ogilvie-Wigley edac39b8fd Include Sapling transactions in increment note witness benchmark 2019-01-23 14:45:37 -07:00
Eirik Ogilvie-Wigley 1534671fb0 Add test method for generating master Sapling extended spending keys 2019-01-23 14:45:37 -07:00
Eirik Ogilvie-Wigley 9eadcb3eca Move test SaplingNote creation to utiltest 2019-01-23 14:45:37 -07:00
Eirik Ogilvie-Wigley c3e2de5959 Move reusable Sapling test setup to utiltest 2019-01-23 14:12:02 -07:00
Eirik Ogilvie-Wigley 89e75c8c0d Add benchmark for decrypting sapling notes 2019-01-23 14:12:02 -07:00
Eirik Ogilvie-Wigley 8f41036701 Rename methods to include Sprout 2019-01-23 14:12:02 -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