Marek
f79fc6aa8e
Bump prod group ( #8370 )
2024-03-21 18:23:41 +00:00
idky137
4579722833
change(chain): Remove `Copy` trait impl from `Network` ( #8354 )
...
* removed derive copy from network, address and ledgerstate
* changed is_max_block_time_enforced to accept ref
* changed NetworkUpgrade::Current to accept ref
* changed NetworkUpgrade::Next to accept ref
* changed NetworkUpgrade::IsActivationHeight to accept ref
* changed NetworkUpgrade::TargetSpacingForHeight to accept ref
* changed NetworkUpgrade::TargetSpacings to accept ref
* changed NetworkUpgrade::MinimumDifficultySpacing_forHeight to accept ref
* changed NetworkUpgrade::IsTestnetMinDifficultyBlock to accept ref
* changed NetworkUpgrade::AveragingWindowTimespanForHeight to accept ref
* changed NetworkUpgrade::ActivationHeight to accept ref
* changed sapling_activation_height to accept ref
* fixed lifetime for target_spacings
* fixed sapling_activation_height
* changed transaction_to_fake_v5 and fake_v5_transactions_for_network to accept ref to network
* changed Input::vec_strategy to accept ref to network
* changed functions in zebra-chain/src/primitives/zcash_history.rs to accept ref to network
* changed functions in zebra-chain/src/history_tree.rs to accept ref to network
* changed functions in zebra-chain/src/history_tree.rs to accept ref to network
* changed functions in zebra-chain/src/primitives/address.rs to accept ref to network
* changed functions in zebra-chain/src/primitives/viewing_key* to accept ref to network
* changed functions in zebra-chain/src/transparent/address.rs to accept ref to network
* changed functions in zebra-chain/src/primitives/zcash_primitives.rs to accept ref to network
* changed functions in zebra-chain/src/primitives/zcash_note_encryption.rs to accept ref to network
* changed functions in zebra-chain/src/primitives/history_tree* to accept ref to network
* changed functions in zebra-chain/src/block* to accept ref to network
* fixed errors in zebra-chain::parameters::network
* fixed errors in zebra-chain::parameters::network
* fixed errors in zebra-chain
* changed NonEmptyHistoryTree and InnerHistoryTree to hold value instead of ref
* changed NonEmptyHistoryTree and InnerHistoryTree to hold value instead of ref
* fixed errors in zebra-chain/src/block/arbitrary.rs
* finished fixing errors in zebra-chain - all crate tests pass
* changed functions in zebra-state::service::finalized_state to accept &Network
* changed functions in zebra-state::service::non_finalized_state to accept &Network
* zebra-state tests run but fail with overflow error
* zebra-state tests all pass
* converted zebra-network -- all crate tests pass
* applied all requested changes from review
* converted zebra-consensus -- all crate tests pass
* converted zebra-scan -- all crate tests pass
* converted zebra-rpc -- all crate tests pass
* converted zebra-grpc -- all crate tests pass
* converted zebrad -- all crate tests pass
* applied all requested changes from review
* fixed all clippy errors
* fixed build error in zebrad/src/components/mempool/crawler.rs
2024-03-19 20:45:27 +00:00
Arya
00a3120c7b
minor/trivial cleanup ( #8348 )
2024-03-14 11:54:01 +00:00
Za Wilcox
3bef54b764
change(consensus): Refactor production code for network consensus rules to `Network` methods ( #8340 )
...
* begin refactor suggested as "step 2": https://github.com/ZcashFoundation/zebra/issues/7968#issue-2003245309
Squashed from multiple commits to enable partial rebase
* break out more little traits
* add activation implementation leveraging From<Network> for lrz::cons::
* for transfer of ownership I cannot return a type that's owned by the method
* hrp_sapling_extended_full_viewing_key
* complete implementation of interface of Parameters on Network reuse Parameters on zcash Network where possible
* move doc-comments to trait declarations (from impls)
* Simplify/complete Parameters impl for Network
* Add checkpoint_list method, move documentation, etc
* move last match network to inside network method
* add back comment
* use zcash_address for parameter types in zebra-chain
* use inherent methods instead of big parameters passthrough
* revert to implementation of From on zcash_primitives::..::Network vs &zcash_prim...
* move match
* add test to block maximum time rule
* update changelog
* finish porting target_difficutly_limit
* remove obscelete code comment
* revert non-functional change
* finish migrating target_difficulty_limit, checkpoint_list
* update changelog
---------
Co-authored-by: Hazel OHearn <gygaxis@zingolabs.org>
2024-03-12 21:41:44 +00:00
idky137
9b91d4bc0e
change(tests): Remove Matches on Network From Tests ( #8295 )
...
* added functions for fetching block vectors
* inserted new network methods for vector fetching into zebra-chain
* changed tag back to test/feature=branch
* changed tag back to test/feature=branch
* changed tag back to test/feature=branch
* changed feature tag to proptest-impl, started implementing in zebra-consensus tests
* adding methods to zebra-consensus, lifetime error in src/transaction/tests.rs, needs refactoring
* finished adding methods to zebra-consensus
* finished adding new methods to zebrad
* added new methods to zebra-rpc and zebra-scan
* finished removing statements matching on Network from tests
* updated new error message
* changed get_block_bytes() and get_block_sapling_roots_bytes to return option and removed serialization error types as per requested changes in PR review
* removed match statements from zebra_chain::transaction::arbitrary::test_transactions() and new zebra-grpc tests
* moved zebra-chain::test_utils to zebra-chain::test
* removed get_ prefix from getter methods
* renamed zebra-chain::test to zebra-chain::tests
* renamed zebra-chain::test to zebra-chain::tests
* fixed clippy warnings
* changed block_map to return clone
2024-03-05 09:12:25 -05:00
Marek
58bfe974e1
chore: Release v1.6.0 ( #8319 )
...
* Prepare the CHANGELOG for v1.6.0
* chore: Release
* Set `ESTIMATED_RELEASE_HEIGHT` to 2_413_000
* Revert "chore: Release"
This reverts commit 5261e85c37
.
* chore: Release
* Fix release-crates-dry-run
* Temporarily turn off bumps for `zebra-{scan,grpc}`
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
* Re-enable test bump for `zebra-scan`
* Re-enable test bumps for `zebra-{scan, grpc}`
* Turn off dry-run bumps for `zebra-{scan, grpc}`
* Re-enable bumps and disable dry-run publishing
* Re-enable dry-run publishing
* Exclude `zebra-scan` from publishing
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-02-23 23:28:44 +00:00
bishopcheckmate
d1d128ac15
chore: allow crater runs ( #8171 )
...
* chore(dev-deps): always specify the version for dev-dependencies
* test(tower-batch-control): remove zebra-consensus dev dependency
Copies the Ed25519Verifier code directly to tower-batch-control tests
* test(zebra-consensus): update ed25519 verifier tests with ones from batch-control
* test(zebra-consensus): restore previous timeout values
The timeouts copied from tower-batch-control seems too low
and there must have been a reasoning why were they introduced
* chore: update dev-deps versions to beta.33
* chore(tower-batch-control): remove dev-dependency on metrics
* chore(tower-batch-control): remove zebra-chain dev-dependency
* Update zebra-scan/Cargo.toml
* bump all versions to match current release
* fix missed commas in version bumps
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
2024-02-23 12:47:10 +00:00
Marek
6b2768c021
chore: Update Checkpoints ( #8309 )
...
* Update Testnet checkpoints
* Update Mainnet checkpoints
2024-02-22 12:19:32 +00:00
dependabot[bot]
f342f50938
build(deps): bump the prod group with 14 updates ( #8264 )
...
* build(deps): bump the prod group with 14 updates
Bumps the prod group with 14 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.18` | `4.5.0` |
| [chrono](https://github.com/chronotope/chrono ) | `0.4.33` | `0.4.34` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.2.2` | `2.2.3` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.9` | `0.8.10` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.56` | `1.0.57` |
| [metrics](https://github.com/metrics-rs/metrics ) | `0.22.0` | `0.22.1` |
| [num-integer](https://github.com/rust-num/num-integer ) | `0.1.45` | `0.1.46` |
| [metrics-exporter-prometheus](https://github.com/metrics-rs/metrics ) | `0.13.0` | `0.13.1` |
| [indicatif](https://github.com/console-rs/indicatif ) | `0.17.7` | `0.17.8` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.9.0` | `3.10.0` |
| [tonic](https://github.com/hyperium/tonic ) | `0.10.2` | `0.11.0` |
| [tonic-build](https://github.com/hyperium/tonic ) | `0.10.2` | `0.11.0` |
| [x25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) | `2.0.0` | `2.0.1` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.6.0` | `3.6.1` |
Updates `clap` from 4.4.18 to 4.5.0
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.18...clap_complete-v4.5.0 )
Updates `chrono` from 0.4.33 to 0.4.34
- [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.33...v0.4.34 )
Updates `indexmap` from 2.2.2 to 2.2.3
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.2...2.2.3 )
Updates `toml` from 0.8.9 to 0.8.10
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.9...toml-v0.8.10 )
Updates `thiserror` from 1.0.56 to 1.0.57
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.57 )
Updates `metrics` from 0.22.0 to 0.22.1
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-v0.22.0...metrics-v0.22.1 )
Updates `num-integer` from 0.1.45 to 0.1.46
- [Changelog](https://github.com/rust-num/num-integer/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-integer/compare/num-integer-0.1.45...num-integer-0.1.46 )
Updates `metrics-exporter-prometheus` from 0.13.0 to 0.13.1
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-exporter-prometheus-v0.13.0...metrics-v0.13.1 )
Updates `indicatif` from 0.17.7 to 0.17.8
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/commits )
Updates `tempfile` from 3.9.0 to 3.10.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.9.0...v3.10.0 )
Updates `tonic` from 0.10.2 to 0.11.0
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.10.2...v0.11.0 )
Updates `tonic-build` from 0.10.2 to 0.11.0
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.10.2...v0.11.0 )
Updates `x25519-dalek` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/2.0.0...x25519-2.0.1 )
Updates `serde_with` from 3.6.0 to 3.6.1
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.6.0...v3.6.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: metrics
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: num-integer
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: metrics-exporter-prometheus
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: x25519-dalek
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
* update deny.toml
* update deny.toml missing dup
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-02-14 12:24:33 +00:00
dependabot[bot]
1cfed249de
build(deps): bump the prod group with 6 updates ( #8230 )
...
Bumps the prod group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.2.1` | `2.2.2` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.8` | `0.8.9` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.35.1` | `1.36.0` |
| [sentry](https://github.com/getsentry/sentry-rust ) | `0.32.1` | `0.32.2` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.5.1` | `3.6.0` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.11.23` | `0.11.24` |
Updates `indexmap` from 2.2.1 to 2.2.2
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.1...2.2.2 )
Updates `toml` from 0.8.8 to 0.8.9
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.9 )
Updates `tokio` from 1.35.1 to 1.36.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0 )
Updates `sentry` from 0.32.1 to 0.32.2
- [Release notes](https://github.com/getsentry/sentry-rust/releases )
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.32.1...0.32.2 )
Updates `serde_with` from 3.5.1 to 3.6.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.5.1...v3.6.0 )
Updates `reqwest` from 0.11.23 to 0.11.24
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 03:18:52 +00:00
dependabot[bot]
c9401ad754
build(deps): bump the prod group with 7 updates ( #8208 )
...
* build(deps): bump the prod group with 7 updates
Bumps the prod group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [chrono](https://github.com/chronotope/chrono ) | `0.4.32` | `0.4.33` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.1.0` | `2.2.1` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.195` | `1.0.196` |
| [pin-project](https://github.com/taiki-e/pin-project ) | `1.1.3` | `1.1.4` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.111` | `1.0.113` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.5.0` | `3.5.1` |
| [itertools](https://github.com/rust-itertools/itertools ) | `0.12.0` | `0.12.1` |
Updates `chrono` from 0.4.32 to 0.4.33
- [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.32...v0.4.33 )
Updates `indexmap` from 2.1.0 to 2.2.1
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.1.0...2.2.1 )
Updates `serde` from 1.0.195 to 1.0.196
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196 )
Updates `pin-project` from 1.1.3 to 1.1.4
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.3...v1.1.4 )
Updates `serde_json` from 1.0.111 to 1.0.113
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.111...v1.0.113 )
Updates `serde_with` from 3.5.0 to 3.5.1
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.5.0...v3.5.1 )
Updates `itertools` from 0.12.0 to 0.12.1
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.0...v0.12.1 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
* replaces call to deprecated `IndexMap::remove()` with `swap_remove`
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-01-30 14:00:28 +00:00
dependabot[bot]
d231b3b435
build(deps): bump the prod group with 6 updates ( #8190 )
...
Bumps the prod group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [chrono](https://github.com/chronotope/chrono ) | `0.4.31` | `0.4.32` |
| [rayon](https://github.com/rayon-rs/rayon ) | `1.8.0` | `1.8.1` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.2` | `1.10.3` |
| [vergen](https://github.com/rustyhorde/vergen ) | `8.3.0` | `8.3.1` |
| [bitflags](https://github.com/bitflags/bitflags ) | `2.4.1` | `2.4.2` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.4.0` | `3.5.0` |
Updates `chrono` from 0.4.31 to 0.4.32
- [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.31...v0.4.32 )
Updates `rayon` from 1.8.0 to 1.8.1
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.8.1 )
Updates `regex` from 1.10.2 to 1.10.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.10.2...1.10.3 )
Updates `vergen` from 8.3.0 to 8.3.1
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.3.0...8.3.1 )
Updates `bitflags` from 2.4.1 to 2.4.2
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.4.1...2.4.2 )
Updates `serde_with` from 3.4.0 to 3.5.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: rayon
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-01-24 22:36:32 +00:00
Alfredo Garcia
2c18835510
chore: Release ( #8187 )
2024-01-23 20:00:38 +00:00
Alfredo Garcia
5824f85bb4
Release v1.5.1 ( #8165 )
...
* add 1.5.1 changelog
* extend eos
* chore: Release
* add suggestions from review
Co-authored-by: Marek <mail@marek.onl>
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2024-01-19 21:14:32 +00:00
Alfredo Garcia
6ef178ba72
Prepare zebra release 1.5.1 ( #8159 )
...
* update checkpoints
* cargo update
2024-01-17 22:50:38 +00:00
dependabot[bot]
5878b325d5
build(deps): bump the prod group with 5 updates ( #8138 )
...
Bumps the prod group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.11` | `4.4.14` |
| [semver](https://github.com/dtolnay/semver ) | `1.0.20` | `1.0.21` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.51` | `1.0.56` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.108` | `1.0.111` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.8.1` | `3.9.0` |
Updates `clap` from 4.4.11 to 4.4.14
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.11...v4.4.14 )
Updates `semver` from 1.0.20 to 1.0.21
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.20...1.0.21 )
Updates `thiserror` from 1.0.51 to 1.0.56
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.51...1.0.56 )
Updates `serde_json` from 1.0.108 to 1.0.111
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.108...v1.0.111 )
Updates `tempfile` from 3.8.1 to 3.9.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.8.1...v3.9.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 16:38:44 +00:00
teor
2ac6921d60
feat(mine): Add an internal Zcash miner to Zebra ( #8136 )
...
* Patch equihash to use the solver branch
* Add an internal-miner feature and set up its dependencies
* Remove 'Experimental' from mining RPC docs
* Fix a nightly clippy::question_mark lint
* Move a byte array utility function to zebra-chain
* fixup! Add an internal-miner feature and set up its dependencies
* Add an equihash::Solution::solve() method with difficulty checks
* Check solution is valid before returning it
* Add a TODO to check for peers before mining
* Move config validation into GetBlockTemplateRpcImpl::new()
* fixup! fixup! Add an internal-miner feature and set up its dependencies
* Use the same generic constraints for GetBlockTemplateRpcImpl struct and impls
* Start adding an internal miner component
* Add the miner task to the start command
* Add basic miner code
* Split out a method to mine one block
* Spawn to a blocking thread
* Wait until a valid template is available
* Handle shutdown
* Run mining on low priority threads
* Ignore some invalid solutions
* Use a difference nonce for each solver thread
* Update TODOs
* Change the patch into a renamed dependency to simplify crate releases
* Clean up instrumentation and TODOs
* Make RPC instances cloneable and clean up generics
* Make LongPollId Copy so it's easier to use
* Add API to restart mining if there's a new block template
* Actually restart mining if there's a new block template
* Tidy instrumentation
* fixup! Move config validation into GetBlockTemplateRpcImpl::new()
* fixup! Make RPC instances cloneable and clean up generics
* Run the template generator and one miner concurrently
* Reduce logging
* Fix a bug in getblocktemplate RPC tip change detection
* Work around some watch channel change bugs
* Rate-limit template changes in the receiver
* Run one mining solver per available core
* Use updated C code with double-free protection
* Update to the latest solver branch
* Return and submit all valid solutions
* Document what INPUT_LENGTH means
* Fix watch channel change detection
* Don't return early when a mining task fails
* Spawn async miner tasks to avoid cooperative blocking, deadlocks, and improve shutdown responsiveness
* Make existing parallelism docs and configs consistent
* Add a mining parallelism config
* Use the minimum of the configured or available threads for mining
* Ignore optional feature fields in tests
* Downgrade some frequent logs to debug
* Document new zebrad features and tasks
* Describe the internal-miner feature in the CHANGELOG
* Update dependency to de-duplicate equihash solutions
* Use futures::StreamExt instead of TryStreamExt
* Fix a panic message typo
2024-01-11 14:41:01 +00:00
dependabot[bot]
f21d7c6934
build(deps): bump the prod group with 6 updates ( #8125 )
...
* build(deps): bump the prod group with 6 updates
Bumps the prod group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [futures](https://github.com/rust-lang/futures-rs ) | `0.3.29` | `0.3.30` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.35.0` | `1.35.1` |
| [metrics](https://github.com/metrics-rs/metrics ) | `0.21.1` | `0.22.0` |
| [metrics-exporter-prometheus](https://github.com/metrics-rs/metrics ) | `0.12.2` | `0.13.0` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.11.22` | `0.11.23` |
| [owo-colors](https://github.com/jam1garner/owo-colors ) | `3.5.0` | `4.0.0` |
Updates `futures` from 0.3.29 to 0.3.30
- [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.29...0.3.30 )
Updates `tokio` from 1.35.0 to 1.35.1
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.0...tokio-1.35.1 )
Updates `metrics` from 0.21.1 to 0.22.0
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-v0.21.1...metrics-v0.22.0 )
Updates `metrics-exporter-prometheus` from 0.12.2 to 0.13.0
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-exporter-prometheus-v0.12.2...metrics-exporter-prometheus-v0.13.0 )
Updates `reqwest` from 0.11.22 to 0.11.23
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.22...v0.11.23 )
Updates `owo-colors` from 3.5.0 to 4.0.0
- [Commits](https://github.com/jam1garner/owo-colors/compare/v3.5.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: metrics
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: metrics-exporter-prometheus
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: owo-colors
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
* update all metric macros
* fix deprecated function
* fix duplicated deps
* Fix an incorrect gauge method call
* Expand documentation and error messages for best chain length
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2024-01-02 01:26:54 +00:00
teor
ad015e04d9
Move history tree and value balance to typed column families ( #8115 )
...
* impl TryFrom<zcash_primitives::BlockHeight> for Height
* Add type-safe read and write database methods
* Only allow typed access to the scanner DB
* Update docs
* Implement a common method as a trait
* Fix imports
* Tidy state imports
* Activate tracing logging macros in the whole scanner crate
* Fix dead code warnings
* Use a more sensible export order
* Remove a 1.72 lint exception now 1.74 is stable
* Switch history trees over to TypedColumnFamily, and remove redundant code
* Add typed batch creation methods, and switch history trees to them
* Convert ValueBalance to typed column families
* Make the APIs compatible after a merge
* Use `ZebraDb` instead of `DiskDb` where needed
---------
Co-authored-by: Marek <mail@marek.onl>
2023-12-20 23:20:57 +00:00
dependabot[bot]
3c8b93d986
build(deps): bump the prod group with 4 updates ( #8117 )
...
Bumps the prod group with 4 updates: [thiserror](https://github.com/dtolnay/thiserror ), [sentry](https://github.com/getsentry/sentry-rust ), [hyper](https://github.com/hyperium/hyper ) and [metrics-exporter-prometheus](https://github.com/metrics-rs/metrics ).
Updates `thiserror` from 1.0.50 to 1.0.51
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.51 )
Updates `sentry` from 0.32.0 to 0.32.1
- [Release notes](https://github.com/getsentry/sentry-rust/releases )
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.32.0...0.32.1 )
Updates `hyper` from 0.14.27 to 0.14.28
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.28/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.27...v0.14.28 )
Updates `metrics-exporter-prometheus` from 0.12.1 to 0.12.2
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/commits )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: metrics-exporter-prometheus
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 22:03:41 +00:00
Arya
5bdad1bcaa
Release Zebra 1.5.0 ( #8027 )
...
* adds a summary to changelog
* chore: Release
* Apply suggestions from code review
* updates Changelog.md
* updates changelog.md
* mentions/updates MSRV
* updates checkpoints
* updates ESTIMATE_RELEASE_HEIGHT
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* updates estimated release height
* combines changelog entries about scanner db
* zebra-scan is still in alpha
* Update CHANGELOG.md
* update release checklist for zebra-scan
* use fastmod to update zebra-scan version
* corrects zebra-scan version requirement in zebrad
* Applies suggestions from review
* updates changelog
* Update zebrad/src/components/sync/end_of_support.rs
---------
Co-authored-by: teor <teor@riseup.net>
2023-12-12 00:44:15 +00:00
teor
05a28b97f2
change(ci): Split experimental feature tests into their own step ( #8039 )
...
* Split experimental feature tests into their own step
* Only log a checkpoint error warning once
2023-12-06 00:52:47 +00:00
teor
8c717c92dd
change(scan): Create a scanner storage database, but don't use it yet ( #8031 )
...
* Create an empty storage/db module
* Use ephemeral storage in tests
* Populate storage inside new() method
* Move scanner setup into an init() method
* Pass the network to scanner init
* Create a database but don't actually use it
* Skip shutdown format checks when skipping format upgrades
* Allow the scanner to skip launching format upgrades in production
* Refactor skipping format upgrades so it is consistent
* Allow checking configs for equality
* Restore Network import
2023-11-30 12:59:15 +00:00
dependabot[bot]
35a7764b01
build(deps): bump the prod group with 3 updates ( #8017 )
...
Bumps the prod group with 3 updates: [clap](https://github.com/clap-rs/clap ), [serde](https://github.com/serde-rs/serde ) and [inferno](https://github.com/jonhoo/inferno ).
Updates `clap` from 4.4.8 to 4.4.9
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.8...v4.4.9 )
Updates `serde` from 1.0.192 to 1.0.193
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193 )
Updates `inferno` from 0.11.18 to 0.11.19
- [Changelog](https://github.com/jonhoo/inferno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.11.18...v0.11.19 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: inferno
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 03:29:47 +00:00
Alfredo Garcia
681ae68455
build(deps): Bump what we can from the production group ( #7996 )
...
* bump what we can from the production group
* add duplicated dependencies
2023-11-27 03:26:29 +00:00
dependabot[bot]
461c5aa680
build(deps): bump the prod group with 7 updates ( #7938 )
...
Bumps the prod group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.7` | `4.4.8` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.190` | `1.0.192` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.6` | `0.8.8` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.33.0` | `1.34.0` |
| [sentry](https://github.com/getsentry/sentry-rust ) | `0.31.7` | `0.31.8` |
| [inferno](https://github.com/jonhoo/inferno ) | `0.11.17` | `0.11.18` |
| [proptest](https://github.com/proptest-rs/proptest ) | `1.3.1` | `1.4.0` |
Updates `clap` from 4.4.7 to 4.4.8
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.7...v4.4.8 )
Updates `serde` from 1.0.190 to 1.0.192
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.192 )
Updates `toml` from 0.8.6 to 0.8.8
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.6...toml-v0.8.8 )
Updates `tokio` from 1.33.0 to 1.34.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.33.0...tokio-1.34.0 )
Updates `sentry` from 0.31.7 to 0.31.8
- [Release notes](https://github.com/getsentry/sentry-rust/releases )
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.31.7...0.31.8 )
Updates `inferno` from 0.11.17 to 0.11.18
- [Changelog](https://github.com/jonhoo/inferno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.11.17...v0.11.18 )
Updates `proptest` from 1.3.1 to 1.4.0
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.3.1...v1.4.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: inferno
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 01:03:57 +00:00
teor
af82a76d18
cleanup(clippy): Remove unnecessary `try_into()` with `cargo clippy --fix` ( #7940 )
...
* Remove unnecessary try_into() with cargo clippy --fix
* Manually remove some unnecessary try_from()s
* impl From<Diversifier> for pallas::Affine instead of TryFrom
* Remove unused imports
* cargo fmt --all
* Remove redundant comma
2023-11-14 20:31:49 +00:00
teor
477da1a774
Release Zebra 1.4.0 ( #7911 )
...
* Add a new known issue to the README
* Update the changelog
* Set release height around 8 November
* chore: Release
2023-11-06 12:51:41 +00:00
teor
afbe807060
change(docs): Replace doc.zebra.zfnd.org API documentation with docs.rs ( #7886 )
...
* Simple replacements of doc.zebra.zfnd.org with docs.rs
* Manual fixes for specific main/internal/external docs
* Point developer docs to doc-internal.zebra.zfnd.org
* fastmod --glob '\!.git' -- doc.zebra.zfnd.org/zebrad docs.rs/zebrad/latest/zebrad
* Manually remove any remaining doc.zfnd.zebra.org links
* Remove the external docs job
* Add changelog entry and fix links
* Fix links that were broken before this PR
2023-11-01 22:09:40 +00:00
dependabot[bot]
d0e5b2f3ef
build(deps): bump the async group with 2 updates ( #7872 )
...
Bumps the async group with 2 updates: [futures](https://github.com/rust-lang/futures-rs ) and [tokio-util](https://github.com/tokio-rs/tokio ).
Updates `futures` from 0.3.28 to 0.3.29
- [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.28...0.3.29 )
Updates `tokio-util` from 0.7.9 to 0.7.10
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 18:26:53 +00:00
dependabot[bot]
ad0051c228
build(deps): bump the formats group with 1 update ( #7874 )
...
Bumps the formats group with 1 update: [serde](https://github.com/serde-rs/serde ).
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.189...v1.0.190 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 18:26:30 +00:00
teor
df55201c87
chore(clippy): Cleanup nightly clippy warnings from 2023-10-30 ( #7868 )
...
* Use first() rather than get(0)
* Remove unused imports and silence test-related warnings
* More clippy fixes
2023-10-30 12:21:05 +00:00
teor
49a9e598bf
Update mainnet and testnet checkpoints on 2023-10-30 ( #7866 )
2023-10-30 12:20:54 +00:00
Arya
0a3790b73e
change(consensus): Remove Sprout and Sapling parameter download task and debug_skip_preload config ( #7844 )
...
* removes groth16 download task
* updates docs.
* Adds new config to test configs
* fixes compatibility with past configs
* uses inner config to deserialize removed field for compatibility
* update docs
* updates latest config
* Applies suggestions from code review
* Avoid duplicating hard-coded default values
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-27 06:12:57 +00:00
teor
920ee14512
fix(doc): Fix broken links to `zebra_network` and `zebra_state` `Config` structs on doc.zebra.zfnd.org ( #7838 )
...
* Use full module paths to avoid a rustdoc bug
* Exclude zebra-test from external docs
2023-10-27 01:05:26 +00:00
teor
aad883b68a
change(consensus): Build Sprout and Sapling parameters into the zebrad binary, so a download server isn't needed ( #7800 )
...
* Build sapling parameters into zebrad
* Load the sapling parameters from wagyu-zcash-parameters
* Reword logs
* wget https://github.com/zcash/zcash/raw/master/src/rust/src/sprout-groth16.vk
* Load sprout from binary and remove download code
* Remove download examples binaries
* Remove unused features and dependencies
* Remove docs and comments about downloading parameters
* Add CHANGELOG entry
* Remove parameter cache steps in workflows
* Update comment about downloading
Co-authored-by: Marek <mail@marek.onl>
* Fix outdated timeout comments and short timeouts
---------
Co-authored-by: Marek <mail@marek.onl>
2023-10-24 23:27:24 +00:00
Alfredo Garcia
9c993f82e2
build(deps): bump ECC dependencies ( #7784 )
...
* bump the versions
* replace `is_odd()` with `is_right_child()`
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-20 02:12:02 +00:00
Marek
13230d09fe
chore: Release v1.3.0 ( #7610 )
...
* Update `CHANGELOG.md`
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Group together test PRs for `z_getsubtreesbyindex`
* chore: Release
* Update the end of support height
* Add progress bars changelog entry
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update `CHANGELOG.md`
* Update `CHANGELOG.md`
* Update `README.md`
* Update `ESTIMATED_RELEASE_HEIGHT`
Set the release height to start on ~ Monday, 2023-10-16.
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Remove changelog entries invisible to users
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-16 23:04:33 +00:00
dependabot[bot]
0507670259
build(deps): bump the log-time group with 1 update ( #7748 )
...
Bumps the log-time group with 1 update: [tracing](https://github.com/tokio-rs/tracing ).
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 20:13:38 +00:00
Marek
c43142332a
chore: Update checkpoints ( #7741 )
...
* Update Testnet checkpoints
* Update Mainnet checkpoints
2023-10-15 23:10:08 +00:00
dependabot[bot]
87d1e6667a
build(deps): bump the test group with 4 updates ( #7706 )
...
Bumps the test group with 4 updates: [proptest](https://github.com/proptest-rs/proptest ), [insta](https://github.com/mitsuhiko/insta ), [tonic](https://github.com/hyperium/tonic ) and [tonic-build](https://github.com/hyperium/tonic ).
Updates `proptest` from 1.2.0 to 1.3.1
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.2.0...v1.3.1 )
Updates `insta` from 1.32.0 to 1.33.0
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.32.0...1.33.0 )
Updates `tonic` from 0.10.1 to 0.10.2
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.10.1...v0.10.2 )
Updates `tonic-build` from 0.10.1 to 0.10.2
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 21:27:12 +00:00
dependabot[bot]
f1c891bdcc
build(deps): bump the async group with 2 updates ( #7705 )
...
Bumps the async group with 2 updates: [tokio](https://github.com/tokio-rs/tokio ) and [reqwest](https://github.com/seanmonstar/reqwest ).
Updates `tokio` from 1.32.0 to 1.33.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.32.0...tokio-1.33.0 )
Updates `reqwest` from 0.11.20 to 0.11.22
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.20...v0.11.22 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: async
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 21:26:41 +00:00
Marek
44658967ec
chore: Update checkpoints ( #7611 )
...
* Update Testnet checkpoints
* Update Mainnet checkpoints
2023-09-25 18:40:42 +00:00
dependabot[bot]
b6a18e9bab
build(deps): bump the log-time group with 2 updates ( #7579 )
...
* build(deps): bump the log-time group with 2 updates
Bumps the log-time group with 2 updates: [chrono](https://github.com/chronotope/chrono ) and [sentry](https://github.com/getsentry/sentry-rust ).
Updates `chrono` from 0.4.30 to 0.4.31
- [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.30...v0.4.31 )
Updates `sentry` from 0.31.6 to 0.31.7
- [Release notes](https://github.com/getsentry/sentry-rust/releases )
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.31.6...0.31.7 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
* reduce nanoseconds range in arbitrary tests
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-09-20 23:41:05 +00:00
dependabot[bot]
3ec142d2ee
build(deps): bump the log-time group with 1 update ( #7527 )
...
Bumps the log-time group with 1 update: [chrono](https://github.com/chronotope/chrono ).
- [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.29...v0.4.30 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 21:59:04 +00:00
dependabot[bot]
e5a2f307a8
build(deps): bump the crypto group with 2 updates ( #7524 )
...
Bumps the crypto group with 2 updates: [blake2b_simd](https://github.com/oconnor663/blake2_simd ) and [blake2s_simd](https://github.com/oconnor663/blake2_simd ).
Updates `blake2b_simd` from 1.0.1 to 1.0.2
- [Commits](https://github.com/oconnor663/blake2_simd/compare/1.0.1...1.0.2 )
Updates `blake2s_simd` from 1.0.1 to 1.0.2
- [Commits](https://github.com/oconnor663/blake2_simd/compare/1.0.1...1.0.2 )
---
updated-dependencies:
- dependency-name: blake2b_simd
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: crypto
- dependency-name: blake2s_simd
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: crypto
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 17:56:41 +00:00
Dimitris Apostolou
a876ddef67
Fix typo ( #7516 )
2023-09-11 05:47:21 +10:00
dependabot[bot]
885ee71195
build(deps): bump the log-time group with 2 updates ( #7493 )
...
Bumps the log-time group with 2 updates: [chrono](https://github.com/chronotope/chrono ) and [thiserror](https://github.com/dtolnay/thiserror ).
Updates `chrono` from 0.4.28 to 0.4.29
- [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.28...v0.4.29 )
Updates `thiserror` from 1.0.47 to 1.0.48
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 02:44:01 +00:00
dependabot[bot]
cc2dbe32da
build(deps): bump the time group with 1 update ( #7455 )
...
Bumps the time group with 1 update: [chrono](https://github.com/chronotope/chrono ).
- [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.27...v0.4.28 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 19:06:57 +00:00
Alfredo Garcia
6f503049c6
Release Zebra v1.2.0 ( #7431 )
...
* chore: Release
* change estimated release height
* add 1.2.0 changelog
* apply suggestions to changelog
Co-authored-by: teor <teor@riseup.net>
* remove item
* change release date to today
---------
Co-authored-by: teor <teor@riseup.net>
2023-09-01 20:45:20 +00:00
Alfredo Garcia
40c35e2729
update checkpoints ( #7428 )
2023-08-31 00:48:38 +00:00
dependabot[bot]
a2b5e4b3be
build(deps): bump the test group with 1 update ( #7401 )
...
Bumps the test group with 1 update: [proptest-derive](https://github.com/proptest-rs/proptest ).
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/0.4.0/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/proptest-derive-0.3.0...0.4.0 )
---
updated-dependencies:
- dependency-name: proptest-derive
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 01:32:50 +00:00
dependabot[bot]
e58000f07f
build(deps): bump the formats group with 2 updates ( #7400 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [regex](https://github.com/rust-lang/regex ).
Updates `serde` from 1.0.185 to 1.0.188
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.188 )
Updates `regex` from 1.9.3 to 1.9.4
- [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.9.3...1.9.4 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
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>
2023-08-29 04:01:15 +00:00
teor
ca8d529a09
cleanup(clippy): Fix new nightly clippy lints from July and August 2023 ( #7384 )
...
* cargo +nightly clippy --fix --all-features --all-targets
* Manually fix clippy::redundant_locals
* Remove unused deny.toml duplicate dependency exception
* Manually fix clippy::needless_pass_by_ref_mut
* Manually fix -W elided-lifetimes-in-associated-constant
* Manually fix clippy::unnecessary_mut_passed
* Manually fix -W unused_mut
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-25 22:58:30 +00:00
dependabot[bot]
c696c520ce
build(deps): bump the async group with 2 updates ( #7360 )
...
* build(deps): bump the async group with 2 updates
Bumps the async group with 2 updates: [tokio](https://github.com/tokio-rs/tokio ) and [reqwest](https://github.com/seanmonstar/reqwest ).
Updates `tokio` from 1.31.0 to 1.32.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0 )
Updates `reqwest` from 0.11.18 to 0.11.19
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.18...v0.11.19 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: async
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
* update bans
* fix typo in version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-25 20:34:00 +00:00
Alfredo Garcia
000c7b4bc6
fix(clippy): Fix clippy and rustfmt after last releases today ( #7381 )
...
* fix clippy and rustfmt after last releases today
* Ignore clippy::arc_with_non_send_sync false positives in proptest code only
* Remove .cargo/config.toml changes that didn't work
---------
Co-authored-by: teor <teor@riseup.net>
2023-08-25 04:08:13 +00:00
dependabot[bot]
31426f3b0e
build(deps): bump the formats group with 2 updates ( #7357 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [serde_with](https://github.com/jonasbb/serde_with ).
Updates `serde` from 1.0.183 to 1.0.185
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185 )
Updates `serde_with` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 21:05:24 +00:00
dependabot[bot]
7123701183
build(deps): bump the log group with 2 updates ( #7355 )
...
Bumps the log group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror ) and [inferno](https://github.com/jonhoo/inferno ).
Updates `thiserror` from 1.0.46 to 1.0.47
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47 )
Updates `inferno` from 0.11.15 to 0.11.16
- [Changelog](https://github.com/jonhoo/inferno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.11.15...v0.11.16 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
- dependency-name: inferno
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 21:04:54 +00:00
dependabot[bot]
22b4c061ba
build(deps): bump the async group with 1 update ( #7323 )
...
Bumps the async group with 1 update: [tokio](https://github.com/tokio-rs/tokio ).
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.31.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:10:32 +00:00
dependabot[bot]
951469956f
build(deps): bump the formats group with 2 updates ( #7336 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [serde_json](https://github.com/serde-rs/json ).
Updates `serde` from 1.0.179 to 1.0.183
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.183 )
Updates `serde_json` from 1.0.104 to 1.0.105
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:09:51 +00:00
dependabot[bot]
7605a3376b
build(deps): bump the log group with 2 updates ( #7337 )
...
Bumps the log group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror ) and [log](https://github.com/rust-lang/log ).
Updates `thiserror` from 1.0.44 to 1.0.46
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.46 )
Updates `log` from 0.4.19 to 0.4.20
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:10:03 +00:00
dependabot[bot]
e2bf4aa330
build(deps): bump the formats group with 4 updates ( #7298 )
...
Bumps the formats group with 4 updates: [serde](https://github.com/serde-rs/serde ), [regex](https://github.com/rust-lang/regex ), [serde_json](https://github.com/serde-rs/json ) and [serde_with](https://github.com/jonasbb/serde_with ).
Updates `serde` from 1.0.175 to 1.0.179
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.179 )
Updates `regex` from 1.9.1 to 1.9.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.9.1...1.9.3 )
Updates `serde_json` from 1.0.103 to 1.0.104
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104 )
Updates `serde_with` from 3.1.0 to 3.2.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-10 22:28:00 +00:00
dependabot[bot]
b8dd54081d
build(deps): bump the formats group with 1 update ( #7283 )
...
Bumps the formats group with 1 update: [serde](https://github.com/serde-rs/serde ).
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.175 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 02:22:22 +00:00
dependabot[bot]
bce8e1a842
build(deps): bump the log group with 1 update ( #7281 )
...
Bumps the log group with 1 update: [thiserror](https://github.com/dtolnay/thiserror ).
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 20:20:22 +00:00
Arya
a6bdb480bb
Release Zebra v1.1.0 ( #7259 )
...
* Updates dependencies
* Dedups bindgen, removes windows-sys from deny.toml
* Updates checkpoints
* chore: Release
* Adds changelog draft
* updates estimated_release_height
* Updates changelog
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
---------
Co-authored-by: teor <teor@riseup.net>
2023-07-22 01:18:09 +00:00
Alfredo Garcia
e2f010eb4f
build(deps): update ecc dependencies for `zcashd` 5.6.0, and create legacy state format compatibility layer ( #7053 )
...
* update ecc dependencies no serialization
* use zcash_primitives merke tree functions for serialization/deserialization in orchard and sapling trees
* some more work in sapling/orchard serialization/deserialization
* clippy
* fix doc links
* fix missing doc
* make orchard trees serializa/deserialize as they were before upgrade
* make sapling trees serialize/deserialize as they were before upgrade
* use legacy for sprout
* remove unused code
* readd snapshot tests
* repalce some code
* upgrade zcash_proofs
* remove legacy code for sprout
* fix the count method
* add root to serialize
* fixes in as_bytes and from_bytes
* use legacy code
* add todo about pow2 tests
* remove unused sprout code
* fix doc typos
* Add a recalculate_root() method to trees for tests
* Rename test tree types to make them easier to change
* Add TODOs for tests for old and new serialization formats
* fix doc typos
* add more test to note commitment trees
* fix comment
* fix leaf serializatiuon, reverse to old hashes in pow2 tests
* fix serialization
* put sapling SerializedTree code back
* put orchard SerializedTree code back
* clippy
* add duplicated dependencies until zebra_script updates
* fix a doc link
* minor cleanup
* remove todo comment from tests
* add one more check to tests
* update zebra_script
* update deny.toml
* replace custom function with library
* fix some tests
* update docs
* Remove duplicate dependencies from deny.toml
Based on the list at:
https://github.com/ZcashFoundation/zebra/actions/runs/5557139662/jobs/10150543673?pr=7053#step:5:14
---------
Co-authored-by: teor <teor@riseup.net>
2023-07-17 22:06:27 +00:00
Arya
797df674cb
cleanup(consensus): Avoid blocking threads by awaiting proof verification results from rayon in async context ( #6887 )
...
* Replaces rayon::iter::once with spawn_fifo
* Removes spawn_blocking in flush_spawning methods
* Logs warning and returns error for RecvErrors
* Uses BoxError in proof verifiers
* Adds async spawn_fifo fns
* Updates verify_single_spawning and flush_spawning methods to use new async spawn_fifo fns
* Removes outdated TODOs and docs.
* removes outdated TODO
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-07-12 21:30:07 +00:00
dependabot[bot]
0d332646bf
build(deps): bump the serde group with 1 update ( #7184 )
...
Bumps the serde group with 1 update: [serde](https://github.com/serde-rs/serde ).
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.168 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: serde
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 08:27:21 +00:00
dependabot[bot]
8c5bcb7487
build(deps): bump thiserror from 1.0.41 to 1.0.43 ( #7174 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43 )
---
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>
2023-07-10 03:37:10 +00:00
dependabot[bot]
730b10a278
build(deps): bump thiserror from 1.0.40 to 1.0.41 ( #7153 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41 )
---
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>
2023-07-05 20:53:05 +00:00
teor
147b8fa3a8
cleanup(rust): Fix new nightly clippy warnings ( #7135 )
...
* Fix "comparison is always true" warning
* Add missing Send bound
* cargo clippy --fix --all-features --all-targets
* incorrect implementation of clone on a Copy type
* cargo fmt --all
2023-07-05 07:11:27 +00:00
teor
f2a2a403a8
fix(log): Remove redundant startup logs, fix progress bar number, order, and wording ( #7087 )
...
* Remove duplicate "running" message, send log file opening logs to stderr
* Add missing block progress bar desc, make them consistent
* Put progress bars in a specific order in each section
* Actually make block progress bar desc consistent
* Make progress bar order even more consistent
* Fix fork blocks plural for 1 block
* Use the correct number of chain fork bars
* Disable confusing partial work display
* Add struct field category comments
* Silence a verbose inventory log
2023-07-05 07:08:59 +00:00
Alfredo Garcia
5859fac5b1
docs(state): Use different terms for block verification and state queues ( #7061 )
...
* claridy some checkpoint verifier docs
* update documentation of `Request::CommitSemanticallyVerifiedBlock` and `Request::CommitCheckpointVerifiedBlock`
* replace `prepared` with `semantically_verified` in state service checks code
* replace `non-finalized` where needed in docs of the state service
* fix double space in doc
* replace `finalized` where needed in docs of the state service
* change some docs in state queued_blocks.rs
* Rewrite pending UTXO checkpoint block comment
* Fix trailing space in docs
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
---------
Co-authored-by: teor <teor@riseup.net>
2023-07-04 21:29:41 +00:00
dependabot[bot]
6ec0c66aa6
build(deps): bump serde from 1.0.164 to 1.0.166 ( #7134 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.164 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.166 )
---
updated-dependencies:
- dependency-name: serde
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>
2023-07-04 16:53:54 +00:00
dependabot[bot]
4713994e64
build(deps): bump metrics from 0.21.0 to 0.21.1 ( #7131 )
...
Bumps [metrics](https://github.com/metrics-rs/metrics ) from 0.21.0 to 0.21.1.
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-v0.21.0...metrics-v0.21.1 )
---
updated-dependencies:
- dependency-name: metrics
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>
2023-07-03 23:23:33 +00:00
dependabot[bot]
a8e71b3429
build(deps): bump tokio from 1.29.0 to 1.29.1 ( #7114 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.29.1 )
---
updated-dependencies:
- dependency-name: tokio
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>
2023-07-03 05:39:10 +00:00
teor
2add0e50a9
Release Zebra v1.0.1 ( #7090 )
...
* Update license description in README for MIT-only crates
* Draft changelog with trivial issues
* Remove trivial issues
* Update changelog entries as of commit 2a31972
and PR #7103
* Update mainnet and testnet checkpoints as of 2023-06-30
* chore: Release
* Estimate release height for Zebra v1.0.1
Block height 2139118 at 2023-06-30 01:55:38 UTC
Release is likely to be 2023-07-01
2139118 + 1152 * 3 = 2142574
Then round up to the nearest 1000.
2023-07-02 23:08:40 +00:00
dependabot[bot]
5eea111922
build(deps): bump tokio from 1.28.2 to 1.29.0 ( #7094 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.2 to 1.29.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 02:58:00 +00:00
teor
5324e5afd2
add(tests): Add snapshot tests for sprout database formats ( #7057 )
...
* Add methods for loading entire column families from the database
* Add a method that loads all the sprout trees from the database
* Add snapshot tests for sprout note commitment trees
* Add round-trip proptests for tree root database serialization
* Add a manual sprout note commitment tree database serialization snapshot test
* Add tests for 1,2,4,8 note commitments in a tree
* Remove redundant "rand" package rename in dependencies
* Randomly cache roots rather than only caching even roots
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-27 15:32:30 +00:00
teor
3d2c5ef290
fix(concurrency): Use Arc::into_inner() to avoid potential concurrency issues, needs Rust 1.70 ( #7032 )
...
* Use Arc::into_inner() to avoid potential concurrency issues
* Remove some outdated clippy lint workarounds (fixed in Rust 1.66)
* Update the required Rust version to 1.70
2023-06-21 20:44:53 +00:00
teor
56a76385f0
git ls-tree --full-tree -r --name-only HEAD | xargs sed -i -e 's/router_verifier/block_verifier_router/g' ( #6998 )
...
cargo fmt --all
2023-06-20 07:11:04 +00:00
Alfredo Garcia
8a7c871480
rename(state): do additional renaming for clarification purposes ( #6967 )
...
* do renames by script
```
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/CommitFinalized/CommitCheckpointVerified/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/commit_finalized_block/commit_checkpoint_verified/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/drain_queue_and_commit_finalized/drain_finalized_queue_and_commit/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/queue_and_commit_finalized/queue_and_commit_to_finalized_state/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/queued_finalized_blocks/finalized_state_queued_blocks/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/max_queued_finalized_height/max_finalized_queue_height/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/send_finalized_block_error/send_checkpoint_verified_block_error/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/QueuedFinalized/QueuedCheckpointVerified/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/queue_and_commit_non_finalized/queue_and_commit_to_non_finalized_state/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/queued_non_finalized_blocks/non_finalized_state_queued_blocks/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/send_non_finalized_block_error/send_semantically_verified_block_error/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/QueuedNonFinalized/QueuedSemanticallyVerified/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/last_sent_finalized_block_hash/finalized_block_write_last_sent_hash/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/sent_non_finalized_block_hashes/non_finalized_block_write_sent_hashes/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/invalid_block_reset_receiver/invalid_block_write_reset_receiver/g'
cargo fmt --all
```
* add missing log renames by script
```
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/queued finalized block/finalized state queue block/g'
git ls-tree --full-tree -r --name-only HEAD | \
grep -v 'book' | grep -v 'CHANGELOG.md' | \
xargs sed -i 's/queued non-finalized block/non-finalized state queue block/g'
cargo fmt --all
```
2023-06-15 05:12:45 +00:00
Deirdre Connolly
fe859bd6a1
✨ Release 1.0.0 ✨ ( #6877 )
...
* Include zebra-* and tower-fallback versions and paths for tower-batch-control
* Remove versions for dev-dependencise
* fix(legal): Use correct licenses for tower-batch-control and zebra-network (#6927 )
* Don't modify whitespace
* Resolve rustdoc and cargo-release warnings
* Bump semver
* Re-up Cargo.lock
* Update README.md
Co-authored-by: teor <teor@riseup.net>
* Update book/src/user/docker.md
Co-authored-by: teor <teor@riseup.net>
* Update 'Future Work' section post stable release
* Add release notes to CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Remove Docker container change from the changelog
Co-authored-by: teor <teor@riseup.net>
* Point at the appropriate zebra-* crate versions
* Update ESTIMATED_RELEASE_HEIGHT to 2,121,200
* Add CHANGELOG summary of the 1.0.0 release
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Bump tower-* beta.* versions and use them
---------
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Pili Guerra <pili@piliguerra.com>
2023-06-14 04:35:45 +00:00
Deirdre Connolly
62d946d139
change(crates): Prepare for publishing crates to crates.io ( #6908 )
...
* change(crates): Publish tower-batch-control
* Cargo fields for zebra-test
* Cargo fields for tower-fallback
* Cargo fields for zebra-chain
* Cargo fields for zebra-consensus
* Cargo fields for zebra-network
* Cargo fields for zebra-node-services
* Cargo fields for zebra-rpc
* Cargo fields for zebra-script
* Cargo fields for zebra-state
* Cargo fields for zebrad
* Cargo fields for zebra-test
* Include zebra-test version and path for zebra-chain
* Include zebra-chain version and path for zebra-node-services
* Include zebra-chain version and path for zebra-script
* Include zebra-chain and zebra-test versions and paths for zebra-state
* Include zebra-* versions and paths for zebra-consensus
* Include zebra-* and tower-fallback versions and paths for tower-batch-control
* Include tower-* versions and paths for zebra-consensus
* Fixed tower-fallback license string
* Remove versions for dev-dependencise
* Update zebra-rpc/Cargo.toml
Co-authored-by: teor <teor@riseup.net>
* tower-batch-control license MUST remain MIT only
* Align zebra-network with upstream tower's MIT license
* Update zebra-test/Cargo.toml
Co-authored-by: teor <teor@riseup.net>
* Update zebra-utils/Cargo.toml
Co-authored-by: teor <teor@riseup.net>
* fix(legal): Use correct licenses for tower-batch-control and zebra-network (#6927 )
* Don't modify whitespace
* Resolve rustdoc and cargo-release warnings
* Add missing zebra internal dependency versions
* Workaround missing zebra-utils test dependency in zebrad test-only feature
* Fix missing zebra internal dependency versions
* Add README, home page, and search terms to every crate
* Fix README publish warnings
* Change tower crates to beta versions
* Add zebra-utils to the list of allowed unused dependencies
* Update tower-batch-control/Cargo.toml
* Update tower-fallback/Cargo.toml
---------
Co-authored-by: teor <teor@riseup.net>
2023-06-13 08:46:01 +00:00
Deirdre Connolly
329dd71dfe
change(checkpoints): Update checkpoints for 1.0.0 ( #6884 )
...
* Update mainnet checkpoints
* Update testnet checkpoints
* Update mainnet checkpoints on commit 2e37981
* Update testnet checkpoints as of commit 2e37981
2023-06-13 05:39:42 +00:00
Marek
c058f77a34
Increase the the number of test cases ( #6921 )
2023-06-12 22:10:09 +00:00
Deirdre Connolly
8bf2c4be3f
change: Rename tower-batch to tower-batch-control ( #6907 )
2023-06-12 03:59:10 +00:00
dependabot[bot]
286ebdbf8c
build(deps): bump serde from 1.0.163 to 1.0.164 ( #6875 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164 )
---
updated-dependencies:
- dependency-name: serde
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>
2023-06-09 01:50:38 +00:00
Deirdre Connolly
9959a6ce04
Release 1.0.0-rc.9 ( #6821 )
...
* Bump semvers
* Update zebra-utils/README.md
* Updated mainnet checkpoints against commit b7029b8
* Add testnet checkpoints from b7029b8
* Bump zebrad rust-version to 1.70
* rust-version 1.68
Co-authored-by: teor <teor@riseup.net>
* Add CHANGELOG for 1.0.0-rc.9
* Bump estimated release height to within june 7th 2023 utc-4
* Add #6801 to CHANGELOG in anticipation
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update breaking changes in 1.0.0-rc.9 changelog
* changelog: move #6801 to Fix
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Include #6832 in the changelog
* Add missing changes to changelog
* Remove #6801 from known issues in the README
* Use the latest bug template link
---------
Co-authored-by: teor <teor@riseup.net>
2023-06-08 03:44:28 +00:00
dependabot[bot]
815c77870d
build(deps): bump once_cell from 1.17.2 to 1.18.0 ( #6816 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 11:14:53 +00:00
dependabot[bot]
3cf3798927
build(deps): bump chrono from 0.4.25 to 0.4.26 ( #6799 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.25 to 0.4.26.
- [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.25...v0.4.26 )
---
updated-dependencies:
- dependency-name: chrono
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>
2023-06-06 02:04:52 +00:00
Alfredo Garcia
eb07bb31d6
rename(state): Rename state verifiers and related code ( #6762 )
...
* rename verifiers
* rename `PreparedBlock` to `SemanticallyVerifiedBlock`
* rename `CommitBlock` to `SemanticallyVerifiedBlock`
* rename `FinalizedBlock` to `CheckpointVerifiedBlock`
* rename `CommitFinalizedBlock` to `CommitCheckpointVerifiedBlock`
* rename `FinalizedWithTrees` to `ContextuallyVerifiedBlockWithTrees`
* rename `ContextuallyValidBlock` to `ContextuallyVerifiedBlock`
* change some `finalized` variables or function arguments to `checkpoint_verified`
* fix docs
* document the difference between `CheckpointVerifiedBlock` and `ContextuallyVerifiedBlock`
* fix doc links
* apply suggestions to request
Co-authored-by: Marek <mail@marek.onl>
* apply suggestions to service
Co-authored-by: Marek <mail@marek.onl>
* apply suggestions to finalized_state.rs and write.rs
Co-authored-by: Marek <mail@marek.onl>
* fmt
* change some more variable names
* change a few missing generics
* fix checkpoint log issue
* rename more `prepared` vars `semantically_verified`
* fix test regex
* fix test regex 2
---------
Co-authored-by: Marek <mail@marek.onl>
2023-06-01 12:29:03 +00:00
dependabot[bot]
6f8c98123e
build(deps): bump chrono from 0.4.24 to 0.4.25 ( #6775 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.24 to 0.4.25.
- [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.24...v0.4.25 )
---
updated-dependencies:
- dependency-name: chrono
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>
2023-05-30 12:57:25 +00:00
dependabot[bot]
a6f9820aa3
build(deps): bump once_cell from 1.17.1 to 1.17.2 ( #6776 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.1 to 1.17.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.17.2 )
---
updated-dependencies:
- dependency-name: once_cell
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>
2023-05-30 02:02:27 +00:00
dependabot[bot]
61d3c34a78
build(deps): bump tokio from 1.28.1 to 1.28.2 ( #6777 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2 )
---
updated-dependencies:
- dependency-name: tokio
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>
2023-05-29 21:42:30 +00:00
dependabot[bot]
dceed5a893
build(deps): bump proptest from 1.1.0 to 1.2.0 ( #6758 )
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 20:44:16 +00:00
Pili Guerra
ec2e9ca276
Delete outdated `TODOs` refering to closed issues ( #6732 )
...
* ZIPs were updated to remove ambiguity, this was tracked in #1267 .
* #2105 was fixed by #3039 and #2379 was closed by #3069
* #2230 was a duplicate of #2231 which was closed by #2511
* #3235 was obsoleted by #2156 which was fixed by #3505
* #1850 was fixed by #2944 , #1851 was fixed by #2961 and #2902 was fixed by #2969
* We migrated to Rust 2021 edition in Jan 2022 with #3332
* #1631 was closed as not needed
* #338 was fixed by #3040 and #1162 was fixed by #3067
* #2079 was fixed by #2445
* #4794 was fixed by #6122
* #1678 stopped being an issue
* #3151 was fixed by #3934
* #3204 was closed as not needed
* #1213 was fixed by #4586
* #1774 was closed as not needed
* #4633 was closed as not needed
* Clarify behaviour of difficulty spacing
Co-authored-by: teor <teor@riseup.net>
* Update comment to reflect implemented behaviour
Co-authored-by: teor <teor@riseup.net>
* Update comment to reflect implemented behaviour when retrying block downloads
Co-authored-by: teor <teor@riseup.net>
* Update `TODO` to remove closed issue and clarify when we might want to fix
Co-authored-by: teor <teor@riseup.net>
* Update `TODO` to remove closed issue and clarify what we might want to change in future
Co-authored-by: teor <teor@riseup.net>
* Clarify benefits of how we do block verification
Co-authored-by: teor <teor@riseup.net>
* Fix rustfmt errors
---------
Co-authored-by: teor <teor@riseup.net>
2023-05-23 03:33:14 +00:00
teor
3f13072c46
cleanup(rust): Simplify code using closure capture in Rust 2021 edition ( #6737 )
...
* Simplify code using closure capture in Rust 2021 edition
* clippy: manual_next_back and unit_arg
* cargo fmt --all
2023-05-22 19:22:13 +00:00
dependabot[bot]
81e8198ad8
build(deps): bump serde from 1.0.162 to 1.0.163 ( #6678 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.162 to 1.0.163.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163 )
---
updated-dependencies:
- dependency-name: serde
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>
2023-05-16 23:54:09 +00:00
Arya
3779eb19a6
Tests error conversions ( #6665 )
2023-05-16 21:06:46 +00:00