Janito Vaqueiro Ferreira Filho
0960e4fb0b
Update to Tokio 1.13.0 ( #2994 )
...
* Update `tower` to version `0.4.9`
Update to latest version to add support for Tokio version 1.
* Replace usage of `ServiceExt::ready_and`
It was deprecated in favor of `ServiceExt::ready`.
* Update Tokio dependency to version `1.13.0`
This will break the build because the code isn't ready for the update,
but future commits will fix the issues.
* Replace import of `tokio::stream::StreamExt`
Use `futures::stream::StreamExt` instead, because newer versions of
Tokio don't have the `stream` feature.
* Use `IntervalStream` in `zebra-network`
In newer versions of Tokio `Interval` doesn't implement `Stream`, so the
wrapper types from `tokio-stream` have to be used instead.
* Use `IntervalStream` in `inventory_registry`
In newer versions of Tokio the `Interval` type doesn't implement
`Stream`, so `tokio_stream::wrappers::IntervalStream` has to be used
instead.
* Use `BroadcastStream` in `inventory_registry`
In newer versions of Tokio `broadcast::Receiver` doesn't implement
`Stream`, so `tokio_stream::wrappers::BroadcastStream` instead. This
also requires changing the error type that is used.
* Handle `Semaphore::acquire` error in `tower-batch`
Newer versions of Tokio can return an error if the semaphore is closed.
This shouldn't happen in `tower-batch` because the semaphore is never
closed.
* Handle `Semaphore::acquire` error in `zebrad` test
On newer versions of Tokio `Semaphore::acquire` can return an error if
the semaphore is closed. This shouldn't happen in the test because the
semaphore is never closed.
* Update some `zebra-network` dependencies
Use versions compatible with Tokio version 1.
* Upgrade Hyper to version 0.14
Use a version that supports Tokio version 1.
* Update `metrics` dependency to version 0.17
And also update the `metrics-exporter-prometheus` to version 0.6.1.
These updates are to make sure Tokio 1 is supported.
* Use `f64` as the histogram data type
`u64` isn't supported as the histogram data type in newer versions of
`metrics`.
* Update the initialization of the metrics component
Make it compatible with the new version of `metrics`.
* Simplify build version counter
Remove all constants and use the new `metrics::incement_counter!` macro.
* Change metrics output line to match on
The snapshot string isn't included in the newer version of
`metrics-exporter-prometheus`.
* Update `sentry` to version 0.23.0
Use a version compatible with Tokio version 1.
* Remove usage of `TracingIntegration`
This seems to not be available from `sentry-tracing` anymore, so it
needs to be replaced.
* Add sentry layer to tracing initialization
This seems like the replacement for `TracingIntegration`.
* Remove unnecessary conversion
Suggested by a Clippy lint.
* Update Cargo lock file
Apply all of the updates to dependencies.
* Ban duplicate tokio dependencies
Also ban git sources for tokio dependencies.
* Stop allowing sentry-tracing git repository in `deny.toml`
* Allow remaining duplicates after the tokio upgrade
* Use C: drive for CI build output on Windows
GitHub Actions uses a Windows image with two disk drives, and the
default D: drive is smaller than the C: drive. Zebra currently uses a
lot of space to build, so it has to use the C: drive to avoid CI build
failures because of insufficient space.
Co-authored-by: teor <teor@riseup.net>
2021-11-02 18:46:57 +00:00
Conrado Gouvea
e54917ae7c
V1.0.0-beta.0 ( #2973 )
...
* V1.0.0-beta.0
* Bump version in install.md
2021-10-29 20:21:26 +00:00
Deirdre Connolly
0381c2347b
ZIP-401: weighted random mempool eviction ( #2889 )
...
* ZIP-401 weighted random mempool eviction
* rename zcash.mempool.total_cost.bytes to zcash.mempool.cost.bytes
Co-authored-by: teor <teor@riseup.net>
* Remove duplicated lines
* Add cost() method to UnminedTx
Update serialization failure messages
* More docs quoting ZIP-401 rules
* Change mempool::Storage::new() to handle Copy-less HashMap, HashSet
* mempool: tidy cost types and evict_one()
* More consensus rule docs
* Refactor calculating mempool costs for Unmined transactions
* Add a note on asympotic performance of calculating weights of txs in mempool
* Bump test mempool / storage config to avoid weighted random cost limits
* Use mempool tx_cost_limit = u64::MAX for some tests
* Remove failing tests for now
* Allow(clippy::field-reassign-with-default) because of a move on a type that doesn't impl Copy
* Fix mistaken doctest formatting
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
* Increase test timeout for Windows builds
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2021-10-27 00:21:19 +00:00
dependabot[bot]
ae6c90f914
Bump vergen from 5.1.12 to 5.1.16 ( #2926 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.12 to 5.1.16.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.12...5.1.16 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2021-10-22 03:34:46 +00:00
Marek
d2a5af0ea5
V1.0.0 alpha.19 ( #2907 )
...
* Increment the crates that have new commits since the last version
* Increment the crates that depend on crates that have changed
* Increment the version of `zebra-script`
* Use the `zebrad` version in the `zebra-network` user agent string
* Use the `v1.0.0-alpha.19` git tag in `README.md`
* Copy the draft changelog into `CHANGELOG.md`
* Delete bumps
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Add newly merged PRs
Co-authored-by: teor <teor@riseup.net>
2021-10-21 12:33:35 +02:00
dependabot[bot]
12a96e9bef
Bump structopt from 0.3.23 to 0.3.25 ( #2899 )
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.23...v0.3.25 )
---
updated-dependencies:
- dependency-name: structopt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2021-10-19 04:42:19 +00:00
dependabot[bot]
be5c7fa7c9
Bump owo-colors from 3.0.0 to 3.0.1
...
Bumps [owo-colors](https://github.com/jam1garner/owo-colors ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/jam1garner/owo-colors/releases )
- [Commits](https://github.com/jam1garner/owo-colors/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: owo-colors
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 13:21:50 -04:00
Deirdre Connolly
e36ec346e8
Upgrade to ed25519-zebra 3.0.0 ( #2864 )
...
* Upgrade to ed25519-zebra 3.0.0
* Revert unrelated extra space
Co-authored-by: teor <teor@riseup.net>
2021-10-12 23:42:44 +00:00
dependabot[bot]
09f23cb2e0
Bump owo-colors from 2.1.0 to 3.0.0
...
Bumps [owo-colors](https://github.com/jam1garner/owo-colors ) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/jam1garner/owo-colors/releases )
- [Commits](https://github.com/jam1garner/owo-colors/compare/v2.1.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: owo-colors
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 11:45:40 -04:00
dependabot[bot]
7a5f419cb6
Bump thiserror from 1.0.29 to 1.0.30 ( #2856 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-10-11 20:36:44 +00:00
dependabot[bot]
c8af72cd30
Bump tracing from 0.1.28 to 0.1.29 ( #2836 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.28 to 0.1.29.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.28...tracing-0.1.29 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 21:27:04 +00:00
dependabot[bot]
4c02c55f94
Bump tracing-subscriber from 0.2.24 to 0.2.25 ( #2838 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.24 to 0.2.25.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.24...tracing-subscriber-0.2.25 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 06:41:27 +10:00
Pili Guerra
a85e80a0ec
Update versions for zebra v1.0.0-alpha.18 release ( #2828 )
...
* Update versions for zebra v1.0.0-alpha.18 release
* WIP: Initial PR list
* Remove uninteresting version bumps from CHANGELOG
* Categorise and group PRs in CHANGELOG, removing uninteresting PRs
* Further refine and categorise changelog entries
* Fix tag url
* Final changes to CHANGELOG
* Add a changelog description
* Spacing
* Clarify and fix changelog PR descriptions
* Add PRs that are about to be merged
* More slight clarifications
* Spacing
Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
2021-10-05 23:22:31 -03:00
Janito Vaqueiro Ferreira Filho
339fefb6e6
Update shared NU5 dependencies, set the NU5 testnet activation network upgrade parameters ( #2825 )
...
* Check return value of zcash_script_new_precomputed_tx
* Set the NU5 testnet activation height to 1_590_000
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Update Nu5 constants to new values
* Update ZIP-244 test vectors for new branch ID
* Squashed commit of the following:
commit bdb120a249
Author: Deirdre Connolly <durumcrustulum@gmail.com>
Date: Tue Oct 5 11:54:01 2021 -0400
Use pallas::Base::from_str_vartime() in sinsemilla tests
commit e99fa49258
Author: Deirdre Connolly <durumcrustulum@gmail.com>
Date: Tue Oct 5 11:45:24 2021 -0400
Compiles
commit a520018114
Author: Deirdre Connolly <durumcrustulum@gmail.com>
Date: Tue Oct 5 10:15:17 2021 -0400
Incomplete upgrade of deps
* Squashed commit of the following:
commit 8d1b76ec5626517817c3a4d9f3950acc90a359df
Author: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
Date: Tue Oct 5 04:02:26 2021 +0000
Update `zcash_script` to support V5 transactions
Use a newer version of `zcash_script` that has been updated to support
V5 transactions.
commit 371233628ae61e0c25d6ba8f31d9dba42823becb
Author: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
Date: Tue Oct 5 03:06:20 2021 +0000
Update Zcash dependencies
Update some Zcash crates:
- `halo2`
- `incrementalmerkletree' (patch version)
- `orchard` (patch version)
- `zcash_history` (patch version)
- `zcash_note_encryption` (patch version)
- `zcash_primitives` (patch version)
And also update the `group` dependency so that the code remains
compatible.
commit de5cf1ec40c3fc08670fc971cdf3e65e13d9f4c7
Author: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
Date: Tue Oct 5 03:04:13 2021 +0000
Update error message assertion
Use the updated message for the expected error variant.
* Update `zcash_script` to support V5 transactions
Use a newer version of `zcash_script` that has been updated to support
V5 transactions.
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
Co-authored-by: teor <teor@riseup.net>
2021-10-06 11:08:41 +10:00
Janito Vaqueiro Ferreira Filho
5d9893cf31
Send crawled transaction IDs to downloader ( #2801 )
...
* Rename type parameter to be more explicit
Replace the single letter with a proper name.
* Remove imports for `Request` and `Response`
The type names will conflict with the ones for the mempool service.
* Attach `Mempool` service to the `Crawler`
Add a field to the `Crawler` type to store a way to access the `Mempool`
service.
* Forward crawled transactions to downloader
The crawled transactions are now sent to the transaction downloader and
verifier, to be included in the mempool.
* Derive `Eq` and `PartialEq` for `mempool::Request`
Make it simpler to use the `MockService::expect_request` method.
* Test if crawled transactions are downloaded
Create some dummy crawled transactions, and let the crawler discover
them. Then check if they are forwarded to the mempool to be downloaded
and verified.
* Don't send empty transaction ID list to downloader
Ignore response from peers that don't provide any crawled transactions.
* Log errors when forwarding crawled transaction IDs
Calling the Mempool service should not fail, so if an error happens it
should be visible. However, errors when downloading individual
transactions can happen from time to time, so there's no need for them
to be very visible.
* Document existing `mempool::Crawler` test
Provide some depth as to what the test expect from the crawler's
behavior.
* Refactor to create `setup_crawler` helper function
Make it easier to reuse the common test setup code.
* Simplify code to expect requests
Now that `zebra_network::Request` implement `Eq`, the call can be
simplified into `expect_request`.
* Refactor to create `respond_with_transaction_ids`
A helper function that checks for a network crawl request and responds
with the given list of crawled transaction IDs.
* Refactor to create `crawler_iterator` helper
A function to intercept and respond to the fanned-out requests sent
during a single crawl iteration.
* Refactor to create `respond_to_queue_request`
Reduce the repeated code necessary to intercept and reply to a request
for queuing transactions to be downloaded.
* Add `respond_to_queue_request_with_error` helper
Intercepts a mempool request to queue transactions to be downloaded, and
responds with an error, simulating an internal problem in the mempool
service implementation.
* Derive `Arbitrary` for `NetworkUpgrade`
This is required for deriving `Arbitrary` for some error types.
* Derive `Arbitrary` for `TransactionError`
Allow random transaction errors to be generated for property tests.
* Derive `Arbitrary` for `MempoolError`
Allow random Mempool errors to be generated for property tests.
* Test if errors don't stop the mempool crawler
The crawler should be robust enough to continue operating even if the
mempool service fails to download transactions or even fails to handle
requests to enqueue transactions.
* Reduce the log level for download errors
They should happen regularly, so there's no need to have them with a
high visibility level.
Co-authored-by: teor <teor@riseup.net>
* Stop crawler if service stops
If `Mempool::poll_ready` returns an error, it's because the mempool
service has stopped and can't handle any requests, so the crawler should
stop as well.
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2021-10-05 10:55:42 +10:00
dependabot[bot]
0325ba9f1f
Bump pretty_assertions from 0.7.2 to 1.0.0 ( #2805 )
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 0.7.2 to 1.0.0.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.7.2...v1.0.0 )
---
updated-dependencies:
- dependency-name: pretty_assertions
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2021-09-30 03:28:32 +00:00
dependabot[bot]
bace79a76e
Bump owo-colors from 2.0.0 to 2.1.0
...
Bumps [owo-colors](https://github.com/jam1garner/owo-colors ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/jam1garner/owo-colors/releases )
- [Commits](https://github.com/jam1garner/owo-colors/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: owo-colors
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-23 13:54:27 -04:00
dependabot[bot]
e2cc6e12f8
Bump dirs from 3.0.2 to 4.0.0
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
---
updated-dependencies:
- dependency-name: dirs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 20:15:32 -04:00
dependabot[bot]
de589f6b31
Bump tracing-subscriber from 0.2.22 to 0.2.24
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.22 to 0.2.24.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.22...tracing-subscriber-0.2.24 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 17:15:55 -04:00
dependabot[bot]
d178e08986
Bump tracing from 0.1.27 to 0.1.28
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 16:33:13 -04:00
dependabot[bot]
495316ac06
Bump serde_json from 1.0.67 to 1.0.68
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.67 to 1.0.68.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.67...v1.0.68 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-15 17:26:22 -04:00
dependabot[bot]
3e358dafd1
Bump tracing-subscriber from 0.2.21 to 0.2.22
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.21 to 0.2.22.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.21...tracing-subscriber-0.2.22 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 21:32:37 -04:00
dependabot[bot]
21af477a37
Bump tracing from 0.1.26 to 0.1.27
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 21:01:01 -04:00
dependabot[bot]
9b3f6b3105
Bump sha2 from 0.9.6 to 0.9.8 ( #2746 )
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.6 to 0.9.8.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.6...sha2-v0.9.8 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-09-14 17:57:58 -04:00
Conrado Gouvea
8971d62727
Update version strings for v1.0.0 alpha.17 release ( #2750 )
...
* Change versions for v1.0.0-alpha.17 release
2021-09-14 17:41:50 +00:00
dependabot[bot]
b5a7618a16
Bump tracing-subscriber from 0.2.19 to 0.2.21
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.19 to 0.2.21.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.19...tracing-subscriber-0.2.21 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 14:27:54 -04:00
dependabot[bot]
8e65e8281d
Bump inferno from 0.10.6 to 0.10.7
...
Bumps [inferno](https://github.com/jonhoo/inferno ) from 0.10.6 to 0.10.7.
- [Release notes](https://github.com/jonhoo/inferno/releases )
- [Changelog](https://github.com/jonhoo/inferno/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.10.6...v0.10.7 )
---
updated-dependencies:
- dependency-name: inferno
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 18:02:55 -04:00
dependabot[bot]
af8dd3e4b1
Bump thiserror from 1.0.28 to 1.0.29
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.28...1.0.29 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 15:41:24 -04:00
Conrado Gouvea
7abc98afda
Update num-bigint to 0.3.3 to fix rust nightly compilation
2021-09-03 16:02:06 -04:00
dependabot[bot]
cdfc380d2b
Bump thiserror from 1.0.25 to 1.0.28
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.25 to 1.0.28.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.25...1.0.28 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 22:19:04 -04:00
dependabot[bot]
01eeecb901
Bump structopt from 0.3.21 to 0.3.23
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.21 to 0.3.23.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.21...v0.3.23 )
---
updated-dependencies:
- dependency-name: structopt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 21:48:24 -04:00
dependabot[bot]
08bf8b4007
Bump serde_json from 1.0.64 to 1.0.67
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.64 to 1.0.67.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.67 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 21:11:34 -04:00
dependabot[bot]
3762d72745
Bump serde from 1.0.126 to 1.0.130
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.126 to 1.0.130.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.130 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 20:32:22 -04:00
dependabot[bot]
c9fbd0939f
Bump futures from 0.3.15 to 0.3.17
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.15 to 0.3.17.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.15...0.3.17 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 18:08:51 -04:00
dependabot[bot]
25f481c2b8
Bump futures-util from 0.3.15 to 0.3.17
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.15 to 0.3.17.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.15...0.3.17 )
---
updated-dependencies:
- dependency-name: futures-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 15:17:54 -04:00
dependabot[bot]
424095096a
Bump sha2 from 0.9.5 to 0.9.6
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.5...sha2-v0.9.6 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-29 21:01:15 -04:00
Alfredo Garcia
968f20d423
Update versions for zebra v1.0.0-alpha.16 release ( #2670 )
...
* bump crate versions
* update zebra-script
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-08-27 22:13:54 +00:00
Conrado Gouvea
bc4194fcb9
ZIP-221/244 auth data commitment validation in checkpoint verifier ( #2633 )
...
* Add validation of ZIP-221 and ZIP-244 commitments
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Add auth commitment check in the finalized state
* Reset the verifier when comitting to state fails
* Add explanation comment
* Add test with fake activation heights
* Add generate_valid_commitments flag
* Enable fake activation heights using env var instead of feature
* Also update initial_tip_hash; refactor into progress_from_tip()
* Improve comments
* Add fake activation heights test to CI
* Fix bug that caused commitment trees to not match when generating partial arbitrary chains
* Add ChainHistoryBlockTxAuthCommitmentHash::from_commitments to organize and deduplicate code
* Remove stale comment, improve readability
* Allow overriding with PROPTEST_CASES
* partial_chain_strategy(): don't update note commitment trees when not needed; add comment
Co-authored-by: teor <teor@riseup.net>
2021-08-23 14:17:33 +00:00
teor
6f8f4d8987
Provide recent syncer response lengths as a watch channel ( #2602 )
...
* Minimal recent sync lengths implementation
Also includes metrics and logging, to make diagnosing bugs easier.
* Add logging to check what happens when Zebra reaches the chain tip
* Add tests for recent sync lengths
- initially empty
- pruned to correct length
- newest entries go first
* Drop a redundant `/` from a Cargo.lock URL
This seems to be a nightly or beta Rust change,
but hopefully stable just accepts it.
* Use metrics histograms to avoid overwriting values
* Add detailed syncer monitoring dashboard
* Increase the recent sync length to 4
This length makes it easier to distinguish between temporary and
sustained errors/syncs.
Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
2021-08-19 23:16:16 +00:00
Conrado Gouvea
5c5abf6171
ZIP-221 and ZIP-244 commitment validation in non-finalized state ( #2609 )
...
* Add validation of ZIP-221 and ZIP-244 commitments
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: teor <teor@riseup.net>
2021-08-17 11:49:27 -03:00
Pili Guerra
234953e620
Update versions for zebra v1.0.0-alpha.15 release ( #2612 )
2021-08-16 10:06:26 +00:00
Pili Guerra
f59d552721
Update versions for zebra v1.0.0-alpha.14 release ( #2537 )
...
Co-authored-by: teor <teor@riseup.net>
2021-07-29 19:42:21 +00:00
Deirdre Connolly
e719c46b1b
Track anchors and note commitment trees in zebra-state ( #2458 )
...
* Tidy chain Cargo.toml
* Organize imports
* Add method to get note commitments from all Actions in Orchard shielded data
* Add method to get note commitments from all JoinSplits in Sprout JoinSplitData
* Add Request and Response variants for awaiting anchors
* Add anchors and note commitment trees to finalized state db
* Add (From|Into)Disk impls for tree::Roots and stubs for NoteCommitmentTrees
* Track anchors and note commitment trees in Chain
Append note commitments to their trees when doing update_chain_state_with,
then use the resulting Sapling and Orchard roots to pass to history_tree, and add
new roots to the anchor sets.
* Handle errors when appending to note commitment trees
* Add comments explaining why note commitment are not removed from the tree in revert_chain_state_with
* Implementing note commitments in finalized state
* Finish serialization of Orchard tree; remove old tree when updating finalize state
* Add serialization and finalized state updates for Sprout and Sapling trees
* Partially handle trees in non-finalized state. Use Option for trees in Chain
* Rebuild trees when forking; change finalized state tree getters to not require height
* Pass empty trees to tests; use empty trees by default in Chain
* Also rebuild anchor sets when forking
* Use empty tree as default in finalized state tree getters (for now)
* Use HashMultiSet for anchors in order to make pop_root() work correctly
* Reduce DEFAULT_PARTIAL_CHAIN_PROPTEST_CASES and MAX_PARTIAL_CHAIN_BLOCKS
* Reduce DEFAULT_PARTIAL_CHAIN_PROPTEST_CASES and MAX_PARTIAL_CHAIN_BLOCKS even more
* Apply suggestions from code review
* Add comments about order of note commitments and related methods/fields
* Don't use Option for trees
* Set DEFAULT_PARTIAL_CHAIN_PROPTEST_CASES=1 and restore MAX_PARTIAL_CHAIN_BLOCKS
* Remove unneeded anchor set rebuilding in fork()
* Improve proptest formatting
* Add missing comparisons to eq_internal_state
* Renamed sprout::tree::NoteCommitmentTree::hash() to root()
* Improve comments
* Add asserts, add issues to TODOs
* Remove impl Default for Chain since it was only used by tests
* Improve documentation and assertions; add tree serialization tests
* Remove Sprout code, which will be moved to another branch
* Add todo! in Sprout tree append()
* Remove stub request, response *Anchor* handling for now
* Add test for validating Sapling note commitment tree using test blocks
* Increase database version (new columns added for note commitment trees and anchors)
* Update test to make sure the order of sapling_note_commitments() is being tested
* Improve comments and structure of the test
* Improve variable names again
* Rustfmt
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
Co-authored-by: Conrado P. L. Gouvea <conradoplg@gmail.com>
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
Co-authored-by: teor <teor@riseup.net>
2021-07-29 09:37:18 -04:00
teor
cd78241d67
Test consensus-critical `Amount` deserialization ( #2487 )
...
* Add the constraint name to the Amount debug format
* Test consensus-critical serialization for Amount
Previously we were testing `serde` and `bincode` serialization,
which uses a completely different code path.
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2021-07-15 21:34:22 +00:00
Deirdre Connolly
48cf52735c
Calculate incremental note commitment trees ( #2407 )
...
* Make sapling::tree::NoteCommitmentTree incrementally updateable
* Make orchard::tree::NoteCommitmentTree incrementally updateable
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Changed to incrementalmerkletree implementation; update MerkleCRH^Orchard
* Improvements from review; organize file names (vectors.rs -> tree.rs)
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Conrado P. L. Gouvea <conradoplg@gmail.com>
2021-07-15 13:58:36 +00:00
Pili Guerra
4bfcc916de
Update versions for v1.0.0 alpha.13 release ( #2488 )
...
* Update versions for v1.0.0-alpha.13 release
* Update Cargo.lock
Co-authored-by: teor <teor@riseup.net>
2021-07-15 08:52:55 -03:00
teor
0f5eced5c7
Reject duplicate sprout nullifiers in the state ( #2477 )
...
* Reject duplicate sprout nullifiers in the state
* Improve docs and error messages
* Clarify "must be present" assert logs
* Move nullifier checks to their own module
Also:
* make non-finalized nullifier checks and errors generic over
sprout, sapling, and orchard
* create and update module and function documentation
* Fix a block type name in docs
* Move state assertions or skip them during tests
These changes enable state testing, while still asserting in production.
* Add sprout duplicate nullifier tests
* Improve comments
* Set value balance to 0 to pass future chain value pool checks
* Test finalized state in sprout nullifier accept test
* Replace assert with expect
* Improve assertion messages
2021-07-14 09:06:43 -03:00
Conrado Gouvea
dd645e7e0c
Add ZIP-0244 TxId Digest support ( #2129 )
...
* Add ZIP-0244 TxId Digest support
* Apply suggestions from code review
Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-07-06 09:58:22 -03:00
dependabot[bot]
6a6c8ee999
build(deps): bump displaydoc from 0.2.1 to 0.2.2 ( #2439 )
...
Bumps [displaydoc](https://github.com/yaahc/displaydoc ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/yaahc/displaydoc/releases )
- [Changelog](https://github.com/yaahc/displaydoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/displaydoc/compare/v0.2.1...v0.2.2 )
---
updated-dependencies:
- dependency-name: displaydoc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-02 13:20:47 -04:00
dependabot[bot]
11d8389371
build(deps): bump vergen from 5.1.11 to 5.1.12 ( #2431 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.11 to 5.1.12.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.11...5.1.12 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-02 09:24:20 +10:00
Pili Guerra
515dc4bf5c
Update versions for Zebra v1.0.0 alpha.12 release ( #2415 )
...
* Update versions for zebra v1.0.0-alpha.12 release
* Update Cargo.lock
* Update release checklist with latest version changes to help keep track for future releases
* Remove reference to the fact that tower-fallback was not updated
2021-07-01 08:59:32 +01:00
Janito Vaqueiro Ferreira Filho
f33923f12f
Create a shared Tokio runtime for tests ( #2397 )
...
* Add a `zebra_test::RUNTIME` shared runtime
Create a lazily instantiated Tokio runtime that can be shared by tests.
* Split tests that require a shared runtime
Split two tests that were previously in one because of the need to share
a single Tokio runtime. With the `zebra_test::RUNTIME`, they can now
share the runtime without having to be a single test.
2021-07-01 10:30:31 +10:00
dependabot[bot]
3dbb4098e5
build(deps): bump vergen from 5.1.9 to 5.1.11 ( #2422 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.9 to 5.1.11.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.9...5.1.11 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 10:14:31 +10:00
dependabot[bot]
b59121b09e
build(deps): bump indexmap from 1.6.2 to 1.7.0
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.6.2 to 1.7.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.6.2...1.7.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 13:36:35 -04:00
dependabot[bot]
83876da183
build(deps): bump uint from 0.9.0 to 0.9.1
...
Bumps [uint](https://github.com/paritytech/parity-common ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/paritytech/parity-common/releases )
- [Commits](https://github.com/paritytech/parity-common/compare/uint-v0.9.0...uint-v0.9.1 )
---
updated-dependencies:
- dependency-name: uint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 13:28:18 -04:00
dependabot[bot]
df426cba9e
build(deps): bump tracing-subscriber from 0.2.18 to 0.2.19
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.18 to 0.2.19.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.18...tracing-subscriber-0.2.19 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 11:25:55 -04:00
Janito Vaqueiro Ferreira Filho
fdeb6d5ec8
Refactor Sprout Join Split validation by transaction verifier ( #2371 )
...
* Refactor to create `verify_sprout_shielded_data`
Move the join split verification code into a new
`verify_sprout_shielded_data` helper method that returns an
`AsyncChecks` set.
* Test if signed V4 tx. join splits are accepted
Create a fake V4 transaction with a dummy join split, and sign it
appropriately. Check if the transaction verifier accepts the
transaction.
* Test if unsigned V4 tx. joinsplit data is rejected
Create a fake V4 transaction with a dummy join split. Do NOT sign this
transaction's join split data, and check that the verifier rejects the
transaction.
* Join tests to share Tokio runtime
Otherwise one of the tests might fail incorrectly because of a
limitation in the test environment. `Batch` services spawn a task in the
Tokio runtime, but separate tests can have separate runtimes, so sharing
a `Batch` service can lead to the worker task only being available for
one of the tests.
2021-06-25 00:47:39 +00:00
Conrado Gouvea
9688811e35
Update multiple crates to ensure bitvec 0.22.3 is being used ( #2351 )
...
* Update multiple crates to ensure bitvec 0.22.3 is being used and avoid package conflicts
* Add documentation to zebra-chain::sapling to indicate that ZIP-216 rules are enforced by jubjub
Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2021-06-23 13:16:22 +10:00
teor
bcd5f2c50d
Gossip dynamic local listener ports to peers ( #2277 )
...
* Gossip dynamically allocated listener ports to peers
Previously, Zebra would either gossip port `0`, which is invalid, or skip
gossiping its own dynamically allocated listener port.
* Improve "no configured peers" warning
And downgrade from error to warning, because inbound-only nodes are a
valid use case.
* Move random_known_port to zebra-test
* Add tests for dynamic local listener ports and the AddressBook
Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
2021-06-23 07:59:06 +10:00
teor
3bd52f89a5
Upgrade to pin_project 1.0.7 to resolve nightly warnings
...
Except for tower-fallback, which has code that is incompatible with
pin_project 1.0.
2021-06-21 15:52:39 -04:00
dependabot[bot]
b3849695a4
build(deps): bump secp256k1 from 0.20.2 to 0.20.3
...
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1 ) from 0.20.2 to 0.20.3.
- [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/compare/secp256k1-0.20.2...secp256k1-0.20.3 )
---
updated-dependencies:
- dependency-name: secp256k1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 15:45:48 -04:00
dependabot[bot]
17d9b898ea
build(deps): bump bech32 from 0.8.0 to 0.8.1
...
Bumps [bech32](https://github.com/rust-bitcoin/rust-bech32 ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/rust-bitcoin/rust-bech32/releases )
- [Commits](https://github.com/rust-bitcoin/rust-bech32/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: bech32
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 15:43:29 -04:00
Conrado Gouvea
c9e93a75f7
Replace primitives_types with uint ( #2350 )
2021-06-18 15:35:05 -03:00
Pili Guerra
6396ac27d8
Update versions for zebra v1.0.0-alpha.11 release ( #2334 )
...
* Update versions for zebra v1.0.0-alpha.11 release
* Update Cargo.lock
2021-06-18 10:37:58 +01:00
teor
ff7c1c4523
Depend on a specific git commit for zcash_history ( #2345 )
2021-06-18 09:32:21 +00:00
Conrado P. L. Gouvea
1cb10ec9e7
update librustzcash, change zcash_history to work with it
2021-06-17 14:26:31 -04:00
dependabot[bot]
e7010adbe1
build(deps): bump vergen from 5.1.8 to 5.1.9
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.8 to 5.1.9.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.8...5.1.9 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 14:20:48 -04:00
dependabot[bot]
6b6960b63e
build(deps): bump rand from 0.8.1 to 0.8.4
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.8.1 to 0.8.4.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.1...0.8.4 )
---
updated-dependencies:
- dependency-name: rand
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 12:17:00 -04:00
dependabot[bot]
13b47fc292
build(deps): bump rand_core from 0.6.2 to 0.6.3
...
Bumps [rand_core](https://github.com/rust-random/rand ) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/rand_core-0.6.2...rand_core-0.6.3 )
---
updated-dependencies:
- dependency-name: rand_core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 11:04:08 -04:00
Deirdre Connolly
928191bc92
Remove unused dep 'pairing' in zebra-consensus
...
It was once needed for an early iteration of the Groth16Verifier, not anymore
2021-06-15 17:44:00 -04:00
dependabot[bot]
cab4b75a6d
build(deps): bump zcash_history from `cc533a9` to `d88e401`
...
Bumps [zcash_history](https://github.com/zcash/librustzcash ) from `cc533a9` to `d88e401`.
- [Release notes](https://github.com/zcash/librustzcash/releases )
- [Commits](cc533a9da4...d88e40113c
)
---
updated-dependencies:
- dependency-name: zcash_history
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 17:33:15 -04:00
dependabot[bot]
c8711bd416
build(deps): bump zcash_history from `d50bb12` to `cc533a9` ( #2296 )
...
Bumps [zcash_history](https://github.com/zcash/librustzcash ) from `d50bb12` to `cc533a9`.
- [Release notes](https://github.com/zcash/librustzcash/releases )
- [Commits](d50bb12a97...cc533a9da4
)
---
updated-dependencies:
- dependency-name: zcash_history
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 21:07:19 -03:00
dependabot[bot]
b4f6251c9d
build(deps): bump once_cell from 1.7.2 to 1.8.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.7.2...v1.8.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 17:06:52 -04:00
Conrado Gouvea
5c0880810b
ZIP-221: integrate MMR tree from librustcash (without Orchard) ( #2227 )
...
* add zcash_history.rs with librustzcash Tree wrapper
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Apply changes from code review
* Update zebra-chain/src/primitives/zcash_history.rs
Co-authored-by: teor <teor@riseup.net>
* Apply changes from code review
* Add Entry struct; return Result where needed; add test
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* zcash_history: improve naming style with `inner`
* zcash_history: check if block has the correct network upgrade when adding to tree
* zcash_history: test improvements
* zcash_history: split Tree::new into new_from_block and new_from_cache
* zcash_history: move tests to their own file
* remove unneeded empty line in Cargo.toml
Co-authored-by: teor <teor@riseup.net>
2021-06-11 11:25:48 -03:00
dependabot[bot]
4aecf03607
build(deps): bump rand_chacha from 0.3.0 to 0.3.1
...
Bumps [rand_chacha](https://github.com/rust-random/rand ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/rand_chacha-0.3.0...rand_chacha-0.3.1 )
---
updated-dependencies:
- dependency-name: rand_chacha
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 22:51:13 -04:00
teor
56ef08e385
Rewrite acceptance test matching
...
- Add a custom semver match for `zebrad` versions
- Prefer "line contains string" matches, so tests ignore minor changes
- Escape regex meta-characters when a literal string match is intended
- Rename test functions so they are more precise
- Rewrite match internals to remove duplicate code and enable custom matches
- Document match functions
2021-06-10 22:46:33 -04:00
dependabot[bot]
fc0edb5c44
build(deps): bump itertools from 0.10.0 to 0.10.1 ( #2279 )
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rust-itertools/itertools/releases )
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 12:26:46 +10:00
Pili Guerra
9aafa79fa3
Update versions for zebra v1.0.0-alpha.10 release ( #2245 )
...
* Update versions for zebra v1.0.0-alpha.10 release
* Update Cargo.lock
2021-06-09 12:56:36 +02:00
dependabot[bot]
d8fc8ac4f6
build(deps): bump inferno from 0.10.5 to 0.10.6
...
Bumps [inferno](https://github.com/jonhoo/inferno ) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/jonhoo/inferno/releases )
- [Changelog](https://github.com/jonhoo/inferno/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.10.5...v0.10.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 09:57:10 -04:00
dependabot[bot]
55403c8d57
build(deps): bump vergen from 5.1.7 to 5.1.8
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.7 to 5.1.8.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.7...5.1.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 09:55:30 -04:00
Pili Guerra
e3d2ae0a8a
Update versions for zebra v1.0.0-alpha.9 release ( #2196 )
...
* Update versions for zebra v1.0.0-alpha.9 release
* Update Cargo.lock
2021-05-26 13:01:39 +02:00
dependabot[bot]
f13831eaab
build(deps): bump thiserror from 1.0.24 to 1.0.25 ( #2190 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.24...1.0.25 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 20:41:21 +10:00
dependabot[bot]
bce1c99664
build(deps): bump vergen from 5.1.6 to 5.1.7 ( #2189 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.6 to 5.1.7.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.6...5.1.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 20:39:13 +10:00
Deirdre Connolly
ad7a29517c
Fix clippy::cmp_owned for (sapling, orchard)::keys with `ConstantTimeEq` ( #2184 )
...
* Impl subtle::ConstantTimeEq for orchard SpendingKey, use that in Eq/PartialEq
* Use constant time comparisons for secret key data where applicable
This also makes Clippy happier so that we aren't creating types just to compare.
* Fix clippy::cmp_owned for orchard::keys Eq/PartialEq
By impl'ing ConstantTimeEq for those types where leaks of the value
would compromise access or privacy.
* Make clippy::cmp_owned happy for some sapling::keys
2021-05-22 09:40:49 -03:00
dependabot[bot]
093075d69a
build(deps): bump vergen from 5.1.2 to 5.1.6
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.2 to 5.1.6.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.2...5.1.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 20:06:10 -04:00
teor
54080b0f6c
Add a "modified" flag to the panic report metadata
...
If the source code doesn't match the commit, the reported version will
end with ".modified".
2021-05-20 09:00:56 +10:00
teor
62f053de9e
Enable cargo env vars when there is no .git
...
But still disable git env vars.
This change requires vergen 5.1.4 or later.
2021-05-20 09:00:56 +10:00
dependabot[bot]
e0fdadaca2
build(deps): bump tokio-test from 0.4.1 to 0.4.2 ( #2162 )
...
Bumps [tokio-test](https://github.com/tokio-rs/tokio ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-test-0.4.1...tokio-test-0.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 20:47:46 +10:00
dependabot[bot]
adcd13bdd3
build(deps): bump serde from 1.0.125 to 1.0.126 ( #2151 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.125 to 1.0.126.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.125...v1.0.126 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 10:23:51 +10:00
dependabot[bot]
b8fe6617b8
build(deps): bump sha2 from 0.9.4 to 0.9.5 ( #2147 )
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.4...sha2-v0.9.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 07:58:48 +10:00
dependabot[bot]
55b2127ddc
build(deps): bump futures from 0.3.14 to 0.3.15 ( #2144 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.14...0.3.15 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 07:56:47 +10:00
Pili Guerra
500dc2e511
Update version strings for Zebra v1.0.0-alpha.8 release ( #2136 )
...
* Update versions for zebra v1.0.0-alpha.8 release
* Update tower-batch and tower-fallback version strings
* Update Cargo.lock
2021-05-12 14:27:36 +02:00
teor
2ef5277d2b
Update Cargo.lock
2021-05-06 20:31:54 -04:00
Deirdre Connolly
3901dc9adc
Merge pull request #2099 from ZcashFoundation/redpallas-sig-stub
...
Flesh out redpallas, direct port of redjubjub
2021-05-06 10:56:00 -04:00
dependabot[bot]
c2706f448a
build(deps): bump sha2 from 0.9.3 to 0.9.4
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.3...sha2-v0.9.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 08:58:07 -04:00
dependabot[bot]
7721544bdb
build(deps): bump inferno from 0.10.4 to 0.10.5
...
Bumps [inferno](https://github.com/jonhoo/inferno ) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/jonhoo/inferno/releases )
- [Changelog](https://github.com/jonhoo/inferno/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.10.4...v0.10.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 08:54:44 -04:00
dependabot[bot]
a04022adfc
build(deps): bump inferno from 0.10.3 to 0.10.4
...
Bumps [inferno](https://github.com/jonhoo/inferno ) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/jonhoo/inferno/releases )
- [Changelog](https://github.com/jonhoo/inferno/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.10.3...v0.10.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 07:15:51 -04:00
dependabot[bot]
5632d8cbb8
build(deps): bump tracing-subscriber from 0.2.17 to 0.2.18 ( #2097 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.17...tracing-subscriber-0.2.18 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 09:13:14 +10:00
dependabot[bot]
84aca7e78b
build(deps): bump tracing from 0.1.25 to 0.1.26
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.25 to 0.1.26.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.25...tracing-0.1.26 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 17:05:49 -04:00
dependabot[bot]
72547cafff
build(deps): bump secp256k1 from 0.20.1 to 0.20.2
...
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1 ) from 0.20.1 to 0.20.2.
- [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 11:22:35 -04:00
Deirdre Connolly
566a10151c
Rebase tidies
2021-04-30 00:48:23 -04:00
Deirdre Connolly
6d4ecff24b
Pin halo2 commit and update usage of pasta_curves accordingly
2021-04-30 00:48:23 -04:00
Deirdre Connolly
638ff8d7f8
Bump redjubjub
2021-04-30 00:48:23 -04:00
Deirdre Connolly
db8f9cb81a
orchard: Better Debug impls for some keys
2021-04-30 00:48:23 -04:00
Deirdre Connolly
bd4e5e1f38
Cleanup
2021-04-30 00:48:23 -04:00
Deirdre Connolly
df1ecc72b1
Most things are filled in, including a guess at Pallas-based Mixing Pedersen Hash
2021-04-30 00:48:23 -04:00
Deirdre Connolly
40383b2741
Partway done with typing out Orchard chain types
2021-04-30 00:48:23 -04:00
teor
b70b74c93a
Revert "build(deps): bump vergen from 5.1.2 to 5.1.5" ( #2078 )
...
This reverts commit 555805171c
.
2021-04-28 09:38:10 -04:00
dependabot[bot]
555805171c
build(deps): bump vergen from 5.1.2 to 5.1.5
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.2 to 5.1.5.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.2...5.1.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 10:26:26 -04:00
dependabot[bot]
9ac0319602
build(deps): bump dirs from 3.0.1 to 3.0.2
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 14:04:31 -04:00
dependabot[bot]
1be56166b6
build(deps): bump regex from 1.4.5 to 1.4.6
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.4.5...1.4.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-23 09:38:51 -04:00
Pili Guerra
ea1446ee92
Update version strings for Zebra v1.0.0-alpha.7 release ( #2056 )
...
* Update version strings for Zebra v1.0.0-alpha.7 release
2021-04-23 12:56:25 +00:00
Kirill Fomichev
5b2f1cdfd5
Add journald support through tracing-journald ( #2034 )
...
* Add journald support through tracing-journald
* change journald to use_journald
* more fixes
2021-04-22 09:31:06 +10:00
Kirill Fomichev
afac2c2846
Use the default port for configured listen addresses with no port ( #2043 )
...
* Allow use listen address in config without port
* update comments
* remove not used alias
* use Network::default_port
* Move tests and use toml instead json
* change error message
* Make match more readable
Co-authored-by: teor <teor@riseup.net>
2021-04-21 23:14:29 +00:00
teor
9e45e6bb23
Revert "Revert "build(deps): bump vergen from 5.1.1 to 5.1.2""
...
This reverts commit ccf5d82517
.
2021-04-20 19:30:20 -04:00
Deirdre Connolly
ccf5d82517
Revert "build(deps): bump vergen from 5.1.1 to 5.1.2"
...
This reverts commit 962cb9c579
.
2021-04-20 10:19:02 -04:00
dependabot[bot]
962cb9c579
build(deps): bump vergen from 5.1.1 to 5.1.2
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.1...5.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 10:18:45 -04:00
Kirill Fomichev
43e792b9a4
Update to vergen 5, add branch, commit time, and build target to the panic metadata, automatically update app version from crate version ( #2029 )
...
* build(deps): bump vergen from 3.2.0 to 5.1.1
* fix hardcoded version for Tracing struct
* add additional metadata
* remove extra allocations for metadata
* Remove zebrad code version from release checklist
The zebrad code automatically uses the crate version now.
* Sort panic metadata into rough categories
Co-authored-by: teor <teor@riseup.net>
2021-04-20 06:48:14 +10:00
Kirill Fomichev
b636cf8ac1
Benchmark Block struct serialization code ( #2018 )
...
* Benchmark Block struct serialization code
* benchmark generated block
* add deserialize benchmark
* Fix block/tests.rs conditional module imports
* add large_single_transaction_block
* Fix name for deserialise benchmark
Co-authored-by: teor <teor@riseup.net>
2021-04-19 12:15:02 +00:00
Kirill Fomichev
5f36be7223
build(deps): bump ripemd160 from 0.8.0 to 0.9.1 ( #2027 )
2021-04-19 20:43:38 +10:00
Kirill Fomichev
fb799b202c
Update dependencies to support Apple M1, fix Windows CI LLVM paths ( #2026 )
...
* build(deps): update for Apple M1
* fix ci
* bump rocksdb
* bump zcash_script
2021-04-19 20:39:24 +10:00
teor
b9ac221ad4
Implement Sapling serialization in Transaction V5 ( #2020 )
...
* serialize/deserialize spaling shielded data in v5 transaction
* fix serialize/deserialize fields order according to spec
* remove extra clone calls
* more serialize fixes
* clippy: fix empty array
* tidy comments
* Add v4 and v5 transaction tests
Also make sure that serialized bytes match if structs match.
* Test fake v5 blocks made out of pre-NU5 block test vectors
* Add outputs-only tests for v5 shared anchor serialization
* Refactor sapling::ShieldedData V5 serialization into its own impl
* Fix spec name typos
* Simplify sapling shielded data parsing
* Delete redundant V5 transaction wrappers in tests
And split out sapling ShieldedData serialization.
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2021-04-19 08:09:57 +10:00
dependabot[bot]
6f8a6a9bc0
build(deps): bump pretty_assertions from 0.7.1 to 0.7.2
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.7.1...v0.7.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-17 01:44:41 -04:00
teor
3cb88c0957
Fix a nightly compile error by patching lexical-core to 0.7.5
...
lexical-core 0.7.4 is incompatible with rustc nightly >= ~2021-03-24,
see https://github.com/rust-lang/rust/issues/81654
While we're waiting for zcash_script, rocksdb, and their dependencies to
upgrade, patch lexical-core to 0.7.5 in the zebra workspace.
2021-04-15 13:47:54 -04:00
dependabot[bot]
7d36a5e2c3
build(deps): bump color-eyre from 0.5.10 to 0.5.11
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/v0.5.11/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.10...v0.5.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 09:22:27 -04:00
dependabot[bot]
f03d69d65e
build(deps): bump x25519-dalek from 1.1.0 to 1.1.1
...
Bumps [x25519-dalek](https://github.com/dalek-cryptography/x25519-dalek ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/dalek-cryptography/x25519-dalek/releases )
- [Changelog](https://github.com/dalek-cryptography/x25519-dalek/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dalek-cryptography/x25519-dalek/compare/1.1.0...1.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 08:50:35 -04:00
dependabot[bot]
e084d0f1dc
build(deps): bump futures from 0.3.13 to 0.3.14
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.13...0.3.14 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 20:45:35 -04:00
dependabot[bot]
3a93043d94
build(deps): bump bincode from 1.3.1 to 1.3.3
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.3.1...v1.3.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 16:00:59 -04:00
Alfredo Garcia
24bf952e98
missed bump of zebra-utils ( #1992 )
2021-04-08 23:49:21 +00:00
Alfredo Garcia
5ec05e91e1
update version strings for v1.0.0-alpha.6
2021-04-08 18:48:34 -04:00
teor
db87a8410e
Update tower-batch tests to rand 0.8
...
And move the ed25519-zebra patch to the workspace Cargo.toml.
This fix helps avoid Cargo.lock instability.
2021-04-07 01:46:22 -04:00
teor
64662a758d
Move the preallocate tests into their own files ( #1977 )
...
* Move the preallocate tests into their own files
And move the MetaAddr proptest into its own file.
Also do some minor formatting and cleanups.
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2021-04-07 12:32:27 +10:00
Deirdre Connolly
6bb5220b13
Bump redjubjub to 0.4.0 ( #1975 )
2021-04-03 11:09:14 -04:00
Alfredo Garcia
48a8a7b851
Refactor Sapling data and use it in V4 ( #1946 )
...
* start refactoring transaction v4 for transaction v5
- move ShieldedData to sapling
- add AnchorVariant
- rename shielded_data to sapling_shielded data in V4
- move value_balance into ShieldedData
- update prop tests for new structure
* add AnchorVariant to Spend
- make anchor types available from sapling crate
- update serialize
* change shielded_balances_match() arguments
* change variable name anchor to shared_anchor in ShieldedData
* fix empty value balance serialization
* use AnchorV in shielded spends
* Rename anchor to per_spend_anchor
* Use nullifiers function directly in non-finalized state
* Use self.value_balance instead of passing it as an argument
* Add missing fields to ShieldedData PartialEq
* Derive Copy for tag types
* Add doc comments for ShieldedData refactor
* Implement a per-spend anchor compatibility iterator
Co-authored-by: teor <teor@riseup.net>
2021-04-01 07:34:25 +10:00
Deirdre Connolly
0ffab6d589
Ed25519 async batch verification for JoinSplit signatures ( #1952 )
...
* Ed25519 async batch verification for JoinSplit signatures
We've been verifying JoinSplitSigs one-by-one pre-ZIP-215. Now as we're post-ZIP-215,
we can take advantage of the batch math to validate this signatures.
I would have pumped all the joinsplits in our MAINNET_BLOCKS test vectors but these
signatures are over the sighash, which needs the NU code to compute, and once we're
doing all that set up, we're basically doing transaction validation, so.
Resolves #1944
* Repoint to latest ed25519-zebra commit with note to point at 3.0 when released
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2021-03-31 09:08:19 +10:00
dependabot[bot]
562c141ee1
build(deps): bump displaydoc from 0.2.0 to 0.2.1 ( #1959 )
...
Bumps [displaydoc](https://github.com/yaahc/displaydoc ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/yaahc/displaydoc/releases )
- [Changelog](https://github.com/yaahc/displaydoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/displaydoc/compare/v0.2.0...v0.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 09:27:00 +10:00
dependabot[bot]
4e754089a6
build(deps): bump owo-colors from 1.4.2 to 2.0.0
...
Bumps [owo-colors](https://github.com/jam1garner/owo-colors ) from 1.4.2 to 2.0.0.
- [Release notes](https://github.com/jam1garner/owo-colors/releases )
- [Commits](https://github.com/jam1garner/owo-colors/compare/v1.4.2...v2.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 08:01:44 -04:00
dependabot[bot]
1c87372b03
build(deps): bump owo-colors from 1.3.0 to 1.4.2
...
Bumps [owo-colors](https://github.com/jam1garner/owo-colors ) from 1.3.0 to 1.4.2.
- [Release notes](https://github.com/jam1garner/owo-colors/releases )
- [Commits](https://github.com/jam1garner/owo-colors/commits/v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-26 14:47:11 -04:00
dependabot[bot]
a8b3ced7e9
build(deps): bump rand_core from 0.6.1 to 0.6.2
...
Bumps [rand_core](https://github.com/rust-random/rand ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/rand_core-0.6.1...rand_core-0.6.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-26 09:33:39 -04:00
Deirdre Connolly
7efc700aca
Merge pull request #1713 from ZcashFoundation/use-groth16-batch-math
...
Use batch optimizations, load params in groth16::Verifier, verify Spend & Output descriptions in transaction verifier
2021-03-24 12:28:25 -04:00
dependabot[bot]
e0643f3664
build(deps): bump serde from 1.0.124 to 1.0.125
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-23 15:25:12 -04:00
Deirdre Connolly
ca1d2de87d
Bump versions for v1.0.0-alpha.5 ( #1932 )
...
Zebra's latest alpha checkpoints on Canopy activation, continues our work on NU5, and fixes a security issue.
Some notable changes include:
## Added
- Log address book metrics when PeerSet or CandidateSet don't have many peers (#1906 )
- Document test coverage workflow (#1919 )
- Add a final job to CI, so we can easily require all the CI jobs to pass (#1927 )
## Changed
- Zebra has moved its mandatory checkpoint from Sapling to Canopy (#1898 , #1926 )
- This is a breaking change for users that depend on the exact height of the mandatory checkpoint.
## Fixed
- tower-batch: wake waiting workers on close to avoid hangs (#1908 )
- Assert that pre-Canopy blocks use checkpointing (#1909 )
- Fix CI disk space usage by disabling incremental compilation in coverage builds (#1923 )
## Security
- Stop relying on unchecked length fields when preallocating vectors (#1925 )
2021-03-22 22:05:01 -04:00
dependabot[bot]
97cae4b2da
build(deps): bump displaydoc from 0.1.7 to 0.2.0
...
Bumps [displaydoc](https://github.com/yaahc/displaydoc ) from 0.1.7 to 0.2.0.
- [Release notes](https://github.com/yaahc/displaydoc/releases )
- [Changelog](https://github.com/yaahc/displaydoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/displaydoc/commits/v0.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-17 15:50:40 -04:00
dependabot[bot]
20a05df58f
build(deps): bump regex from 1.4.3 to 1.4.5
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.4.3 to 1.4.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.4.3...1.4.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-16 21:02:15 -04:00
Jane Lusby
fc4b8c1e70
add basic test for batch waker behaviour
2021-03-17 10:44:18 +10:00
Alfredo Garcia
d49eaab68e
Bump versions for zebrad 1.0.0-alpha.4 ( #1913 )
...
* Bump versions for zebrad 1.0.0-alpha.4
* add Cargo.lock
2021-03-16 21:12:37 -03:00
dependabot[bot]
b618f5b522
build(deps): bump tracing-subscriber from 0.2.16 to 0.2.17
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.16 to 0.2.17.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.16...tracing-subscriber-0.2.17 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-14 19:37:24 -04:00
dependabot[bot]
7f9d66a4af
build(deps): bump serde-big-array from 0.3.1 to 0.3.2
...
Bumps [serde-big-array](https://github.com/est31/serde-big-array ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/est31/serde-big-array/releases )
- [Commits](https://github.com/est31/serde-big-array/commits/v0.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-13 05:50:01 -05:00
dependabot[bot]
8e0fac5336
build(deps): bump byteorder from 1.4.2 to 1.4.3
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/BurntSushi/byteorder/releases )
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.4.2...1.4.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-11 11:15:13 -05:00
dependabot[bot]
d1ab8e9cf4
build(deps): bump pretty_assertions from 0.6.1 to 0.7.1
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 0.6.1 to 0.7.1.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.6.1...v0.7.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 03:59:28 -05:00
dependabot[bot]
466a7f8f44
build(deps): bump indexmap from 1.6.1 to 1.6.2
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.6.1...1.6.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 03:48:20 -05:00
dependabot[bot]
83b9f12b05
build(deps): bump serde from 1.0.123 to 1.0.124
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.123 to 1.0.124.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 01:23:53 -05:00
dependabot[bot]
57745facf6
build(deps): bump hex from 0.4.2 to 0.4.3
...
Bumps [hex](https://github.com/KokaKiwi/rust-hex ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases )
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.2...v0.4.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 14:44:12 -05:00
dependabot[bot]
3c4cd31ce0
build(deps): bump once_cell from 1.7.1 to 1.7.2
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.7.1...v1.7.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 12:37:36 -05:00
dependabot[bot]
d0873da150
build(deps): bump once_cell from 1.7.0 to 1.7.1
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.7.0...v1.7.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 11:28:55 -05:00
Alfredo Garcia
ca44fbd7b8
upgrade ed25519-zebra to v2 ( #1811 )
...
This implements ZIP-215
2021-03-02 17:45:55 +10:00
dependabot[bot]
c5958dbb3d
build(deps): bump rlimit from 0.5.3 to 0.5.4
...
Bumps [rlimit](https://github.com/Nugine/rlimit ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/Nugine/rlimit/releases )
- [Commits](https://github.com/Nugine/rlimit/compare/v0.5.3...v0.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 18:32:49 -05:00
dependabot[bot]
45e22cd6eb
build(deps): bump serde_json from 1.0.63 to 1.0.64
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.63...v1.0.64 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 18:08:29 -05:00
dependabot[bot]
1b02f2d327
build(deps): bump serde_json from 1.0.62 to 1.0.63 ( #1819 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.63 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 10:22:01 +10:00
dependabot[bot]
70327dc9f5
build(deps): bump once_cell from 1.6.0 to 1.7.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.6.0...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 15:32:03 -05:00
dependabot[bot]
bf1e2bd3b8
build(deps): bump tracing from 0.1.24 to 0.1.25 ( #1815 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.24 to 0.1.25.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.24...tracing-0.1.25 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-25 09:28:26 +10:00
dependabot[bot]
7b675bbd73
build(deps): bump futures from 0.3.12 to 0.3.13
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.12...0.3.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 16:09:53 -05:00
dependabot[bot]
58f26df5cb
build(deps): bump futures-core from 0.3.12 to 0.3.13
...
Bumps [futures-core](https://github.com/rust-lang/futures-rs ) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.12...0.3.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 11:11:35 -05:00
dependabot[bot]
dab65b33eb
build(deps): bump once_cell from 1.5.2 to 1.6.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.5.2...v1.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 10:59:40 -05:00
teor
7558f74c78
Bump versions for zebrad 1.0.0-alpha.3
2021-02-23 10:39:13 -05:00
dependabot[bot]
304d7682f5
build(deps): bump tracing-subscriber from 0.2.15 to 0.2.16
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.15...tracing-subscriber-0.2.16 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 01:38:42 -05:00
dependabot[bot]
b578d1ff2e
build(deps): bump proptest-derive from 0.2.0 to 0.3.0
...
Bumps [proptest-derive](https://github.com/AltSysrq/proptest ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/AltSysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/AltSysrq/proptest/compare/proptest-derive-0.2.0...proptest-derive-0.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 01:33:54 -05:00
dependabot[bot]
dd940f7dbf
build(deps): bump bech32 from 0.7.2 to 0.8.0
...
Bumps [bech32](https://github.com/rust-bitcoin/rust-bech32 ) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/rust-bitcoin/rust-bech32/releases )
- [Commits](https://github.com/rust-bitcoin/rust-bech32/compare/v0.7.2...v0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 20:51:43 -05:00
dependabot[bot]
7bba67d97b
build(deps): bump thiserror from 1.0.23 to 1.0.24
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.23 to 1.0.24.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.23...1.0.24 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-19 14:54:40 -05:00
dependabot[bot]
f19ef44493
build(deps): bump tracing from 0.1.23 to 0.1.24
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.23 to 0.1.24.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.23...tracing-0.1.24 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-18 22:21:49 -05:00
dependabot[bot]
76e4b8f693
build(deps): bump tracing-futures from 0.2.4 to 0.2.5
...
Bumps [tracing-futures](https://github.com/tokio-rs/tracing ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-futures-0.2.4...tracing-futures-0.2.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 08:55:16 -05:00
dependabot[bot]
af11cc4815
build(deps): bump vergen from 3.1.0 to 3.2.0
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/v3.1.0...v3.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-10 21:36:03 -05:00
Deirdre Connolly
0c5daa8410
Bump versions for zebrad 1.0.0-alpha.2
...
Including tower-batch bump to 0.2.0, tower-fallback to 0.2.0, zebra-script to 1.0.0-alpha.3
2021-02-09 16:14:29 -05:00
dependabot[bot]
d030cd9e3a
build(deps): bump serde_json from 1.0.61 to 1.0.62
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 18:44:36 -05:00
Jane Lusby
0ac259430a
Implement Async Batch verification API for groth16
...
This PR is the first step in getting a groth16 proving system fully
integrated with the rest of zebra. This PR implements the initial async
API, but none of the actual batching logic necessary for our eventual
verifier design.
Once the batch verification API from bellman has been implemented we
will need to swap out the "Batch" type defined in this crate with the
new `batch::Verifier` defined in bellman.
2021-02-05 14:52:48 -05:00
dependabot[bot]
b3a3b8f7c7
build(deps): bump tracing from 0.1.22 to 0.1.23
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.22 to 0.1.23.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.22...tracing-0.1.23 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-05 12:26:52 -05:00
dependabot[bot]
25b6491929
build(deps): bump sha2 from 0.9.2 to 0.9.3
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.2...sha2-v0.9.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 19:14:15 -05:00
dependabot[bot]
c52310ef91
build(deps): bump jubjub from 0.5.1 to 0.6.0
...
Bumps [jubjub](https://github.com/zkcrypto/jubjub ) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/zkcrypto/jubjub/releases )
- [Changelog](https://github.com/zkcrypto/jubjub/blob/main/RELEASES.md )
- [Commits](https://github.com/zkcrypto/jubjub/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-30 01:54:06 -05:00
dependabot[bot]
5619cd1056
build(deps): bump serde from 1.0.122 to 1.0.123
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.122 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-29 21:18:29 -05:00
dependabot[bot]
3c6bf4e1cd
build(deps): bump primitive-types from 0.8.0 to 0.9.0
...
Bumps [primitive-types](https://github.com/paritytech/parity-common ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/paritytech/parity-common/releases )
- [Commits](https://github.com/paritytech/parity-common/compare/primitive-types-v0.8.0...primitive-types-v0.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-29 21:11:03 -05:00
dependabot[bot]
db9850afd5
build(deps): bump owo-colors from 1.2.1 to 1.3.0
...
Bumps [owo-colors](https://github.com/jam1garner/owo-colors ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/jam1garner/owo-colors/releases )
- [Commits](https://github.com/jam1garner/owo-colors/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-29 21:05:54 -05:00
Alfredo Garcia
4b34482264
Add hints to port conflict and lock file panics ( #1535 )
...
* add hint for port error
* add issue filter for port panic
* add lock file hint
* add metrics endpoint port conflict hint
* add hint for tracing endpoint port conflict
* add acceptance test for resource conflics
* Split out common conflict test code into a function
* Add state, metrics, and tracing conflict tests
* Add a full set of stderr acceptance test functions
This change makes the stdout and stderr acceptance test interfaces
identical.
* move Zcash listener opening
* add todo about hint for disk full
* add constant for lock file
* match path in state cache
* don't match windows cache path
* Use Display for state path logs
Avoids weird escaping on Windows when using Debug
* Add Windows conflict error messages
* Turn PORT_IN_USE_ERROR into a regex
And add another alternative Windows-specific port error
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Jane Lusby <jane@zfnd.org>
2021-01-29 22:36:33 +10:00
Deirdre Connolly
1b09538277
Bump versions for zebrad 1.0.0-alpha.1 ( #1646 )
...
* Bump versions where appropriate
Tested with cargo install --locked --path etc
* Remove fixed panics from 'Known Issues'
* Change to alpha release series in the README
Co-authored-by: teor <teor@riseup.net>
2021-01-27 20:31:39 -05:00
dependabot[bot]
bac46849eb
build(deps): bump serde from 1.0.120 to 1.0.122
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.120 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.120...v1.0.122 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 12:27:39 -05:00
dependabot[bot]
112821a266
build(deps): bump serde from 1.0.119 to 1.0.120
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.119 to 1.0.120.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.120 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-19 10:58:03 -05:00
dependabot[bot]
3a093cca39
build(deps): bump secp256k1 from 0.20.0 to 0.20.1
...
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1 ) from 0.20.0 to 0.20.1.
- [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-17 21:38:41 -05:00
dependabot[bot]
75b510a9f6
build(deps): bump futures from 0.3.11 to 0.3.12
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.11...0.3.12 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-17 15:42:13 -05:00
dependabot[bot]
68e2942f83
build(deps): bump futures from 0.3.9 to 0.3.11
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.9 to 0.3.11.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.9...0.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-15 08:46:33 -05:00
dependabot[bot]
9e21b0d428
build(deps): bump serde from 1.0.118 to 1.0.119
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.118 to 1.0.119.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.119 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-12 15:54:29 -05:00
teor
730910cd99
Upgrade to tokio 0.3.6 from crates.io
...
And remove the tokio git dependency patch
2021-01-12 15:37:27 -05:00
dependabot[bot]
21e92f6392
build(deps): bump futures from 0.3.8 to 0.3.9
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.8...0.3.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-12 02:13:02 -05:00
dependabot[bot]
e3e9990315
build(deps): bump inferno from 0.10.2 to 0.10.3
...
Bumps [inferno](https://github.com/jonhoo/inferno ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/jonhoo/inferno/releases )
- [Changelog](https://github.com/jonhoo/inferno/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.10.2...v0.10.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-12 00:53:49 -05:00
Jane Lusby
15698245e1
Deduplicate metrics dependencies ( #1561 )
...
## Motivation
This PR is motivated by the regression identified in https://github.com/ZcashFoundation/zebra/issues/1349 . That PR notes that the metrics stopped working for most of the crates other than `zebrad`.
## Solution
This PR resolves the regression by deduplicating the `metrics` crate dependency. During a recent change we upgraded the metrics version in `zebrad` and a couple other of our crates, but we never updated the dependencies in `zebra-state`, `zebra-consensus`, or `zebra-network`. This caused the metrics macros to attempt to retrieve the current metrics exporter through the wrong function. We would install the metrics exporter in `0.13`, but then attempt to look it up through the `0.12` crate, which contains a different instance of the metrics exporter static variable which is unset. Doing this causes the metrics macros to return `None` for the current exporter after which they just silently give up.
## Related Issues
closes https://github.com/ZcashFoundation/zebra/issues/1349
## Follow Up Work
I noticed we have quite a few duplicate dependencies in our tree. We might be able to save some compilation time by auditing those and deduplicating them as much as possible.
- https://github.com/ZcashFoundation/zebra/issues/1582
Co-authored-by: teor <teor@riseup.net>
2021-01-12 12:28:56 +10:00
dependabot[bot]
836c74ae16
build(deps): bump regex from 1.4.2 to 1.4.3
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.4.2...1.4.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 20:47:32 -05:00
dependabot[bot]
38ac869f57
build(deps): bump byteorder from 1.3.4 to 1.4.2
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.3.4 to 1.4.2.
- [Release notes](https://github.com/BurntSushi/byteorder/releases )
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.4...1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 18:45:49 -05:00
dependabot[bot]
f222a6805b
build(deps): bump primitive-types from 0.7.3 to 0.8.0
...
Bumps [primitive-types](https://github.com/paritytech/parity-common ) from 0.7.3 to 0.8.0.
- [Release notes](https://github.com/paritytech/parity-common/releases )
- [Commits](https://github.com/paritytech/parity-common/compare/primitive-types-v0.7.3...primitive-types-v0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-06 20:26:31 -05:00
dependabot[bot]
d67de58554
build(deps): bump secp256k1 from 0.19.0 to 0.20.0
...
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1 ) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-04 11:05:43 -05:00
dependabot[bot]
6436a09be6
build(deps): bump serde_json from 1.0.60 to 1.0.61
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.60...v1.0.61 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-30 21:57:27 -05:00
dependabot[bot]
f2a21ac67c
build(deps): bump thiserror from 1.0.22 to 1.0.23
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.22 to 1.0.23.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.22...1.0.23 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-28 16:17:00 -05:00
dependabot[bot]
b2a0048968
build(deps): bump serde-big-array from 0.3.0 to 0.3.1
...
Bumps [serde-big-array](https://github.com/est31/serde-big-array ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/est31/serde-big-array/releases )
- [Commits](https://github.com/est31/serde-big-array/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-28 15:50:29 -05:00
dependabot[bot]
d5f4b55962
build(deps): bump toml from 0.5.7 to 0.5.8
...
Bumps [toml](https://github.com/alexcrichton/toml-rs ) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases )
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.7...0.5.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-26 19:01:18 -05:00
Jane Lusby
cfc339e8ea
export new precompute api in zebra-script ( #1493 )
...
* export new precompute api in zebra-script
* remove old API in favor of precompute API
* add multi use test cases and bump version
* update implementation to actually match henry's design
* Add safety comment for zebra-script
Co-authored-by: teor <teor@riseup.net>
2020-12-18 13:18:28 +10:00
dependabot[bot]
5f8891df88
build(deps): bump indexmap from 1.6.0 to 1.6.1
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.6.0...1.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 16:56:00 -05:00
Alfredo Garcia
41833340c1
downgrade remaining version strings to 1.0.0-alpha.0 ( #1488 )
2020-12-15 11:21:00 +10:00
teor
b8646fa78e
Depend on a tokio commit with the time wheel panic fix
...
Updates the tokio dependency to the commit that merged
tokio-rs/tokio#3229, which should fix the time wheel panic in #1452 .
2020-12-13 22:27:22 -05:00
dependabot[bot]
6ca6d38c5c
build(deps): bump tokio-util from 0.5.0 to 0.5.1
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.5.0...tokio-util-0.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 10:57:11 -05:00
dependabot[bot]
e537926e7b
build(deps): bump serde from 1.0.117 to 1.0.118
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.117 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.117...v1.0.118 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 15:16:15 -05:00
Jane Lusby
400213e2b3
integrate sentry with our existing panic reporting logic
2020-12-09 13:06:18 -05:00
teor
5b687f878a
Remove unused dependencies found using cargo-udeps
2020-12-05 14:53:28 -05:00
dependabot[bot]
c428cbb59f
build(deps): bump serde_json from 1.0.59 to 1.0.60
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.59...v1.0.60 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-03 11:21:57 -05:00
dependabot[bot]
8c052cc39a
build(deps): bump color-eyre from 0.5.9 to 0.5.10
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/v0.5.10/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.9...v0.5.10 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-03 10:55:16 -05:00
Deirdre Connolly
9221dddb7b
Revert "zebrad: remove git pin on metrics dependency"
...
It broke our metrics endpoint.
This reverts commit dc77163524
.
2020-12-02 17:28:49 -05:00
Jane Lusby
d7bef1c155
bump color-eyre version to avoid a panic when printing spantraces ( #1438 )
2020-12-02 14:16:18 -08:00
teor
97d1a81b7c
Automatically disable colors when tracing to a file
2020-12-02 10:25:44 -08:00
dependabot[bot]
6a075ed4b2
build(deps): bump owo-colors from 1.1.3 to 1.2.0
...
Bumps [owo-colors](https://github.com/jam1garner/owo-colors ) from 1.1.3 to 1.2.0.
- [Release notes](https://github.com/jam1garner/owo-colors/releases )
- [Commits](https://github.com/jam1garner/owo-colors/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-02 10:25:16 -08:00
Henry de Valence
dc77163524
zebrad: remove git pin on metrics dependency
...
Because the new version of the prometheus exporter launches its own
single-threaded runtime on a dedicated worker thread, there's no need
for the tokio and hyper versions it uses internally to align with the
versions used in other crates. So we don't need to use our fork with
tokio 0.3, and can just use the published alpha. Advancing to a later
alpha may fix the missing-metrics issues.
2020-12-02 10:23:59 -08:00
teor
cee0e86190
Increase the open file limit on unix platforms
...
If the limit is less than the ideal, try to increase it to the ideal.
If that doesn't work, try to increase the limit as high as possible.
If the limit is still less than the minimum, panic.
2020-12-02 15:32:36 +10:00
Jane Lusby
a91d0f0bb6
Include short sha in log messages and error urls ( #1410 )
...
As we approach our alpha release we've decided we want to plan ahead for the user bug reports we will eventually receive. One of the bigger issues we foresee is determining exactly what version of the software users are running, and particularly how easy it may or may not be for users to accidentally discard this information when reporting bugs.
To defend against this, we've decided to include the exact git sha for any given build in the compiled artifact. This information will then be re-exported as a span early in the application startup process, so that all logs and error messages should include the sha as their very first span. We've also added this sha as issue metadata for `color-eyre`'s github issue url auto generation feature, which should make sure that the sha is easily available in bug reports we receive, even in the absence of logs.
Co-authored-by: teor <teor@riseup.net>
2020-12-01 12:13:20 -08:00
dependabot[bot]
2dd0fa0e07
build(deps): bump tokio from 0.3.4 to 0.3.5
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.3.4...tokio-0.3.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-01 10:39:39 -05:00
dependabot[bot]
61d0f02c57
build(deps): bump inferno from 0.10.1 to 0.10.2
...
Bumps [inferno](https://github.com/jonhoo/inferno ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/jonhoo/inferno/releases )
- [Changelog](https://github.com/jonhoo/inferno/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.10.1...v0.10.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-01 10:35:14 -05:00
dependabot[bot]
1a77122acb
build(deps): bump structopt from 0.3.20 to 0.3.21
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.20 to 0.3.21.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.20...v0.3.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-01 10:34:12 -05:00
teor
939c2b97a6
Implement AdjustedDifficulty creation
...
Also:
* call the difficulty check from `block_is_contextually_valid`
* add a stub `difficulty_threshold_is_valid` function
2020-12-01 07:27:30 +10:00
dependabot[bot]
e832f70c2c
build(deps): bump tracing from 0.1.21 to 0.1.22
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.21 to 0.1.22.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.21...tracing-0.1.22 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-24 10:55:53 -05:00
dependabot[bot]
a4af90c2b0
build(deps): bump color-eyre from 0.5.7 to 0.5.8
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.7...v0.5.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-24 09:59:22 -05:00
Henry de Valence
342eb166ff
state: track UTXO provenance
...
This commit changes the state system and database format to track the
provenance of UTXOs, in addition to the outputs themselves.
Specifically, it tracks the following additional metadata:
- the height at which the UTXO was created;
- whether or not the UTXO was created from a coinbase transaction or
not.
This metadata will allow us to:
- check the coinbase maturity consensus rule;
- check the coinbase inputs => no transparent outputs rule;
- implement lookup of transactions by utxo (using the height to find the
block and then scanning the block) for a future RPC mechanism.
Closes #1342
2020-11-23 22:18:43 -08:00
Henry de Valence
a2a70e1fc1
consensus: fix same-block utxo lookups
...
The UTXO query system assumes that a transaction will only request
information about UTXOs created in prior blocks. But transactions are
allowed to spend UTXOs created by prior transactions in the same block.
This doesn't fit with the existing query model, so instead of trying to
change it, allow the script verifier to take an additional set of known
UTXOs, and propagate this set from the block.
2020-11-23 14:16:39 +10:00
Henry de Valence
ba3c19142c
deps: update hyper, metrics to tokio 0.3
...
The metrics code becomes much simpler because the current version of the
metrics crate builds its own single-threaded runtime on a dedicated worker
thread, so no dependency on the main Zebra Tokio runtime is required.
2020-11-20 10:08:16 -08:00
Henry de Valence
add94c1c45
deps: move to tokio 0.3, tower 0.4
...
This change is mostly mechanical, with the exception of the changes to the
`tower-batch` middleware. This middleware was adapted from `tower::buffer`,
and the `tower::buffer` code was changed to implement its own bounded queue,
because Tokio 0.3 removed the `mpsc::Sender::poll_send` method. See
ddc64e8d4d
for more context on the Tower changes. To match Tower as closely as possible
in order to be able to upstream `tower-batch`, those changes are copied from
`tower::Buffer` to `tower-batch`.
2020-11-20 10:08:16 -08:00
Jane Lusby
4c9bb87df2
zebra-state: replace sled with rocksdb ( #1325 )
...
## Motivation
Prior to this PR we've been using `sled` as our database for storing persistent chain data on the disk between boots. We picked sled over rocksdb to minimize our c++ dependencies despite it being a less mature codebase. The theory was if it worked well enough we'd prefer to have a pure rust codebase, but if we ever ran into problems we knew we could easily swap it out with rocksdb.
Well, we ran into problems. Sled's memory usage was particularly high, and it seemed to be leaking memory. On top of all that, the performance for writes was pretty poor, causing us to become bottle-necked on sled instead of the network.
## Solution
This PR replaces `sled` with `rocksdb`. We've seen a 10x improvement in memory usage out of the box, no more leaking, and much better write performance. With this change writing chain data to disk is no longer a limiting factor in how quickly we can sync the chain.
The code in this pull request has:
- [x] Documentation Comments
- [x] Unit Tests and Property Tests
## Review
@hdevalence
2020-11-18 18:05:06 -08:00
Jane Lusby
65a605520f
remove references to sled from service.rs
2020-11-18 15:09:43 -05:00
Henry de Valence
608b3953af
deps: cargo update
2020-11-17 14:56:27 -08:00
dependabot[bot]
18eb4d1c31
build(deps): bump primitive-types from 0.7.2 to 0.7.3
...
Bumps [primitive-types](https://github.com/paritytech/parity-common ) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/paritytech/parity-common/releases )
- [Commits](https://github.com/paritytech/parity-common/compare/primitive-types-v0.7.2...primitive-types-v0.7.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-13 15:59:04 -05:00
dependabot[bot]
8c5f6d0177
build(deps): bump once_cell from 1.5.1 to 1.5.2
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.5.1...v1.5.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-13 14:48:11 -05:00
Jane Lusby
1bc833dbcc
Move work conversion helpers to test code
2020-11-12 09:14:52 -05:00
teor
18bd5e5fbd
Update Cargo.lock
...
We need spandoc 0.2.1 to avoid a panic on empty blocks.
2020-11-12 12:30:54 +10:00
dependabot[bot]
a7ad73feac
build(deps): bump sled from 0.34.4 to 0.34.5
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.34.4 to 0.34.5.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/compare/v0.34.4...v0.34.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-10 11:01:06 -05:00
dependabot[bot]
e40c7b57c3
build(deps): bump bs58 from 0.3.1 to 0.4.0
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/compare/0.3.1...0.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 09:35:19 -05:00
dependabot[bot]
a58299a0f0
build(deps): bump color-eyre from 0.5.6 to 0.5.7
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.6...v0.5.7 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 08:40:55 -05:00
dependabot[bot]
1e3cf6dc5c
build(deps): bump tracing-subscriber from 0.2.14 to 0.2.15
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.14 to 0.2.15.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.14...tracing-subscriber-0.2.15 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 20:37:40 -05:00
dependabot[bot]
785fc30481
build(deps): bump hyper from 0.13.8 to 0.13.9
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.8 to 0.13.9.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.8...v0.13.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 20:07:18 -05:00
dependabot[bot]
e87340594a
build(deps): bump thiserror from 1.0.21 to 1.0.22
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.21 to 1.0.22.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.21...1.0.22 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 19:28:42 -05:00
dependabot[bot]
b99ecbd2d7
build(deps): bump blake2b_simd from 0.5.10 to 0.5.11
...
Bumps [blake2b_simd](https://github.com/oconnor663/blake2_simd ) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.10...0.5.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 19:28:24 -05:00
dependabot[bot]
dd7e1bb3f1
build(deps): bump blake2s_simd from 0.5.10 to 0.5.11
...
Bumps [blake2s_simd](https://github.com/oconnor663/blake2_simd ) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.10...0.5.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 18:54:13 -05:00
dependabot[bot]
578a3ca5ab
build(deps): bump sha2 from 0.9.1 to 0.9.2
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.1...streebog-v0.9.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 18:53:49 -05:00
dependabot[bot]
2442cf162f
build(deps): bump regex from 1.4.1 to 1.4.2
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.4.1...1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-02 17:01:21 -05:00
dependabot[bot]
83c844abb5
build(deps): bump futures from 0.3.6 to 0.3.7
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.6...0.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 02:28:48 -04:00
Henry de Valence
12d25159c6
zebrad: use hedged requests in sync
...
The hedge middleware implements hedged requests, as described in _The
Tail At Scale_. The idea is that we auto-tune our retry logic according
to the actual network conditions, pre-emptively retrying requests that
exceed some latency percentile. This would hopefully solve the problem
where our timeouts are too long on mainnet and too slow on testnet.
2020-10-26 12:05:35 -07:00
Henry de Valence
b90581a3d7
zebrad: create a Downloads Stream for syncing.
...
This makes two changes relative to the existing download code:
1. It uses a oneshot to attempt to cancel the download task after it
has started;
2. It encapsulates the download creation and cancellation logic into a
Downloads struct.
2020-10-26 12:05:35 -07:00
teor
672b39a847
Use MAX_BLOCK_REORG_HEIGHT in zebra-checkpoints
...
MAX_BLOCK_REORG_HEIGHT is 1 less than the constant it replaces. The new
calculation is correct: the 100th block is finalized.
2020-10-26 20:59:40 +10:00
dependabot[bot]
ff51c2e0c0
build(deps): bump tracing-subscriber from 0.2.13 to 0.2.14
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.13...tracing-subscriber-0.2.14 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 15:02:02 -04:00
Henry de Valence
9dc8d76d68
consensus: add stub groth16::Verifier
...
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-10-20 11:16:22 -04:00
dependabot[bot]
2358091a37
build(deps): bump serde from 1.0.116 to 1.0.117
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.116 to 1.0.117.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.116...v1.0.117 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-16 15:26:00 -04:00
teor
32bbc19c6b
Fix a timeout bug in zebra_test::command
...
And add tests for the command functionality.
Also document some remaining bugs (see #1140 ).
2020-10-15 19:54:00 -04:00
Jane Lusby
e05103323e
Implement Async Script Verification RFC ( #961 )
...
This commit begins the process of integrating `zcash_script` with the rest of the system for verifying scripts while syncing the block chain. It does so by adding the necessary support for looking up UTXOs from the state service and implements the first parts of the `script::Verifier` for looking up the necessary UTXOs in the state and then generating the necessary call to `zcash_script` to verify the script itself.
Co-authored-by: teor <teor@riseup.net>
2020-10-14 14:06:32 -07:00
dependabot[bot]
49042c5f78
build(deps): bump regex from 1.4.0 to 1.4.1 ( #1159 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.4.0...1.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 12:10:48 -07:00
dependabot[bot]
15d0e127fd
build(deps): bump structopt from 0.3.19 to 0.3.20
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.19...v0.3.20 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 12:00:27 -04:00
dependabot[bot]
f2d9d4fb87
build(deps): bump serde_json from 1.0.58 to 1.0.59
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.58...v1.0.59 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 12:00:03 -04:00
dependabot[bot]
766baea9d8
build(deps): bump regex from 1.3.9 to 1.4.0 ( #1150 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.9 to 1.4.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.3.9...1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 13:27:26 -07:00
dependabot[bot]
2d0d8eb2fd
build(deps): bump pin-project from 0.4.26 to 0.4.27 ( #1149 )
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.26 to 0.4.27.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.26...v0.4.27 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 12:36:21 -07:00
dependabot[bot]
3d309447ed
build(deps): bump toml from 0.5.6 to 0.5.7 ( #1148 )
...
Bumps [toml](https://github.com/alexcrichton/toml-rs ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases )
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.6...0.5.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 12:36:00 -07:00
dependabot[bot]
5e58955212
build(deps): bump zcash_script from 0.1.2 to 0.1.3 ( #1147 )
...
Bumps [zcash_script](https://github.com/ZcashFoundation/zcash_script ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/ZcashFoundation/zcash_script/releases )
- [Changelog](https://github.com/ZcashFoundation/zcash_script/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/zcash_script/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 12:35:37 -07:00
dependabot[bot]
256c0fce27
build(deps): bump structopt from 0.3.18 to 0.3.19 ( #1139 )
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.18 to 0.3.19.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.18...v0.3.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 13:07:10 -07:00
dependabot[bot]
76e7e3d714
build(deps): bump tracing-subscriber from 0.2.12 to 0.2.13
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.12...tracing-subscriber-0.2.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-08 15:09:32 -04:00
Jane Lusby
855f9b5bcb
Implement MVP of NonFinalizedState and integrate it with the state service ( #1101 )
...
* implement most of the chain functions
* implement fork
* fix outpoint handling in Chain struct
* update expect for work
* split utxo into two sets
* update the Chain definition
* remove allow attribute in zebra-state/lib.rs
* merge ChainSet type into MemoryState
* Add error messages to asserts
* export proptest impls for use in downstream crates
* add testjob for disabled feature in zebra-chain
* try to fix github actions syntax
* add module doc comment
* update RFC for utxos
* add missing header
* working proptest for Chain
* propagate back results over channel
* Start updating RFC to match changes
* implement queued block pruning
* and now it syncs wooo!
* remove empty modules
* setup config for proptests
* re-enable missing_docs lint
* update RFC to match changes in impl
* add documentation
* use more explicit variable names
2020-10-08 13:07:32 +10:00
dependabot[bot]
1b7bf61f96
build(deps): bump thiserror from 1.0.20 to 1.0.21
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.20...1.0.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-07 18:25:33 -04:00
dependabot[bot]
08f363e1cb
build(deps): bump futures from 0.3.5 to 0.3.6
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 16:54:08 -04:00
dependabot[bot]
1d742d0658
build(deps): bump futures-util from 0.3.5 to 0.3.6
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 05:32:21 -04:00
dependabot[bot]
23a62a2d87
build(deps): bump inferno from 0.10.0 to 0.10.1
...
Bumps [inferno](https://github.com/jonhoo/inferno ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/jonhoo/inferno/releases )
- [Changelog](https://github.com/jonhoo/inferno/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.10.0...v0.10.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 05:31:01 -04:00
dependabot[bot]
51746892ff
build(deps): bump futures-core from 0.3.5 to 0.3.6
...
Bumps [futures-core](https://github.com/rust-lang/futures-rs ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-06 05:29:51 -04:00
dependabot[bot]
b473476a4a
build(deps): bump pin-project from 0.4.25 to 0.4.26
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.25 to 0.4.26.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.25...v0.4.26 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 11:27:06 -04:00
dependabot[bot]
d769f62a73
build(deps): bump color-eyre from 0.5.5 to 0.5.6
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.5...v0.5.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 11:26:23 -04:00
Jane Lusby
86ed13060f
Add tests for `Chain` implementation ( #1093 )
...
* Begin work on RFC5 implementation
* I think this is necessary
* holy shit supertrait implemented via subtrait
* implement most of the chain functions
* change to slightly better name
* implement fork
* fix outpoint handling in Chain struct
* update expect for work
* resolve review comment
* split utxo into two sets
* update the Chain definition
* just a little more
* update comment
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* apply changes from code review
* remove allow attribute in zebra-state/lib.rs
* Update zebra-state/src/memory_state.rs
Co-authored-by: teor <teor@riseup.net>
* merge ChainSet type into MemoryState
* rename state impl types
* Add error messages to asserts
* checkpoint so I can split off arbitrary changes into a PR
* export proptest impls for use in downstream crates
* add testjob for disabled feature in zebra-chain
* run rustfmt
* try to fix github actions syntax
* differentiate name
* prove that github action tests zebra-chain build without features
* revert change from last commit now that test is running
* remove accidentally introduced newline
* checkpoint
* add module doc comment
* update RFC for utxos
* add missing header
* working proptest for Chain
* apply change from chain impl PR
* setup config for proptests
* Update zebra-chain/src/block/arbitrary.rs
Co-authored-by: teor <teor@riseup.net>
* run rustfmt
Co-authored-by: teor <teor@riseup.net>
2020-10-02 15:51:51 -07:00
dependabot[bot]
1b528404cd
build(deps): bump pin-project from 0.4.24 to 0.4.25
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.24 to 0.4.25.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.24...v0.4.25 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-02 11:18:13 -04:00
dependabot[bot]
ae362d260e
build(deps): bump serde_json from 1.0.57 to 1.0.58
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.57...v1.0.58 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 16:56:11 -04:00
dependabot[bot]
b5ecafa7bc
build(deps): bump chrono from 0.4.18 to 0.4.19
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.18 to 0.4.19.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.18...v0.4.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 15:09:10 -04:00
dependabot[bot]
15c5365ca7
build(deps): bump tracing from 0.1.19 to 0.1.21
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.19 to 0.1.21.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.19...tracing-0.1.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-29 11:01:34 -04:00
dependabot[bot]
2230e353df
Merge pull request #1103 from ZcashFoundation/dependabot/cargo/pin-project-0.4.24
...
build(deps): bump pin-project from 0.4.23 to 0.4.24
2020-09-28 11:13:11 -07:00
dependabot[bot]
bf4ddc1074
build(deps): bump chrono from 0.4.15 to 0.4.18
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.15 to 0.4.18.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.15...v0.4.18 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 11:13:05 -07:00
dependabot[bot]
d5ce5eeee2
build(deps): bump structopt from 0.3.17 to 0.3.18
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.17...v0.3.18 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-24 18:25:54 -04:00
Jane Lusby
0b4e974c9e
export proptest impls for use in downstream crates ( #1092 )
...
* export proptest impls for use in downstream crates
* add testjob for disabled feature in zebra-chain
* run rustfmt
* try to fix github actions syntax
* differentiate name
* prove that github action tests zebra-chain build without features
* revert change from last commit now that test is running
* remove accidentally introduced newline
* Update .github/workflows/ci.yml
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-09-23 18:52:52 -07:00
Jane Lusby
40e22808c7
disable reporting url for timeout errors ( #1087 )
...
* disable reporting url for timeout errors
* revert newline removal
* switch to released color-eyre version
2020-09-21 16:15:09 -07:00
Henry de Valence
6dd7318d3b
deps: use Tower 0.4 from git instead of 0.3.1.
...
This addresses at least three pain points:
- we were affected by bugs that were already fixed in git, but not in
the released crate;
- we can use service combinators to transform requests and responses;
- we can use the hedge middleware.
The version in git is still marked as 0.3.1 but these changes will be
part of tower 0.4: https://github.com/tower-rs/tower/issues/431
2020-09-21 14:16:56 -07:00
Alfredo Garcia
c616c7ffd2
Move consensus verification errors ( #1070 )
...
* refactor block and tx validation errors
* rename errors module to error
* move NoTransactions to BlockError
* clarify some errors, use dbg format for hash in error
* mnake is_coinbase_first return BlockError
* add new error types for each consensus Service
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-09-21 11:54:06 -07:00
dependabot[bot]
85241a49d6
build(deps): bump hyper from 0.13.7 to 0.13.8
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.7 to 0.13.8.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.7...v0.13.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-21 11:58:31 -04:00
Jane Lusby
ca648ff27c
Enable issue-url feature in color-eyre ( #1072 )
...
* Enable issue-url feature in color-eyre
* get version automatically
* and the url!
2020-09-17 15:09:18 -07:00
Jane Lusby
bd861fd25e
update panic hook for zebra-test to supress confusing output ( #1065 )
...
* update panic hook for zebra-test to supress confusing output
* remove outdated comment
2020-09-17 13:20:30 -07:00
dependabot[bot]
a7d5a80517
build(deps): bump zcash_script from 0.1.0 to 0.1.1
...
Bumps [zcash_script](https://github.com/ZcashFoundation/zcash_script ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/ZcashFoundation/zcash_script/releases )
- [Changelog](https://github.com/ZcashFoundation/zcash_script/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/zcash_script/compare/v0.1.0...v0.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-16 12:24:34 -04:00
dependabot[bot]
b441e2cfa5
build(deps): bump color-eyre from 0.5.2 to 0.5.3
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.2...v0.5.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 08:04:06 -04:00
dependabot[bot]
b86023ad0f
build(deps): bump serde from 1.0.115 to 1.0.116 ( #1060 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.115 to 1.0.116.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.115...v1.0.116 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 13:49:27 -07:00
dependabot[bot]
ba32d27f6e
build(deps): bump tracing-subscriber from 0.2.11 to 0.2.12 ( #1059 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.11...tracing-subscriber-0.2.12 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 13:49:07 -07:00
Jane Lusby
a7b418bfe5
Add test for first checkpoint verification ( #1018 )
...
* add test for first checkpoint sync
Prior this this change we've not had any tests that verify our sync /
network logic is well behaved. This PR cleans up the test helper code to
make error reports more consistent and uses this cleaned up API to
implement a checkpoint sync test which runs zebrad until it reads the
first checkpoint event from stdout.
Co-authored-by: teor <teor@riseup.net>
* move include out of unix cfg
Co-authored-by: teor <teor@riseup.net>
2020-09-11 13:39:39 -07:00
dependabot[bot]
69032e1007
build(deps): bump sled from 0.34.3 to 0.34.4
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.34.3 to 0.34.4.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/compare/v0.34.3...v0.34.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 13:08:16 -04:00
dependabot[bot]
b881eafe47
build(deps): bump jubjub from 0.5.0 to 0.5.1
...
Bumps [jubjub](https://github.com/zkcrypto/jubjub ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/zkcrypto/jubjub/releases )
- [Changelog](https://github.com/zkcrypto/jubjub/blob/main/RELEASES.md )
- [Commits](https://github.com/zkcrypto/jubjub/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-10 09:45:37 -07:00
dependabot[bot]
a3984729be
build(deps): bump jubjub from 0.4.0 to 0.5.0
...
Bumps [jubjub](https://github.com/zkcrypto/jubjub ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/zkcrypto/jubjub/releases )
- [Changelog](https://github.com/zkcrypto/jubjub/blob/main/RELEASES.md )
- [Commits](https://github.com/zkcrypto/jubjub/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 10:31:24 -04:00
dependabot[bot]
142226ad57
build(deps): bump indexmap from 1.5.2 to 1.6.0
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.5.2...1.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 07:56:39 -04:00
Jane Lusby
6744f415d2
Implement sighash ( #870 )
...
* Implement sighash
* move sighash logic to a separate module
* start filling in more of the alg
* start setting up a test case
* make the test useful
* Iter transaction inputs
* better error message for expect
* add support for zip243 sighash
* ohey first testvector is passing, yayyy
* pass the second testvector
* add last testvector
* move a use statement
* use common deserialization code for amount everywhere
* cleanup attributes
* bring in fixed preimage
* fix discrepancy with spec
* always deserialize as a signed value
* Update zebra-chain/src/transaction/sighash.rs
* update unreachable statements
* add serialization impls for nonnegative amounts
* Apply suggestions from code review
* document sighash fn
* tweek docs
* fix mistake in translation for zip243
* consistent error messages
* reorder because i like it more that way
* document more panics
* Update zebra-chain/src/amount.rs
* Add comment regarding the serialization of spend descriptions in sighash
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-09-05 19:31:11 -04:00
teor
d3b6a73f7b
Improve zebra-state logging and metrics
2020-09-02 12:09:50 -04:00
dependabot[bot]
753b93d8a3
build(deps): bump indexmap from 1.5.1 to 1.5.2
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.5.1...1.5.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-02 12:07:01 -04:00
dependabot[bot]
656a84fa55
build(deps): bump color-eyre from 0.5.1 to 0.5.2
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 11:39:43 -04:00
Henry de Valence
3ed967bcf8
deps: use x25519-dalek's new PartialEq, Eq methods
2020-08-31 13:30:14 -07:00
dependabot[bot]
f7fe7b9053
build(deps): bump secp256k1 from 0.17.2 to 0.19.0
...
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1 ) from 0.17.2 to 0.19.0.
- [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/compare/secp256k1-0.17.2...secp256k1-0.19.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-28 17:09:39 -04:00
dependabot[bot]
005ec6c57c
build(deps): bump structopt from 0.3.16 to 0.3.17 ( #953 )
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.16...v0.3.17 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 11:59:04 -07:00
dependabot[bot]
8e9019a847
build(deps): bump jubjub from 0.3.0 to 0.4.0
...
Bumps [jubjub](https://github.com/zkcrypto/jubjub ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/zkcrypto/jubjub/releases )
- [Changelog](https://github.com/zkcrypto/jubjub/blob/master/RELEASES.md )
- [Commits](https://github.com/zkcrypto/jubjub/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 17:35:54 -04:00
dependabot[bot]
619c499ba6
build(deps): bump sled from 0.34.2 to 0.34.3
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.34.2 to 0.34.3.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 12:49:10 -04:00
teor
06f4a59664
feature: Add a checkpoint_sync config option
...
(The option doesn't do anything yet.)
2020-08-24 15:34:46 +10:00
Ramana Venkata
991c70723a
zebrad: Create zebrad.toml in acceptance tests from ZebradConfig
...
Fixes #929
2020-08-23 21:24:19 -04:00
Ramana Venkata
e90137e79b
Update sha2@0.9.1 ( #938 )
...
* Update sha2@0.9.1
Fixes #915
* Update zebra-chain/src/sprout/keys.rs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
* Update zebra-chain/src/sprout/note/nullifiers.rs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-08-21 16:26:14 -07:00
teor
5afa24588a
fix: Remove unused dependencies
2020-08-20 14:49:17 -04:00
Jane Lusby
1d6183ef84
Make zebra-script wrap the C++ script implementation in zcashconsensus ( #708 )
...
* attempt to use zcashconsensus crate in zebra-script
* boop
* update verify fn to use zebra types
* a bit more cleanup
* cleanup
* more
* beep boop
* fix renamed member
* cleaning
* get a real branch id
* remove as of yet unneeded api
* Update zebra-chain/src/transaction.rs
* Update zebra-chain/src/transaction.rs
* more cleanup
* oops wrong dep section
* use a tuple to communicate arg association
* update to use published version of zcash_script
* fix new compiler error
* install llvm on windows
* fix bindgen bug????
* try to get docker file to win
* okay try everything
* fix windows build maybe
* always download choco
* fix paths for moved types
* try a different error message
* try convenience script
* try installing just llvm
* add back one more
* try installing some headers
* try a diff package
* try everything
* remove the minimum
* try newer docker builder image
* cleanup docker image
* cleanup extra ci step
2020-08-18 11:08:53 -07:00
Henry de Valence
d63562994d
deps: Update x25519-dalek, ed25519-zebra
2020-08-17 20:47:48 -07:00
dependabot[bot]
982f59b30d
build(deps): bump proptest from 0.10.0 to 0.10.1 ( #913 )
...
Bumps [proptest](https://github.com/altsysrq/proptest ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/altsysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/altsysrq/proptest/compare/0.10.0...v0.10.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-17 14:19:34 -07:00
Henry de Valence
0d1f56ad2f
chain: remove utils module
...
A catch-all utils module can really easily slip into being a place to stash
miscellaneous functions that don't really belong anywhere in particular.
2020-08-17 11:46:34 -07:00
Deirdre Connolly
616d82faaf
Use the jubjub::AffinePoint in the canonical, encoded little-endian byte form in
...
Pedersen tests
Keeps the librustzcash test vectors with their big-endian byte order
as comments, for greppability.
2020-08-14 02:04:12 -04:00
Deirdre Connolly
8f15ed8140
Cargo.lock
2020-08-14 02:04:12 -04:00
Deirdre Connolly
579f1ed134
Flesh out windowed_pedersen_commitment_r
2020-08-14 02:04:12 -04:00
Deirdre Connolly
9d87f30d18
Start of, but currently unfinished, Sapling note commitment / Windowed Pedersen Commitment
2020-08-14 02:04:12 -04:00
dependabot[bot]
945b019739
build(deps): bump tracing-subscriber from 0.2.10 to 0.2.11 ( #873 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.10...tracing-subscriber-0.2.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 10:30:50 -07:00
dependabot[bot]
69ab12a4bb
build(deps): bump serde from 1.0.114 to 1.0.115 ( #874 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.114 to 1.0.115.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.114...v1.0.115 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 10:20:02 -07:00
dependabot[bot]
5cb61136c9
build(deps): bump tracing from 0.1.18 to 0.1.19 ( #872 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.18 to 0.1.19.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.18...tracing-0.1.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 10:18:54 -07:00
dependabot[bot]
4ec011f32d
build(deps): bump indexmap from 1.5.0 to 1.5.1
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.5.0...1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 06:06:00 -04:00
dependabot[bot]
3de99bd360
build(deps): bump color-eyre from 0.5.0 to 0.5.1 ( #855 )
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Commits](https://github.com/yaahc/color-eyre/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-07 10:12:50 -07:00
Henry de Valence
a77328ad7c
Refactor tracing components ( #834 )
...
* Split tracing component code into modules.
* Repatriate Tracing and simplify config handling.
We upstreamed our Tracing component, expecting not to have to exert fine
control over the tracing settings. But this turned out not to be the case, and
now that we want to do other things (flamegraphs, journalctl, opentelemetry,
etc), we end up with really awkward code (as in the current flamegraph
handling).
This also makes use of the changes to `init()` to load the config early to pass
configuration data into the components, which avoids the need for the
refactoring in #775 .
Finally, we restore support for the `-v` flag when the filter is unset. Closes #831 .
* Disable tracing and metrics endpoints by default.
Closes #660 .
* Switch back to upstream Abscissa.
* Integrate flamegraph support into the new Tracing component.
* Pass -v in acceptance tests to get info-level output.
* Clean up acceptance test code.
2020-08-06 10:29:31 -07:00
dependabot[bot]
c0caba401c
build(deps): bump structopt from 0.3.15 to 0.3.16
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-06 06:22:55 -04:00
Henry de Valence
2efb4eb262
consensus: add a static redjubjub::VERIFIER with fallback
2020-08-05 21:28:55 -07:00
Jane Lusby
867dd0b475
Setup tracing-flame for use profiling zebrad ( #436 )
...
* Setup tracing-flame for use profiling zebrad
* start work on conditional flamegraph generation
* review time!
* update comments
* Update Cargo.toml
* disable default features for inferno
* reorganize
* missing one trait
* Apply suggestions from code review
* graceful shutdown!
* remove special case handling on ctrlc for cleanup
* rename signal fn to better represent its responsibility
* remove unused global hook for flushing flamegraph
* move tracing logic to the right file
* just copy linkerd's signal handling logic
* update book
* make zebrad app drop on shutdown normally
* Update zebrad/src/components/tokio.rs
Co-authored-by: teor <teor@riseup.net>
* Update zebrad/src/application.rs
Co-authored-by: teor <teor@riseup.net>
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* cleanup a little
* ooh yea there's an API for that
* setup env-filter for backup subscriber
* document env filter
* document return codes
* forgot to save
* Update book/src/applications/zebrad.md
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: teor <teor@riseup.net>
2020-08-05 16:35:56 -07:00
Alfredo Garcia
ded273413a
Use transcripts in block verify tests ( #675 )
...
* change consensus block tests to transcripts
* fix lints
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-08-05 14:41:41 -07:00
teor
b7fac7b3bc
feature: Make ExpandedDifficulty use U256 internally
...
Adds a dependency on the primitive-types crate.
Also adds custom hex debug formatting for compact and expanded
difficulties.
2020-08-04 12:29:07 +10:00
dependabot[bot]
8e268150a7
build(deps): bump tracing-subscriber from 0.2.9 to 0.2.10
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.9...tracing-subscriber-0.2.10 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-03 21:11:50 -04:00
dependabot[bot]
f3b65f9609
build(deps): bump tracing from 0.1.17 to 0.1.18
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.17...tracing-0.1.18 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-03 15:49:30 -04:00
teor
195948e5b1
feature: Add an ExpandedDifficulty type and conversion
...
Also add tests.
2020-08-03 10:28:31 +10:00
Alfredo Garcia
f2d7bb3177
Command execution tests ( #690 )
...
* add zebrad acceptance tests
* add custom command test helpers that work with kill
* add and use info event for start and seed commands
* combine conflicting tests into one test case
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-08-01 16:15:26 +10:00
Jane Lusby
e6b849568f
Add support for errors in zebra_test::Transcript ( #678 )
...
* Add support for errors in zebra_test::Transcript
* test transcript with an error checker
* switch to option instead of MockError
* update docs
* dont use verifier against ready_and
* cleanup exports and add docs
* handle todos
* fix doctest
* temp: use cleaner error handling example
* add ability to test only for presence of error
2020-07-31 11:54:18 -07:00
Jane Lusby
1015db25a8
remap the state storage to only store blocks once ( #741 )
2020-07-31 09:21:54 +10:00
dependabot[bot]
ce7f3e6c01
build(deps): bump sled from 0.34.0 to 0.34.2
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.34.0 to 0.34.2.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/compare/v0.34...v0.34.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-29 12:27:39 -04:00
dependabot[bot]
9a8fe2109f
build(deps): bump pin-project from 0.4.22 to 0.4.23
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.22 to 0.4.23.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.22...v0.4.23 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-28 17:27:25 -04:00
Henry de Valence
7d0a3debb6
chain: ensure impl Deserialize for Amount validates data.
...
This uses serde's try_from attribute to run deserialized values through the
TryFrom impl. Also adds a test to make sure that validation actually does
happen.
2020-07-28 12:20:40 -07:00
Henry de Valence
04044be6d1
tower-batch: test fallback verification example.
2020-07-27 14:52:06 -07:00
dependabot[bot]
842c69c60c
build(deps): bump serde_json from 1.0.56 to 1.0.57
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.56...v1.0.57 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-27 13:48:15 -04:00
Alfredo Garcia
5b3c6e4c6c
Port bash checkpoint scripts to zebra-checkpoints single rust binary ( #740 )
...
* make zebra-checkpoints
* fix LOOKAHEAD_LIMIT scope
* add a default cli path
* change doc usage text
* add tracing
* move MAX_CHECKPOINT_HEIGHT_GAP to zebra-consensus
* do byte_reverse_hex in a map
2020-07-25 17:53:00 +10:00
dependabot[bot]
f7c59c99b5
build(deps): bump tracing-subscriber from 0.2.8 to 0.2.9
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.8...tracing-subscriber-0.2.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-24 14:31:44 -04:00
dependabot[bot]
e99e9653eb
build(deps): bump sled from 0.33.0 to 0.34.0 ( #735 )
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.33.0 to 0.34.0.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/compare/v0.33...v0.34 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-23 10:55:34 -07:00
dependabot[bot]
909b74a613
build(deps): bump tracing from 0.1.16 to 0.1.17 ( #734 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.16 to 0.1.17.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.16...tracing-0.1.17 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-23 10:54:56 -07:00
Jane Lusby
c1a1493159
use dirs crate for default location of state and config ( #714 )
...
* use dirs crate for default location of state and config
* panic if a path isn't specified for zebra-state
2020-07-23 21:12:20 +10:00
Henry de Valence
4a98b8fa0d
Add basic metrics to the syncer.
2020-07-22 21:59:00 -07:00
Jane Lusby
a722cf33f7
enable new tracing instrumentation in tokio
2020-07-22 14:39:54 -04:00
Henry de Valence
0586da7167
Revert #500 (generic errors in tower-batch).
...
Unfortunately, since the Batch wrapper was changed to have a generic error
type, when wrapping it in another Service, nothing constrains the error type,
so we have to specify it explicitly to avoid an inference hole. This is pretty
unergonomic -- from the compiler error message it's very unintuitive that the
right fix is to change `Batch::new` to `Batch::<_, _, SomeError>::new`.
The options are:
1. roll back the changes that make the error type generic, so that the error
type is a concrete type;
2. keep the error type generic but hardcode the error in the default
constructor and add an additional code path that allows overriding the
error.
However, there's a further issue with generic errors: the error type must be
Clone. This problem comes from the fact that there can be multiple Batch
handles that have to share access to errors generated by the inner Batch
worker, so there's not a way to work around this. However, almost all error
types aren't Clone, so there are fairly few error types that we would be
swapping in.
This suggests that in case (2) we would be maintaining extra code to allow
generic errors, but with restrictive enough generic bounds to make it
impractical to use generic error types. For this reason I think that (1) is a
better option.
2020-07-22 14:29:55 -04:00
dependabot[bot]
7067ac6e0d
build(deps): bump tokio from 0.2.21 to 0.2.22
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.21 to 0.2.22.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.21...tokio-0.2.22 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-22 12:43:38 -04:00
Henry de Valence
1047d2f690
sync: add backpressure to syncer
...
Closes #617 .
Closes #698 .
The remaining work on the syncer is alluded to in a new comment:
1. Correctly constructing a block locator object
2. Detecting when we've stopped making progress syncing and restarting obtain_tips.
2020-07-21 20:16:23 -07:00
teor
b0cd920fad
feature: Use the Heartwood protocol version in zebra-network
2020-07-21 10:46:07 -07:00
dependabot[bot]
c8fe4b43d8
build(deps): bump indexmap from 1.4.0 to 1.5.0
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.4.0...1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-21 12:19:01 -04:00
dependabot[bot]
2208a6a22d
build(deps): bump tracing-subscriber from 0.2.7 to 0.2.8
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.7...tracing-subscriber-0.2.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-21 12:01:40 -04:00
dependabot[bot]
599afb7fbb
build(deps): bump metrics-runtime from 0.13.0 to 0.13.1
...
Bumps [metrics-runtime](https://github.com/metrics-rs/metrics ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/metrics-rs/metrics/releases )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-runtime-v0.13.0...metrics-runtime-v0.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-21 12:00:42 -04:00
dependabot[bot]
474de52e5c
build(deps): bump displaydoc from 0.1.6 to 0.1.7 ( #689 )
...
Bumps [displaydoc](https://github.com/yaahc/displaydoc ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/yaahc/displaydoc/releases )
- [Commits](https://github.com/yaahc/displaydoc/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-20 11:00:15 -07:00
dependabot[bot]
2d8e518499
build(deps): bump redjubjub from 0.2.1 to 0.2.2
...
Bumps [redjubjub](https://github.com/ZcashFoundation/redjubjub ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/ZcashFoundation/redjubjub/releases )
- [Changelog](https://github.com/ZcashFoundation/redjubjub/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/redjubjub/compare/0.2.1...0.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 09:42:44 -04:00
dependabot[bot]
f70f3b324c
Bump sled from 0.32.1 to 0.33.0
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.32.1 to 0.33.0.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/compare/v0.32.1...v0.33 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-15 10:21:59 -07:00
Henry de Valence
e58de06cb0
tower-fallback: add docs
...
Thanks to @seanmonstar for pointing to the article on the downsides of fallback.
2020-07-15 10:09:37 -07:00
Henry de Valence
ecda5445d5
tower-fallback: switch to Box<dyn Error + Send + Sync + 'static>
...
Previously the code used Either for error handling, but a boxed std Error is
smaller in the happy path and more useful.
2020-07-15 10:09:37 -07:00
Henry de Valence
4be0a8edc3
tower-fallback: add implementation.
2020-07-15 10:09:37 -07:00
dependabot[bot]
c3fcac8a5c
Bump hyper from 0.13.6 to 0.13.7
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.6 to 0.13.7.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.6...v0.13.7 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-14 10:40:53 -07:00
dependabot[bot]
d945ec3620
Bump bytes from 0.5.5 to 0.5.6
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v0.5.5...v0.5.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-14 10:39:42 -07:00
dependabot[bot]
ebcf6b0385
Bump sled from 0.32.0 to 0.32.1
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.32.0 to 0.32.1.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/compare/v0.32...v0.32.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-13 11:51:35 -04:00
Jane Lusby
2b48008129
setup skeleton zebra-utils crate for independent binaries ( #638 )
...
* setup skeleton zebra-utils crate for independent binaries
* resolve review comments
2020-07-10 12:31:01 -07:00
Jane Lusby
06fff62561
remove git dependency on equihash crate
2020-07-10 07:52:52 -04:00
Jane Lusby
765e1e61e7
fix spandoc instrumentation for await expressions ( #618 )
...
* fix spandoc instrumentation for await expressions
* depend on released version of spandoc
2020-07-09 17:43:44 -04:00
Henry de Valence
8b72781fe1
deps: Update redjubjub to 0.2
...
Closes #606 .
2020-07-09 15:20:23 -04:00
dependabot[bot]
d627889104
Bump tracing from 0.1.15 to 0.1.16
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.15 to 0.1.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.15...tracing-0.1.16 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-09 10:22:27 -07:00
Deirdre Connolly
2cd58c8325
Add RedJubjub signature verifier service ( #460 )
...
Using tower-batch-based async pattern.
Now the Verifier is agnostic of redjubjub SigTypes. Updated tests to
generate sigs of both types and batch verifies the whole batch.
Resolves #407
2020-07-08 17:23:00 -04:00
teor
f2052b398b
feature: Implement CheckpointVerifier ( #524 )
...
* Return Poll::Ready(Err(_)) when verification has finished
* Turn checkpoint::init() into CheckpointVerifier::new()
* Accept IntoIterator<...> for CheckpointVerifier::new()
* Add a CheckpointList type
* Replace the state service with oneshot channels.
* Reject redundant checkpoint blocks
* impl Drop for CheckpointVerifier
* Add fields for caching blocks, and managing verify chains.
* Add current checkpoint functions
* Use a checkpoint range
* Get full backtraces with Err::Try
* Add enums for verification progress and target block heights.
* Replace install_tracing() with zebra_test::init()
* Add a test that mixes good and bad blocks
* Add timeouts to the checkpoint test futures
2020-07-08 21:22:36 +10:00
dependabot[bot]
2a6a3ee518
Bump chrono from 0.4.12 to 0.4.13
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.12 to 0.4.13.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.12...v0.4.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-07 18:31:55 -04:00
dependabot[bot]
3debe97cb2
Bump equihash from `5b2c71e` to `ae2a248`
...
Bumps [equihash](https://github.com/ZcashFoundation/librustzcash ) from `5b2c71e` to `ae2a248`.
- [Release notes](https://github.com/ZcashFoundation/librustzcash/releases )
- [Commits](5b2c71e112...ae2a248133
)
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-07 12:31:09 -07:00
Henry de Valence
68f57b2577
Update ed25519-zebra to 1.0.
2020-07-07 11:49:21 -07:00
Jane Lusby
a733580fd8
add proptests for invalid forms of input ( #550 )
...
* add proptests for invalid forms of input
* apply proptests to each valid block we have
* start moving equihash logic to BlockHeader
* provide an error based interface
* cleanup logging in dependent crate
* use is_equihash_solution_valid everywhere
* switch to proper equihash crate branch
2020-07-07 11:01:02 -07:00
dependabot[bot]
5ee48a6675
Bump chrono from 0.4.11 to 0.4.12 ( #580 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.11 to 0.4.12.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.11...v0.4.12 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 10:33:39 -07:00
dependabot[bot]
a1d02c2606
Bump tracing-subscriber from 0.2.6 to 0.2.7
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.6...tracing-subscriber-0.2.7 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-02 06:47:04 -04:00
Jane Lusby
8281b9040c
Start work on new Amount type ( #554 )
2020-07-01 16:31:30 -07:00
Jane Lusby
7245d91fe9
fix block downloading to be parallelized and commited via the verifier ( #540 )
2020-06-30 09:42:09 -07:00
Jane Lusby
afd0e90a74
Implement equihash verification ( #549 )
...
This change brings in the `equihash` crate from librustzcash and uses it to add a basic `is_valid` test for `EquihashSolutions`.
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-06-26 11:21:02 -07:00
teor
a706b65325
Consensus test tweaks ( #538 )
...
* Use spandoc correctly
* Refactor consensus test error handling
* Delete a checkpoint test that will soon be obsolete
* Only initialise tracing once for the block tests
* Use tracing in the checkpoint tests
* Move BlockVerifier and tests into block.rs
* Update a BlockVerifier comment
* Tweak some TODO comments
2020-06-25 10:14:23 +10:00
Jane Lusby
2abf4b93a8
consolidate test init functions into zebra-test ( #541 )
...
* consolidate test init logic into one place
* rustfmt
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-06-24 11:47:18 -07:00
Henry de Valence
87a8d328d5
Rewrite zebra-state tests to use transcripts.
...
This makes adding more tests easier.
2020-06-24 11:47:18 -07:00
Henry de Valence
5c9cd52baf
Add a Transcript Service for testing.
2020-06-24 11:47:18 -07:00
teor
f10bfd5806
consensus: Add a block time check function
...
Add a function that checks the block header miner times against the
node's local clock.
(We'll use this function in the next commit.)
Part of #477 .
2020-06-24 18:22:36 +10:00
Henry de Valence
70241d3cad
Fix broken git dependencies.
...
Pinning hashes means these won't break again in the future; they can always be updated.
2020-06-22 20:23:02 -07:00
Henry de Valence
e8561d8f9e
rename zebra-test-vectors to zebra-test
2020-06-22 20:23:02 -07:00
Jane Lusby
246e7cd2a9
Start testing out new version of `eyre` and `color-eyre` in zebra ( #526 )
...
* port to new version of eyre without generics
* correctly setup color_eyre hooks
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-06-22 15:36:23 -07:00
dependabot[bot]
f301de41fa
Bump tracing-subscriber from 0.2.5 to 0.2.6
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber/-0.2.5...tracing-subscriber-0.2.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 12:01:47 -04:00
dependabot[bot]
e3ad9737e7
Bump sled from 0.31.0 to 0.32.0
...
Bumps [sled](https://github.com/spacejam/sled ) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/spacejam/sled/releases )
- [Changelog](https://github.com/spacejam/sled/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spacejam/sled/compare/v0.31...v0.32 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 12:00:54 -04:00
dependabot[bot]
bf779ea1d6
Bump serde from 1.0.112 to 1.0.114
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.112 to 1.0.114.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.114 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 11:58:09 -04:00
dependabot[bot]
6324ad8828
Bump bytes from 0.5.4 to 0.5.5
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v0.5.4...v0.5.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-19 12:56:38 -04:00
Jane Lusby
63ae085945
make return error type for Batch generic
2020-06-19 01:48:56 -04:00
dependabot[bot]
70948556cf
Bump ed25519-zebra from 0.4.0 to 0.4.1
...
Bumps [ed25519-zebra](https://github.com/ZcashFoundation/ed25519-zebra ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/ZcashFoundation/ed25519-zebra/releases )
- [Changelog](https://github.com/ZcashFoundation/ed25519-zebra/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/ed25519-zebra/compare/0.4.0...0.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-18 03:18:56 -07:00
Jane Lusby
df18ac72c5
fix sharedpeererror to propagate tracing context
2020-06-17 14:38:26 -07:00
Henry de Valence
a0e0e2302b
Update ed25519-zebra to 0.4
2020-06-16 14:35:42 -07:00
Henry de Valence
34ca9a7ed2
Fix Ed25519Verifier using a patched batch API.
...
Changing the batch API to have an explicit item type removes the lifetime
problems described in the previous commit.
2020-06-16 14:35:42 -07:00
Henry de Valence
5bcef64514
Add Ed25519 batch verification example test.
...
This test doesn't compile in a way that reveals a problem with the design. The
verification service takes a `Request<'msg>` parameterized by the message
lifetime, and returns a future unconstrained by the message lifetime (it hashes
upfront to avoid requiring that `'msg` outlive `call`). But the `Batch`
middleware has the verification service working on its own task, so how can we
ensure that the message lives long enough to be read by the worker task?
2020-06-16 14:35:42 -07:00
Henry de Valence
ee26e786f7
tower-batch: initial implementation of batching logic.
...
The name "Buffer" is changed to "Batch" everywhere, and the worker task is rewritten.
Instead of having Worker implement Future directly, we have a consuming async run() function.
2020-06-16 14:35:42 -07:00
Henry de Valence
dcd3f7bb2d
tower-batch: copy tower-buffer source code.
...
There's a lot of functional overlap between the batch design and tower-buffer's
existing internals, so we'll just vendor its source code and modify it.
If/when we upstream it, we can deduplicate common components.
2020-06-16 14:35:42 -07:00
dependabot[bot]
42fc386bb9
Bump thiserror from 1.0.19 to 1.0.20
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.19 to 1.0.20.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.19...1.0.20 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-16 09:51:05 -07:00
Henry de Valence
9ddcccdcb4
Update ed25519-zebra to 0.3
2020-06-16 00:42:25 -04:00
Henry de Valence
a023ba9b16
Add serde bounds to zebra-chain structures. ( #231 )
2020-06-15 15:08:14 -07:00
Jane Lusby
bb0553fab6
implement initial persistent state backend based on `sled` ( #473 )
2020-06-15 14:41:26 -07:00
dependabot[bot]
5afea58fe2
Bump serde from 1.0.111 to 1.0.112
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.111 to 1.0.112.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.111...v1.0.112 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 14:11:11 -04:00
dependabot[bot]
7710ee20dc
Bump pin-project from 0.4.20 to 0.4.22
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.20 to 0.4.22.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.20...v0.4.22 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 10:57:19 -07:00
teor
15bc64aed9
consensus: add a (failing) verify round-trip test
...
This test doesn't work, because the futures are not used correctly.
Part of #428 .
2020-06-12 09:46:18 -07:00
teor
c2590ce526
consensus: Make future handling a little nicer
...
Part of #428 .
2020-06-12 09:46:18 -07:00
teor
7b8707be1e
consensus: Add a simple block verify test
...
Part of #428 .
2020-06-12 09:46:18 -07:00
teor
8f2ddef0a4
consensus: Add a block verification service
...
Part of #428 .
2020-06-12 09:46:18 -07:00
dependabot-preview[bot]
97aceae461
Bump pin-project from 0.4.19 to 0.4.20
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.19...v0.4.20 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-06 19:03:48 -04:00
Jane Lusby
18b4dbc16c
fix tracing configuration issues ( #432 )
2020-06-04 19:34:06 -07:00
dependabot-preview[bot]
dff4f12aca
Bump pin-project from 0.4.17 to 0.4.19
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.17 to 0.4.19.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.17...v0.4.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 13:21:48 -04:00
Jane Lusby
ac76d75813
Make blocks queryable by height ( #422 )
2020-06-04 10:17:49 -07:00
dependabot-preview[bot]
2dcb4fccec
Bump tracing from 0.1.14 to 0.1.15
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.14 to 0.1.15.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.14...tracing-0.1.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 02:40:05 -04:00
dependabot-preview[bot]
07b7c711fb
Bump color-eyre from 0.3.2 to 0.3.4
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.3.2 to 0.3.4.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Commits](https://github.com/yaahc/color-eyre/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 22:55:02 -04:00
Jane Lusby
e9af80b875
Add initial version of zebra-state ( #414 )
...
* rename zebra-storage to zebra-state
* Setup initial skeleton for zebra-state
* add test
* Apply suggestions from code review
Co-authored-by: Henry de Valence <hdevalence@hdevalence.ca>
* move shared test vectors to a common crate
Co-authored-by: Jane Lusby <jane@zfnd.org>
Co-authored-by: Henry de Valence <hdevalence@hdevalence.ca>
2020-06-02 16:16:17 -07:00
dependabot-preview[bot]
8e7d91b4a3
Bump eyre from 0.4.2 to 0.4.3
...
Bumps [eyre](https://github.com/yaahc/eyre ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/yaahc/eyre/releases )
- [Commits](https://github.com/yaahc/eyre/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 18:48:50 -04:00
dependabot-preview[bot]
7a75522885
Bump indexmap from 1.3.2 to 1.4.0
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.3.2...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 15:38:00 -04:00
dependabot-preview[bot]
433c2e1b3f
Bump serde from 1.0.110 to 1.0.111
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.110 to 1.0.111.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.110...v1.0.111 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-30 00:29:43 -04:00
dependabot-preview[bot]
a62b93d47c
Bump hyper from 0.13.5 to 0.13.6
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.5 to 0.13.6.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.5...v0.13.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-30 00:29:05 -04:00
dependabot-preview[bot]
145d9a1835
Bump proptest from 0.9.6 to 0.10.0
...
Bumps [proptest](https://github.com/altsysrq/proptest ) from 0.9.6 to 0.10.0.
- [Release notes](https://github.com/altsysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/altsysrq/proptest/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-29 15:06:40 -04:00
Jane Lusby
da72c5a86a
switch from abscissa::Context to color-eyre ( #409 )
...
Co-authored-by: Jane Lusby <jane@zfnd.org>
2020-05-28 23:01:24 -04:00
dependabot-preview[bot]
e317b68b1d
Bump proptest-derive from 0.1.2 to 0.2.0
...
Bumps [proptest-derive](https://github.com/AltSysrq/proptest ) from 0.1.2 to 0.2.0.
- [Release notes](https://github.com/AltSysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/AltSysrq/proptest/compare/proptest-derive-0.1.2...proptest-derive-0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 23:00:29 -04:00
Deirdre Connolly
8d29d05761
Upgrade sha2 to 0.8.2 release
...
Resolves #326
2020-05-23 21:32:37 -04:00
dependabot-preview[bot]
ce78fb38a0
Bump thiserror from 1.0.18 to 1.0.19
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.18...1.0.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 22:44:56 -04:00
dependabot-preview[bot]
775a323759
Bump pin-project from 0.4.16 to 0.4.17
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.16...v0.4.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 16:19:51 -04:00
dependabot-preview[bot]
c30a683bac
Bump thiserror from 1.0.17 to 1.0.18
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.17...1.0.18 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-15 23:10:46 -04:00
dependabot-preview[bot]
eb78b84c0a
Bump tracing from 0.1.13 to 0.1.14
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.13...tracing-0.1.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-15 09:29:48 -04:00
dependabot-preview[bot]
46cb7c02f2
Bump once_cell from 1.3.1 to 1.4.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.3.1...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 22:28:18 -04:00
dependabot-preview[bot]
0fd2b86d2a
Bump tokio from 0.2.20 to 0.2.21
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.20 to 0.2.21.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.20...tokio-0.2.21 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 15:57:37 -04:00
dependabot-preview[bot]
2849fbb08d
Bump thiserror from 1.0.16 to 1.0.17
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.16...1.0.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 15:56:16 -04:00
dependabot-preview[bot]
bbc9bf51b9
Bump pin-project from 0.4.15 to 0.4.16
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.15 to 0.4.16.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.15...v0.4.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 15:01:07 -04:00
dependabot-preview[bot]
acbe711e02
Bump pin-project from 0.4.14 to 0.4.15
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.14 to 0.4.15.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.14...v0.4.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-10 13:19:16 -04:00
dependabot-preview[bot]
eb50599fdf
Bump serde from 1.0.107 to 1.0.110
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.107 to 1.0.110.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.107...v1.0.110 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-10 02:51:40 -04:00
dependabot-preview[bot]
bafaea47de
Bump pin-project from 0.4.13 to 0.4.14
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.13 to 0.4.14.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.13...v0.4.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-09 13:39:07 -04:00
dependabot-preview[bot]
126a1fb801
Bump futures from 0.3.4 to 0.3.5
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.4...0.3.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 19:43:14 -04:00
dependabot-preview[bot]
47aebe6ef0
Bump serde from 1.0.106 to 1.0.107
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.106 to 1.0.107.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.106...v1.0.107 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 19:17:52 -04:00
dependabot-preview[bot]
b083991bbb
Bump pin-project from 0.4.10 to 0.4.13
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.10 to 0.4.13.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.10...v0.4.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 18:57:52 -04:00
dependabot-preview[bot]
9da490c732
Bump pin-project from 0.4.9 to 0.4.10
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.9 to 0.4.10.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.9...v0.4.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 16:35:07 -04:00
dependabot-preview[bot]
7bc77042ef
Bump tokio from 0.2.19 to 0.2.20
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.19 to 0.2.20.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.19...tokio-0.2.20 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 22:08:14 -04:00
dependabot-preview[bot]
307a45b7c7
Bump thiserror from 1.0.15 to 1.0.16
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.15...1.0.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 19:36:29 -04:00
dependabot-preview[bot]
53cf27a7b9
Bump tokio from 0.2.18 to 0.2.19
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.18 to 0.2.19.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.18...tokio-0.2.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 20:45:47 -04:00
dependabot-preview[bot]
bf371c3abc
Bump tracing-futures from 0.2.3 to 0.2.4
...
Bumps [tracing-futures](https://github.com/tokio-rs/tracing ) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-futures-0.2.3...tracing-futures-0.2.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 19:41:03 -04:00
dependabot-preview[bot]
a5cf5f538e
Bump bs58 from 0.3.0 to 0.3.1
...
Bumps [bs58](https://github.com/mycorrhiza/bs58-rs ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/mycorrhiza/bs58-rs/releases )
- [Commits](https://github.com/mycorrhiza/bs58-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 04:58:59 -04:00
dependabot-preview[bot]
83ee4c2ca3
Bump hyper from 0.13.4 to 0.13.5
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.4 to 0.13.5.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.4...v0.13.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-18 08:43:40 +00:00
Deirdre Connolly
7402a54379
Add bech32
2020-04-18 04:40:31 -04:00
Deirdre Connolly
145afb7bda
2 Blakes, 2 Serious
2020-04-18 04:40:31 -04:00
Deirdre Connolly
8add92445c
Add jubjub, replace blake2 with blake2b_simd
2020-04-18 04:40:31 -04:00
Deirdre Connolly
62d30c0a33
Add blake2 dependency
2020-04-18 04:40:31 -04:00
dependabot-preview[bot]
77375f3ba8
Bump pin-project from 0.4.8 to 0.4.9
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.8 to 0.4.9.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.8...v0.4.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-14 14:07:15 -04:00
dependabot-preview[bot]
baf305b856
Bump tokio from 0.2.17 to 0.2.18
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.17...tokio-0.2.18 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 00:02:08 -04:00
dependabot-preview[bot]
8e28db07fb
Bump proptest from 0.9.5 to 0.9.6
...
Bumps [proptest](https://github.com/altsysrq/proptest ) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/altsysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/altsysrq/proptest/compare/0.9.5...0.9.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-12 23:48:27 -04:00
dependabot-preview[bot]
dd60ce44f1
Bump thiserror from 1.0.14 to 1.0.15
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.14...1.0.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-12 23:47:37 -04:00
dependabot-preview[bot]
212eb229f4
Bump tokio from 0.2.16 to 0.2.17
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.16 to 0.2.17.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-09 17:20:13 -04:00
dependabot-preview[bot]
680ec5fae4
Bump tokio from 0.2.15 to 0.2.16
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.15...tokio-0.2.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-09 16:10:02 -04:00
dependabot-preview[bot]
3596771ce1
Bump serde from 1.0.105 to 1.0.106
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.105 to 1.0.106.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.105...v1.0.106 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-09 16:06:55 -04:00
dependabot-preview[bot]
6be165ea6c
Bump tokio from 0.2.14 to 0.2.15
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.14 to 0.2.15.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.14...tokio-0.2.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 13:43:15 -04:00
dependabot-preview[bot]
dd5b99e62a
Bump ed25519-zebra from 0.2.0 to 0.2.2
...
Bumps [ed25519-zebra](https://github.com/ZcashFoundation/ed25519-zebra ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/ZcashFoundation/ed25519-zebra/releases )
- [Changelog](https://github.com/ZcashFoundation/ed25519-zebra/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/ed25519-zebra/compare/0.2.0...0.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 20:27:47 -07:00
dependabot-preview[bot]
0b7c01ce80
Bump tokio from 0.2.13 to 0.2.14
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.13...tokio-0.2.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 21:44:22 -04:00
dependabot-preview[bot]
d81d330c6e
Bump thiserror from 1.0.13 to 1.0.14
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.13...1.0.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-29 23:11:44 -04:00
Deirdre Connolly
a7e5d37296
Use updated RustCrypto/hashes source of sha2
2020-03-28 02:42:13 -04:00
Deirdre Connolly
efdbb8f784
Update Cargo.lock
2020-03-28 02:42:13 -04:00
Deirdre Connolly
ee32de2b86
Derive Sprout ReceivingKey's from SpendingKey's via SHA256Compress
...
Test is incomplete, also the type aliases block us from impl'ing Debug or Display.
2020-03-28 02:42:13 -04:00
Deirdre Connolly
bba58807bb
Pull in fork of sha2 that exposes compress256 round function
2020-03-28 02:42:13 -04:00
Deirdre Connolly
b4832ab7cb
Add x25519-dalek as dependency
2020-03-28 02:42:13 -04:00
Deirdre Connolly
7ea39fbdce
Use secp256k1 serde flag to make keys serializable
2020-03-28 02:42:13 -04:00
dependabot-preview[bot]
6a8003e971
Bump thiserror from 1.0.12 to 1.0.13
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.12 to 1.0.13.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.12...1.0.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 12:27:56 -04:00
dependabot-preview[bot]
a437353d78
Bump thiserror from 1.0.11 to 1.0.12
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.11...1.0.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-21 16:00:25 -04:00
dependabot-preview[bot]
6867449ff4
Bump hyper from 0.13.3 to 0.13.4
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.3...v0.13.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 21:05:17 -04:00
dependabot-preview[bot]
09f65c671f
Bump serde from 1.0.104 to 1.0.105
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.104...v1.0.105 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 16:20:04 -04:00
Deirdre Connolly
b68e1e2d55
Move Network, Magic, and magics to zebra-chain
2020-03-12 22:02:17 -04:00
Deirdre Connolly
5602ed66a9
Add tests, use Base58Check, not Base58
2020-03-12 22:02:17 -04:00
Deirdre Connolly
9887b7c8b7
Fix up TransparentAddresses
2020-03-12 22:02:17 -04:00
Deirdre Connolly
72ddc7d7a1
Add AddressPayloadHash type
...
Includes From impls for Script, secp256k1::PublicKey
2020-03-12 22:02:17 -04:00
dependabot-preview[bot]
a3cd0bb82b
Bump chrono from 0.4.10 to 0.4.11
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.10...v0.4.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-07 18:26:07 -05:00
dependabot-preview[bot]
cf0348b4f5
Bump hyper from 0.13.2 to 0.13.3
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.2...v0.13.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-03 20:16:27 -05:00
dependabot-preview[bot]
b00967761e
Bump tokio from 0.2.12 to 0.2.13
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-28 19:37:53 -05:00
Deirdre Connolly
db86ef6e8b
Pull in secp256k1 wrapper crate as a dep
2020-02-28 13:19:47 -05:00
dependabot-preview[bot]
d765016540
Bump tokio from 0.2.11 to 0.2.12
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.11...tokio-timer-0.2.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-27 14:09:10 -05:00
dependabot-preview[bot]
5ce141af07
Bump tracing from 0.1.12 to 0.1.13
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.12...tracing-0.1.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-27 09:19:42 -08:00
dependabot-preview[bot]
e203efe4de
Bump tracing-futures from 0.2.2 to 0.2.3
...
Bumps [tracing-futures](https://github.com/tokio-rs/tracing ) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-futures-0.2.2...tracing-futures-0.2.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-27 09:19:15 -08:00
dependabot-preview[bot]
cd8e67b47c
Bump hex from 0.4.1 to 0.4.2
...
Bumps [hex](https://github.com/KokaKiwi/rust-hex ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases )
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.1...v0.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 10:09:13 -08:00
Henry de Valence
75d3d44fb3
Metrics MVP: add two metrics and export them to Prometheus.
...
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2020-02-14 20:14:05 -05:00
dependabot-preview[bot]
be56e10abe
Bump tracing-futures from 0.2.1 to 0.2.2
...
Bumps [tracing-futures](https://github.com/tokio-rs/tracing ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-futures-0.2.1...tracing-futures-0.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 17:48:44 -05:00
dependabot-preview[bot]
fdd90cb1d5
Bump thiserror from 1.0.10 to 1.0.11
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.10...1.0.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 16:40:50 -05:00
dependabot-preview[bot]
ef978756cb
Bump hex from 0.4.0 to 0.4.1
...
Bumps [hex](https://github.com/KokaKiwi/rust-hex ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases )
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4...v0.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 12:25:20 -05:00
Deirdre Connolly
866acde6e8
Add BLOCK_MAINNET_415000_BYTES test vector and a test to deserialize it
...
And println! it, for human eyeballs checking.
Resolves #218
Also changes the header constant to use _BYTES.
2020-02-07 13:42:21 -08:00
dependabot-preview[bot]
d6c2b7ac32
Bump futures from 0.3.3 to 0.3.4
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.3...0.3.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 10:28:32 -06:00
dependabot-preview[bot]
0392d8fa5d
Bump byteorder from 1.3.2 to 1.3.4
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.3.2 to 1.3.4.
- [Release notes](https://github.com/BurntSushi/byteorder/releases )
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.2...1.3.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 10:24:49 -06:00
Henry de Valence
9273f83761
Remove tracing-subscriber.
...
We don't need to handle the subscriber directly since we upstreamed this
functionality into Abscissa.
2020-02-05 14:05:46 -08:00
dependabot-preview[bot]
979cf7ac6d
Bump indexmap from 1.3.1 to 1.3.2
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 14:14:51 -05:00
dependabot-preview[bot]
e2e63f9b9d
Bump futures from 0.3.1 to 0.3.3
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.1 to 0.3.3.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.1...0.3.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-04 21:14:26 -08:00
dependabot-preview[bot]
73463c33f4
Bump ed25519-zebra from 0.1.0 to 0.2.0
...
Bumps [ed25519-zebra](https://github.com/ZcashFoundation/ed25519-zebra ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/ZcashFoundation/ed25519-zebra/releases )
- [Changelog](https://github.com/ZcashFoundation/ed25519-zebra/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/ed25519-zebra/compare/0.1.0...0.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-30 20:51:20 -08:00
dependabot-preview[bot]
a66e7458ab
Bump abscissa_core from 0.5.1 to 0.5.2
...
Bumps [abscissa_core](https://github.com/iqlusioninc/abscissa ) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/iqlusioninc/abscissa/releases )
- [Changelog](https://github.com/iqlusioninc/abscissa/blob/develop/CHANGES.md )
- [Commits](https://github.com/iqlusioninc/abscissa/compare/v0.5.1...v0.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-30 15:43:33 -05:00
dependabot-preview[bot]
dd24dbece3
Bump hyper from 0.13.1 to 0.13.2
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.1...v0.13.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 17:25:34 -05:00
dependabot-preview[bot]
ab342b42c4
Bump thiserror from 1.0.9 to 1.0.10
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.9...1.0.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-29 17:24:35 -05:00
Deirdre Connolly
9709b54c57
Fix proptest-regressions locations after reorganizations of files
2020-01-28 03:48:23 -05:00
dependabot-preview[bot]
624f481d3d
Bump tokio from 0.2.10 to 0.2.11
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.10...tokio-0.2.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 17:24:45 -05:00
dependabot-preview[bot]
d55d673027
Bump pin-project from 0.4.7 to 0.4.8
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.7...v0.4.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 08:39:16 -08:00
Henry de Valence
60f3f35d89
Refine Ed25519 byte arrays to ed25519-zebra types.
2020-01-24 16:43:31 -05:00
dependabot-preview[bot]
842a29b90c
Bump tokio from 0.2.9 to 0.2.10
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.9...tokio-0.2.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-24 13:38:07 -08:00
dependabot-preview[bot]
0dd8559486
Bump bytes from 0.5.3 to 0.5.4
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v0.5.3...v0.5.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-23 12:11:13 -08:00
dependabot-preview[bot]
5413e0c70d
Bump pin-project from 0.4.6 to 0.4.7
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.6...v0.4.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 10:26:39 -08:00
dependabot-preview[bot]
dbe7427f58
Bump once_cell from 1.3.0 to 1.3.1
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.3.0...v1.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-18 23:26:25 -05:00
dependabot-preview[bot]
99063dcb76
Bump tower from 0.3.0 to 0.3.1
...
Bumps [tower](https://github.com/tower-rs/tower ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](https://github.com/tower-rs/tower/compare/tower-0.3.0...tower-0.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-18 13:56:46 -08:00
dependabot-preview[bot]
f24243bd7b
Bump redjubjub from 0.1.0 to 0.1.1
...
Bumps [redjubjub](https://github.com/ZcashFoundation/redjubjub ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/ZcashFoundation/redjubjub/releases )
- [Changelog](https://github.com/ZcashFoundation/redjubjub/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ZcashFoundation/redjubjub/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 10:44:04 -08:00
dependabot-preview[bot]
b53190b6a3
Bump proptest from 0.9.4 to 0.9.5
...
Bumps [proptest](https://github.com/altsysrq/proptest ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/altsysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/altsysrq/proptest/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 08:51:09 -08:00
dependabot-preview[bot]
619f4c18ea
Bump toml from 0.5.5 to 0.5.6
...
Bumps [toml](https://github.com/alexcrichton/toml-rs ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases )
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.5...0.5.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 13:13:13 -05:00
dependabot-preview[bot]
6d2384044a
Bump tracing from 0.1.11 to 0.1.12
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.11...tracing-0.1.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 18:35:02 -05:00
dependabot-preview[bot]
b1c1105936
Bump tracing-futures from 0.2.0 to 0.2.1
...
Bumps [tracing-futures](https://github.com/tokio-rs/tracing ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-futures-0.2.0...tracing-futures-0.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 16:03:58 -05:00
Tony Arcieri
45eb81a204
Upgrade to Abscissa v0.5
2020-01-15 12:06:31 -08:00
Henry de Valence
d3e954cd4a
Remove vestigial tower git dep
2020-01-15 14:23:01 -05:00
dependabot-preview[bot]
c14a372f4c
Bump tokio from 0.2.7 to 0.2.9
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.7 to 0.2.9.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.7...tokio-0.2.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 15:39:27 -08:00
dependabot-preview[bot]
b8796114c8
Bump tokio from 0.2.6 to 0.2.7
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.6...tokio-0.2.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 16:43:53 -05:00
dependabot-preview[bot]
e0848e0d23
Bump sha2 from 0.8.0 to 0.8.1
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.0...sha2-v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 11:16:57 -08:00
Henry de Valence
53cae4647e
Make invalid ShieldedData unrepresentable.
...
ShieldedData objects must have at least one spend or output; using Either
ensures that at least one must be present. This is similar to the
JoinSplitData case, but slightly more complicated: rather than enforcing that
one list has at least one element (which can be done as `(first, rest)`), here
we need to use Either. This has the downside that it is possible to construct
multiple equivalent internal representations (choosing whether a spend or
output goes in the `first` slot), but this easily fixed with a custom PartialEq
implementation.
2019-12-31 02:46:39 -05:00
dependabot-preview[bot]
a0647341a2
Bump tracing from 0.1.10 to 0.1.11
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.10...tracing-0.1.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 10:58:38 -08:00
dependabot-preview[bot]
434457467f
Bump tower from `2dc9a72` to `7b48479`
...
Bumps [tower](https://github.com/tower-rs/tower ) from `2dc9a72` to `7b48479`.
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](2dc9a72bea...7b48479bd2
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 15:05:49 -05:00
dependabot-preview[bot]
f827d89061
Bump tokio from 0.2.5 to 0.2.6
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.5...tokio-0.2.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 15:04:48 -05:00
dependabot-preview[bot]
21b49ed022
Bump tokio from 0.2.4 to 0.2.5
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.4...tokio-0.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 09:11:30 -08:00
dependabot-preview[bot]
3c77c6f685
Bump hyper from 0.13.0 to 0.13.1
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.13.0...v0.13.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 17:11:28 -05:00
dependabot-preview[bot]
7aa1a27fe9
Bump serde from 1.0.103 to 1.0.104
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.103...v1.0.104 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 15:12:34 -05:00
Henry de Valence
2965187b91
Upgrade tokio, futures, hyper to released versions.
2019-12-13 17:42:15 -05:00
Henry de Valence
4315235d52
Use RedJubjub types in zebra-chain. ( #142 )
2019-12-12 14:23:19 -05:00
dependabot-preview[bot]
762617b917
Bump thiserror from 1.0.8 to 1.0.9
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.8...1.0.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-04 09:15:06 -08:00
dependabot-preview[bot]
a97ece996f
Bump thiserror from 1.0.6 to 1.0.8
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.6...1.0.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-03 12:25:55 -08:00
dependabot-preview[bot]
35d0ce3143
Bump tower-load from `52dbdda` to `51a374c`
...
Bumps [tower-load](https://github.com/tower-rs/tower ) from `52dbdda` to `51a374c`.
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](52dbdda23d...51a374c564
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-27 11:17:37 -08:00
dependabot-preview[bot]
4cd185e2ab
Bump serde from 1.0.102 to 1.0.103
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.102...v1.0.103 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-24 19:56:15 -08:00
dependabot-preview[bot]
18b83c59c2
Bump chrono from 0.4.9 to 0.4.10
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.9 to 0.4.10.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.9...v0.4.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-24 15:18:53 -05:00
dependabot-preview[bot]
c26bdd262c
Bump pin-project from 0.4.5 to 0.4.6
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v0.4.5...v0.4.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 14:03:40 -05:00
Henry de Valence
2b9991e4e7
Add a basic proptest for compactsize encodings.
...
There's a compiler warning about overlapping ranges so this test should catch the bug.
2019-11-20 11:59:54 -05:00
dependabot-preview[bot]
5b1db18a4b
Bump thiserror from 1.0.5 to 1.0.6
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.5...1.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 10:39:57 -08:00
Henry de Valence
9a0bffecb8
Sanitize outbound address responses.
...
This aims to prevent a remote peer from inspecting timings of all messages
received by this node.
2019-11-13 18:43:18 -05:00
dependabot-preview[bot]
7b739b3c16
Bump thiserror from 1.0.4 to 1.0.5
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.4...1.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-09 18:55:46 -08:00
dependabot-preview[bot]
78b243e955
Bump tower-load from `fac5c36` to `52dbdda`
...
Bumps [tower-load](https://github.com/tower-rs/tower ) from `fac5c36` to `52dbdda`.
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](fac5c361a4...52dbdda23d
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-02 11:27:35 -07:00
dependabot-preview[bot]
ec2db11ebe
Bump toml from 0.5.4 to 0.5.5
...
Bumps [toml](https://github.com/alexcrichton/toml-rs ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases )
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.4...0.5.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 10:20:57 -07:00
Deirdre Connolly
a322566694
Add Cargo.lock
...
To allow Dependabot to operate correctly.
2019-10-30 18:15:29 -04:00