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
teor
2f0f379a9e
Standardise clippy lints and require docs ( #2238 )
...
* Standardise lints across Zebra crates, and add missing docs
The only remaining module with missing docs is `zebra_test::command`
* Todo -> TODO
* Clarify what a transcript ErrorChecker does
Also change `Error` -> `BoxError`
* TransError -> ExpectedTranscriptError
* Output Descriptions -> Output descriptions
2021-06-04 08:48:40 +10: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]
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]
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
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
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
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]
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
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
306fa88214
Document the correctness of Poll::Pending wakeups
2021-03-27 08:55:49 -04:00
teor
829a6f11c5
Document the behaviour of the `select!` macro
2021-03-27 08:55:49 -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
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
teor
f19f0d0949
clippy: fix inconsistent struct ordering
2021-03-22 11:51:54 -04:00
Jane Lusby
fc4b8c1e70
add basic test for batch waker behaviour
2021-03-17 10:44:18 +10:00
Jane Lusby
c10ea1d82b
split pair constructor off of Batch::new
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
teor
873127aac1
Replace smart quotes with ascii quotes
...
Some tools don't deal well with unicode text. And we're not using it
consistently in Zebra anyway.
2021-03-15 03:18:10 -04:00
teor
895bb43ead
Clippy: Fix inconsistent struct member orders lint
2021-03-01 23:31:18 -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
teor
7558f74c78
Bump versions for zebrad 1.0.0-alpha.3
2021-02-23 10:39:13 -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
teor
1ef836abb9
Add a missing Sync bound
2021-02-17 09:03:09 -05:00
teor
090afb9d4c
Ignore clippy lints on copied code
2021-02-17 09:03:09 -05:00
teor
47084ea85e
Wake waiting tower-batch tasks on drop
...
When other tower-batch tasks drop, wake any tasks that are waiting for
a semaphore permit. Otherwise, tower-batch can hang.
We currently pin tower in our workspace to:
d4d1c67 hedge: use auto-resizing histograms (tower-rs/tower#484 )
Copy tower/src/semaphore.rs from that commit, to pick up
tower-rs/tower#480 .
2021-02-17 09:03:09 -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
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
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
Alfredo Garcia
bfb3de7a8a
Use use max_items as bound in tower-batch ( #1691 )
2021-02-05 12:42:38 +10:00
Alfredo Garcia
e455c3fa8a
add comment about error handling ( #1692 )
2021-02-05 12:41:27 +10: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
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]
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
Jane Lusby
d7bef1c155
bump color-eyre version to avoid a panic when printing spantraces ( #1438 )
2020-12-02 14:16:18 -08: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
teor
6387dfe1d0
Fix individual crate compilation failures
...
Some Zebra crates don't compile individually due to missing features in
their dependencies. Add those features to each crate's dependency list.
2020-11-23 23:56:28 -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
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
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]
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]
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