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