Arya
4ebd7a80d0
add(scan): Adds gRPC reflection and documents how to use the zebra-scan gRPC server ( #8288 )
...
* adds tonic-reflection
* adds listen_addr to log
* Adds user guide for scan server to zebra book
* fixes typo
* Applies suggestions from code review
* update link
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
Co-authored-by: Marek <mail@marek.onl>
2024-02-22 18:51:14 +00:00
Marek
a6f8a9b192
Update `Cargo.lock` ( #8310 )
2024-02-22 01:20:05 +00:00
Arya
a7de137a7a
add(scan): Implement `scan` gRPC method ( #8268 )
...
* Adds scan method
* fix clippy warning
* Skip empty results and don't panic if the gRPC client disconnects
* moves `Results` request above `SubscribeResults` request to avoid duplicate results.
* returns early if there's a send error when sending initial results and updates response type
* move responder buffer size to const
* Adds a snapshot test for the `scan` method
* updates snapshots
2024-02-20 19:16:20 +00:00
dependabot[bot]
a8dcd98b6e
build(deps): bump the prod group with 3 updates ( #8283 )
...
Bumps the prod group with 3 updates: [clap](https://github.com/clap-rs/clap ), [semver](https://github.com/dtolnay/semver ) and [rocksdb](https://github.com/rust-rocksdb/rust-rocksdb ).
Updates `clap` from 4.5.0 to 4.5.1
- [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/clap_complete-v4.5.0...clap_complete-v4.5.1 )
Updates `semver` from 1.0.21 to 1.0.22
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.21...1.0.22 )
Updates `rocksdb` from 0.21.0 to 0.22.0
- [Release notes](https://github.com/rust-rocksdb/rust-rocksdb/releases )
- [Changelog](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-rocksdb/rust-rocksdb/compare/v0.21.0...v0.22.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: rocksdb
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-02-19 18:17:34 +00:00
Alfredo Garcia
fbddec3cb3
test(grpc): Add snapshots ( #8277 )
...
* add grpc snapshot tests
* replaces ScanService with MockService in snapshot tests
* removes dev-dep in zebra-grpc on zebra-scan and updates snapshots
* Apply suggestions from code review
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-02-16 19:41:04 +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
Arya
3929a526e5
add(scan): Implement SubscribeResults request for scan service ( #8253 )
...
* processes SubscribeResults messages
* send tx ids of results to the subscribe channel
* replaces BoxError with Report in scan_range
* adds a watch channel for using subscribed_keys in scan_range
* updates args to process_messages in test
* adds a `subscribe` method to ScanTask for sending a SubscribeResults cmd
* updates test for process_messages to cover subscribe cmds
* impls SubscribeResult service request and updates sender type
* adds test for SubscribeResults scan service request
* adds acceptance test
* updates tests and imports
* fixes acceptance test by using spawn_blocking to avoid blocking async executor and setting an appropriate start height
* fixes test
* Applies suggestions from code review.
* use tokio mpsc channel in scan task instead of std/blocking mpsc
* use tokio mpsc channel for results sender
* adds `was_parsed_keys_empty` instead of checking that all the parsed keys are new keys
* fixes test failures related to send errors in scan task
* returns height and key for scan results from subcribe_results results receiver
* hide scan_service mod in zebra-node-service behind feature
2024-02-13 00:42:40 +00:00
dependabot[bot]
c69befda2f
build(deps): bump the cargo group across 1 directories with 3 updates ( #8263 )
...
Bumps the cargo group with 3 updates in the /. directory: [h2](https://github.com/hyperium/h2 ), [libgit2-sys](https://github.com/rust-lang/git2-rs ) and [shlex](https://github.com/comex/rust-shlex ).
Updates `h2` from 0.3.23 to 0.3.24
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.23...v0.3.24 )
Updates `libgit2-sys` from 0.16.1+1.7.1 to 0.16.2+1.7.2
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/commits )
Updates `shlex` from 1.2.0 to 1.3.0
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/comex/rust-shlex/commits )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
dependency-group: cargo-security-group
- dependency-name: libgit2-sys
dependency-type: indirect
dependency-group: cargo-security-group
- dependency-name: shlex
dependency-type: indirect
dependency-group: cargo-security-group
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 21:42:42 +00:00
Arya
2c0bc3ac92
add(scan): Start scanner gRPC server with `zebrad` ( #8241 )
...
* adds clear_results RPC method for zebra-scan
* adds delete_keys rpc method
* adds docs
* Update zebra-grpc/proto/scanner.proto
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
* Apply suggestions from code review
* start zebra-scan gRPC server from zebrad start command
* adds a test that the scanner starts with zebrad
* adds a `listen_addr` field to the shielded scan config
* updates test to use a random port and set the listen_addr config field
* fixes test
* Update zebra-scan/src/config.rs
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
* fixes panic when trying to open multiple mutable storage instances.
* open db in blocking task
* fixes test
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-02-07 22:36:01 +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
Arya
768eb90722
add(chain): Adds `ViewingKey` type in zebra-chain ( #8198 )
...
* adds/impls types in zebra-chain to be used by the zebra-scan RPC server
* Adds methods for parsing and a test
* adds test for key hash encoding
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
* refactors viewing key type
* refactors/renames for viewing keys
* fixes doc links
* Apply suggestions from code review
* Apply suggestions from code review
* removes ViewingKeyHash and ViewingKeyWithHash types
* removes `to_bytes` methods
* remove outdated method and call
---------
Co-authored-by: Marek <mail@marek.onl>
2024-01-30 20:32:36 +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
Alfredo Garcia
78d33f3e9e
feat(grpc): Add initial `Getinfo` grpc ( #8178 )
...
* add `zebra-grpc` crate
* add missing fields
* convert to a lib
* add zebra-scan and tonic as depenency
* add a getinfo grpc
* remove zebra-scanner dependency
* Adds scan_service field to scanner grpc server
* remove dependency
* test launching the grpc server from the zebra-scan crate (not building)
* fix async issue
* fixes build issues
* add binary for manual testing
* try fix try run
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-01-26 01:29:37 +00:00
Arya
513ace2646
add(scan): Create a tower Service in zebra-scan ( #8185 )
...
* Adds ScanService and ScanTask
* renames ScannerCommand to ScanTaskCommand
* fixes doc errors
* fixes clippy lints
* panic if the scan task finishes unexpectedly
* updates TODOs
---------
Co-authored-by: Marek <mail@marek.onl>
2024-01-24 22:37:03 +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
001555b134
build(crate): Add a new `zebra-grpc` crate ( #8167 )
...
* add `zebra-grpc` crate
* add missing fields
* convert to a lib
* add zebra-scan and tonic as depenency
2024-01-23 23:07:32 +00:00
Alfredo Garcia
2c18835510
chore: Release ( #8187 )
2024-01-23 20:00:38 +00:00
Alfredo Garcia
d45864fa46
feat(remove): Temporally remove the internal miner functionality ( #8184 )
...
* remove functionality of internal miner
* fix configs
* fix typo in comment
* typo
Co-authored-by: Arya <aryasolhi@gmail.com>
* remove internal config for tests to pass
* typo
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-01-23 18:02:52 +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]
e7e3970bfd
build(deps): bump the prod group with 3 updates ( #8158 )
...
Bumps the prod group with 3 updates: [clap](https://github.com/clap-rs/clap ), [vergen](https://github.com/rustyhorde/vergen ) and [zcash_address](https://github.com/zcash/librustzcash ).
Updates `clap` from 4.4.14 to 4.4.16
- [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.14...v4.4.16 )
Updates `vergen` from 8.2.6 to 8.2.10
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.6...8.2.10 )
Updates `zcash_address` from 0.3.0 to 0.3.1
- [Release notes](https://github.com/zcash/librustzcash/releases )
- [Commits](https://github.com/zcash/librustzcash/compare/zcash_address-0.3.0...zcash_address-0.3.1 )
---
updated-dependencies:
- dependency-name: clap
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: zcash_address
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>
Co-authored-by: Marek <mail@marek.onl>
2024-01-15 23:27:00 +00:00
teor
54c702e73c
fix(miner): Avoid some duplicate block errors ( #8150 )
...
* Update to the latest equihash solver code
* Wait for a new template after mining a block
* Remove an unused import
* Another solver update
2024-01-12 06:19:05 +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
Arya
704f88eb41
build(deps): bump `jsonrpc` from 0.16.0 to 0.17.0 ( #8139 )
...
* bump jsonrpc minor version
* update use of jsonrpc
2024-01-08 21:01:16 +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
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
dependabot[bot]
2dcc873337
build(deps): bump zerocopy from 0.7.30 to 0.7.31 ( #8111 )
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.30 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/compare/v0.7.30...v0.7.31 )
---
updated-dependencies:
- dependency-name: zerocopy
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 07:03:57 +00:00
Marek
8f090e605d
Add a scanning results reader ( #8104 )
...
* Add a scanning results reader
* Simplify intro & titles in `zebra-utils/README.md`
* Add a tutorial for the scanning results reader
* Reformat `zebra-utils/Cargo.toml`
Co-authored-by: teor <teor@riseup.net>
* Update `zebra-utils/README.md`
Co-authored-by: teor <teor@riseup.net>
* standard grouping
Co-authored-by: teor <teor@riseup.net>
* Add a comment on a first empty memo
Co-authored-by: teor <teor@riseup.net>
* Use `exactly_one()` instead of `next()`
* Simplify various type conversions
---------
Co-authored-by: teor <teor@riseup.net>
2023-12-14 23:19:35 +00:00
teor
3318eaaa22
test(scan): Add raw database format snapshots to the scanner ( #8075 )
...
* Make some scanner storage methods more flexible
* Move tests to a submodule and expose test functions and constants
* Make scanner functions clearer and easier to use
* Simplify state snapshot test code
* Add raw data snapshot tests for the scanner
* Add snapshots
* Fix import path
* Fix import conditional compilation
* fix imports
* fix imports 2
* Put read and write db exports together
* Remove confusing IntoDisk/FromDisk impl
* Fix an incorrect unused method that could panic
* Delete a test that is no longer valid
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-12-12 07:45:12 +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
Arya
b0b8b1a028
cargo update ( #8086 )
2023-12-11 23:39:01 +00:00
Marek
7c6a0f8388
change(scan): Refactor scanning tests ( #8047 )
...
* Derive & impl helper traits from `std`
* Create `compact_to_v4` fn
* Create `fake_block` fn
* Refactor existing tests to use the new functions
* Cosmetics
* Refactor docs
* Put `Default` behind `cfg_attr(test)`
Rationale
---------
We avoid implementing `Default` on consensus-critical types because it's
easy to miss an incorrect use in a review. It's easy to hide a
`default()` in a call like `unwrap_or_default()` or even more subtle
methods.
---------
Co-authored-by: teor <teor@riseup.net>
2023-12-06 01:57:01 +00:00
teor
4306a00f3c
Scan blocks with sapling keys and write the results to the database ( #8040 )
...
* Fix availability of tokio::time in scanner
* Create a function that parses a key into a list of keys
* Pass a ChainTipChange to the scanner function
* Convert a scanned block to a sapling result
* Make it easier to pass keys and blocks
* Increase scanner wait times
* Parse keys once at the start of the scan
* Get a block from the state instead of the tip
* Don't log secret keys, only log every 100,000 blocks
* Scan each block and add the results to storage
* Move blocking tasks into spawn_blocking()
* Update the acceptance test
* Use a dummy sapling tree size
* Use a larger dummy size
2023-12-03 21:58:48 +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]
9a57cec110
build(deps): bump the prod group with 2 updates ( #8026 )
...
Bumps the prod group with 2 updates: [clap](https://github.com/clap-rs/clap ) and [sentry](https://github.com/getsentry/sentry-rust ).
Updates `clap` from 4.4.9 to 4.4.10
- [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.9...v4.4.10 )
Updates `sentry` from 0.31.8 to 0.32.0
- [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.8...0.32.0 )
---
updated-dependencies:
- dependency-name: clap
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-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-29 03:16:31 +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
0f24c311a4
feat(zebra-scan): Connect with zebrad ( #7989 )
...
* connect zebrad with zebra-scan
* remove unwrap
* use tokio::sleep
* fix the task handler
* Don't panic on an empty state
---------
Co-authored-by: teor <teor@riseup.net>
2023-11-27 12:52:48 +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
Alfredo Garcia
a22c8d5f42
feat(config): Allow to add keys to be scanned by the zebra-scan crate to config ( #7949 )
...
* allow user to add sapling keys to config
* apply code review suggestions
Co-authored-by: teor <teor@riseup.net>
---------
Co-authored-by: teor <teor@riseup.net>
2023-11-16 01:32:22 +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
Alfredo Garcia
86e468f3b0
poc(scanner): get started with the blockchain scanner proof of concept ( #7758 )
...
* get started with the blockchain scanner poc
* rustfmt
* fix the tests
* Reads blocks from db
* Adds conversion functions
* scans blocks and counts transactions
* fix bug
* split into 2 tests
* add duplicated dependencies to deny.toml
* upgrade zebra-scanner version
* try removing ecc duplicated dependencies
* try fix deny.toml
* remove unintended paste from deny.toml
* remove duplicated code from the other test
* remove strict version of `zcash_primitives` crate
* change description
* remove feture
* remove tokio features
* change lib doc
* add more documentation
* change expect
* do not use default in compact block creation
* more docs
* add more checks to test
* remove zebra-consensus dependency
* move all deps to dev-deps
* change crate version
* rename crate to zebra-scan
* lock file
* ifix cargo.lock
* remove internal dev dependencies versions
Co-authored-by: teor <teor@riseup.net>
* fix docs url
Co-authored-by: teor <teor@riseup.net>
* fix expect messages
Co-authored-by: teor <teor@riseup.net>
* remove duplicated in deny.toml
Co-authored-by: teor <teor@riseup.net>
* add a comment about moving code to production
---------
Co-authored-by: arya2 <aryasolhi@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2023-11-08 22:05:51 +00:00
dependabot[bot]
2efc6bf4b2
build(deps): bump the prod group with 1 update ( #7915 )
...
Bumps the prod group with 1 update: [vergen](https://github.com/rustyhorde/vergen ).
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.5...8.2.6 )
---
updated-dependencies:
- dependency-name: vergen
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-07 19:30:58 +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
b78c9dd802
change(deps): `cargo update` on commit bd06294
on 2023-11-01 ( #7885 )
...
* `cargo update` on commit bd06294
on 2023-11-01
```
Updating crates.io index
Updating ahash v0.8.3 -> v0.8.6
Updating async-trait v0.1.73 -> v0.1.74
Updating base64 v0.21.4 -> v0.21.5
Adding bindgen v0.68.1
Adding const-oid v0.9.5
Updating cpufeatures v0.2.9 -> v0.2.11
Updating curve25519-dalek-derive v0.1.0 -> v0.1.1
Updating cxx-gen v0.7.109 -> v0.7.110
Adding der v0.7.8
Updating deranged v0.3.8 -> v0.3.9
Updating ed25519 v2.2.2 -> v2.2.3
Updating fiat-crypto v0.2.1 -> v0.2.2
Updating hashbrown v0.14.1 -> v0.14.2
Updating hyper-rustls v0.24.1 -> v0.24.2
Updating iana-time-zone v0.1.57 -> v0.1.58
Updating indexmap v2.0.2 -> v2.1.0
Updating ipnet v2.8.0 -> v2.9.0
Updating mio v0.8.8 -> v0.8.9
Updating parking_lot_core v0.9.8 -> v0.9.9
Updating pest v2.7.4 -> v2.7.5
Updating pest_derive v2.7.4 -> v2.7.5
Updating pest_generator v2.7.4 -> v2.7.5
Updating pest_meta v2.7.4 -> v2.7.5
Adding pkcs8 v0.10.2
Updating portable-atomic v1.4.3 -> v1.5.1
Adding powerfmt v0.2.0
Removing redox_syscall v0.3.5
Updating rgb v0.8.36 -> v0.8.37
Adding ring v0.17.5
Updating rustls v0.21.7 -> v0.21.8
Updating rustls-webpki v0.101.6 -> v0.101.7
Updating sct v0.7.0 -> v0.7.1
Removing socket2 v0.4.9
Removing socket2 v0.5.4
Adding socket2 v0.4.10
Adding socket2 v0.5.5
Adding spki v0.7.2
Updating time v0.3.29 -> v0.3.30
Updating toml v0.8.3 -> v0.8.6
Updating toml_datetime v0.6.4 -> v0.6.5
Updating toml_edit v0.20.3 -> v0.20.7
Updating tracing-log v0.1.3 -> v0.1.4
Adding untrusted v0.9.0
Updating uuid v1.4.1 -> v1.5.0
Removing windows v0.48.0
Adding windows-core v0.51.1
Updating winnow v0.5.16 -> v0.5.18
Adding zerocopy v0.7.21
Adding zerocopy-derive v0.7.21
```
* Allow duplicate ring dependency in hdwallet
* Remove an unused import warning
2023-11-01 18:26:16 +00:00
dependabot[bot]
bd062941b9
build(deps): bump the prod group with 2 updates ( #7881 )
...
Bumps the prod group with 2 updates: [clap](https://github.com/clap-rs/clap ) and [serde_json](https://github.com/serde-rs/json ).
Updates `clap` from 4.4.6 to 4.4.7
- [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.6...v4.4.7 )
Updates `serde_json` from 1.0.107 to 1.0.108
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108 )
---
updated-dependencies:
- dependency-name: clap
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
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 13:15:47 +00:00
dependabot[bot]
b0555c0e61
build(deps): bump the test group with 1 update ( #7876 )
...
* build(deps): bump the test group with 1 update
Bumps the test group with 1 update: [tempfile](https://github.com/Stebalien/tempfile ).
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
* add duplicated dependency
---------
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-10-30 22:08:34 +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
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