dependabot[bot]
8b8a7a4ac5
build(deps): bump the devops group with 2 updates ( #8720 )
...
Bumps the devops group with 2 updates: [docker/login-action](https://github.com/docker/login-action ) and [docker/build-push-action](https://github.com/docker/build-push-action ).
Updates `docker/login-action` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3.2.0...v3.3.0 )
Updates `docker/build-push-action` from 6.4.1 to 6.5.0
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.4.1...v6.5.0 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 14:10:05 +00:00
dependabot[bot]
7b0c1adb62
build(deps): bump the prod group with 5 updates ( #8726 )
...
* build(deps): bump the prod group with 5 updates
Bumps the prod group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.10` | `4.5.11` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.15` | `0.8.16` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.39.0` | `1.39.2` |
| [console-subscriber](https://github.com/tokio-rs/console ) | `0.3.0` | `0.4.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.120` | `1.0.121` |
Updates `clap` from 4.5.10 to 4.5.11
- [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.10...clap_complete-v4.5.11 )
Updates `toml` from 0.8.15 to 0.8.16
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.15...toml-v0.8.16 )
Updates `tokio` from 1.39.0 to 1.39.2
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.0...tokio-1.39.2 )
Updates `console-subscriber` from 0.3.0 to 0.4.0
- [Release notes](https://github.com/tokio-rs/console/releases )
- [Changelog](https://github.com/tokio-rs/console/blob/main/release-plz.toml )
- [Commits](https://github.com/tokio-rs/console/compare/console-subscriber-v0.3.0...console-subscriber-v0.4.0 )
Updates `serde_json` from 1.0.120 to 1.0.121
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121 )
---
updated-dependencies:
- dependency-name: clap
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-patch
dependency-group: prod
- dependency-name: console-subscriber
dependency-type: direct:production
update-type: version-update:semver-minor
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>
* cargo vet
---------
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-07-30 00:15:26 +00:00
Arya
988dd55e48
change(network-params): Configurable Testnet funding streams ( #8718 )
...
* Addresses clippy lints
* checks network magic and returns early from `is_regtest()`
* Moves `subsidy.rs` to `zebra-chain`, refactors funding streams into structs, splits them into pre/post NU6 funding streams, and adds them as a field on `testnet::Parameters`
* Replaces Vec with HashMap, adds `ConfiguredFundingStreams` type and conversion logic with constraints.
Minor refactors
* Empties recipients list
* Adds a comment on num_addresses calculation being invalid for configured Testnets, but that being okay since configured testnet parameters are checked when they're being built
* Documentation fixes, minor cleanup, renames a test, adds TODOs, and fixes test logic
* Removes unnecessary `ParameterSubsidy` impl for &Network, adds docs and TODOs
---------
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
2024-07-29 16:15:09 +00:00
Arya
14f473d1ea
Adds timeouts tonic clients in tests ( #8724 )
2024-07-27 15:20:47 +00:00
dependabot[bot]
4f6c4aeaa1
build(deps): bump the prod group across 1 directory with 8 updates ( #8717 )
...
* build(deps): bump the prod group across 1 directory with 8 updates
Bumps the prod group with 8 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.9` | `4.5.10` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.14` | `0.8.15` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.38.1` | `1.39.0` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.62` | `1.0.63` |
| [tonic](https://github.com/hyperium/tonic ) | `0.12.0` | `0.12.1` |
| [tonic-build](https://github.com/hyperium/tonic ) | `0.12.0` | `0.12.1` |
| [tonic-reflection](https://github.com/hyperium/tonic ) | `0.12.0` | `0.12.1` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.71` | `2.0.72` |
Updates `clap` from 4.5.9 to 4.5.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/clap_complete-v4.5.9...v4.5.10 )
Updates `toml` from 0.8.14 to 0.8.15
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15 )
Updates `tokio` from 1.38.1 to 1.39.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.39.0 )
Updates `thiserror` from 1.0.62 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
Updates `tonic` from 0.12.0 to 0.12.1
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.0...v0.12.1 )
Updates `tonic-build` from 0.12.0 to 0.12.1
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.0...v0.12.1 )
Updates `tonic-reflection` from 0.12.0 to 0.12.1
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.0...v0.12.1 )
Updates `syn` from 2.0.71 to 2.0.72
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.71...2.0.72 )
---
updated-dependencies:
- dependency-name: clap
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: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tonic-reflection
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
* cargo vet
---------
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: Arya <aryasolhi@gmail.com>
2024-07-26 20:19:38 +00:00
Arya
6181ebe239
Addresses clippy lints ( #8723 )
2024-07-26 14:29:35 +00:00
dependabot[bot]
0fdd26431e
build(deps): bump the prod group across 1 directory with 15 updates ( #8692 )
...
* build(deps): bump the prod group across 1 directory with 15 updates
Bumps the prod group with 15 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.8` | `4.5.9` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.38.0` | `1.38.1` |
| [tinyvec](https://github.com/Lokathor/tinyvec ) | `1.7.0` | `1.8.0` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.61` | `1.0.62` |
| [inferno](https://github.com/jonhoo/inferno ) | `0.11.19` | `0.11.20` |
| [hyper](https://github.com/hyperium/hyper ) | `0.14.29` | `1.3.1` |
| [metrics-exporter-prometheus](https://github.com/metrics-rs/metrics ) | `0.15.1` | `0.15.3` |
| [prost](https://github.com/tokio-rs/prost ) | `0.12.6` | `0.13.1` |
| [tonic](https://github.com/hyperium/tonic ) | `0.11.0` | `0.12.0` |
| [vergen](https://github.com/rustyhorde/vergen ) | `8.3.1` | `8.3.2` |
| [tonic-build](https://github.com/hyperium/tonic ) | `0.11.0` | `0.12.0` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.8.3` | `3.9.0` |
| [bytes](https://github.com/tokio-rs/bytes ) | `1.6.0` | `1.6.1` |
| [tonic-reflection](https://github.com/hyperium/tonic ) | `0.11.0` | `0.12.0` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.69` | `2.0.71` |
Updates `clap` from 4.5.8 to 4.5.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/clap_complete-v4.5.8...v4.5.9 )
Updates `tokio` from 1.38.0 to 1.38.1
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1 )
Updates `tinyvec` from 1.7.0 to 1.8.0
- [Changelog](https://github.com/Lokathor/tinyvec/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Lokathor/tinyvec/compare/v1.7.0...v1.8.0 )
Updates `thiserror` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62 )
Updates `inferno` from 0.11.19 to 0.11.20
- [Changelog](https://github.com/jonhoo/inferno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.11.19...v0.11.20 )
Updates `hyper` from 0.14.29 to 1.3.1
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.29...v1.3.1 )
Updates `metrics-exporter-prometheus` from 0.15.1 to 0.15.3
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-exporter-prometheus-v0.15.1...metrics-exporter-prometheus-v0.15.3 )
Updates `prost` from 0.12.6 to 0.13.1
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.6...v0.13.1 )
Updates `tonic` from 0.11.0 to 0.12.0
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.11.0...v0.12.0 )
Updates `vergen` from 8.3.1 to 8.3.2
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/commits )
Updates `tonic-build` from 0.11.0 to 0.12.0
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.11.0...v0.12.0 )
Updates `serde_with` from 3.8.3 to 3.9.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0 )
Updates `bytes` from 1.6.0 to 1.6.1
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.6.0...v1.6.1 )
Updates `tonic-reflection` from 0.11.0 to 0.12.0
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.11.0...v0.12.0 )
Updates `syn` from 2.0.69 to 2.0.71
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.69...2.0.71 )
---
updated-dependencies:
- dependency-name: clap
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: tinyvec
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: thiserror
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: hyper
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: prod
- dependency-name: metrics-exporter-prometheus
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: prost
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: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tonic-reflection
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
* make changes for hyper 1.0
* unrelated clippy
* fix panic
* update denies
* add missing deny.toml
* add more denies for all features
* add timeout feature to tower in zebra-grpc
* cargo vet
* cargo vet prune
* codespell
* change waiting message
* remove hyper direct dependency from zebra-rpc
* fix doc typos
* simplify tracing endpoint
---------
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-07-23 15:44:31 +00:00
ying tong
c3334cec5b
Update lightwalletd.md ( #8714 )
2024-07-23 12:34:37 +00:00
Conrado Gouvea
4cbf442f91
config, docs: update hardcoded users ( #8710 )
2024-07-22 17:00:32 +00:00
Arya
42b298b074
add(network-params): Allow configuring NU6 activation height on Regtest ( #8700 )
...
* Allows configuration for regtest nu6 activation height
* Adds test config
2024-07-22 11:36:35 +00:00
dependabot[bot]
6436bf67af
build(deps): bump docker/build-push-action in the devops group ( #8698 )
...
Bumps the devops group with 1 update: [docker/build-push-action](https://github.com/docker/build-push-action ).
Updates `docker/build-push-action` from 6.3.0 to 6.4.1
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.3.0...v6.4.1 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-20 18:21:08 +00:00
Arya
6b9b9942bf
Adds `full_activation_list()` method and uses it in `getblockchaininfo` ( #8699 )
2024-07-20 00:40:29 +00:00
Conrado Gouvea
bbb710f24c
config, docs: update hardcoded users ( #8703 )
2024-07-19 21:43:09 +00:00
Marek
f9066aedc0
add(chain): Add an NU6 network upgrade variant ( #8693 )
...
* Revise docs for network upgrades
* Add a NU6 enum variant
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-07-18 17:49:24 +00:00
Alfredo Garcia
61746f2095
docs(blockchain-scanner): Update documentation for the new `zebra-scanner` binary ( #8675 )
...
* validate zebrad cache dir
* update scanner documentation
* clippy
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
* add info level by default to scanner application
* remove `RUST_LOG=info` from some of the test examples on how to run
* remove `RUST_LOG=info` from the book sample
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-07-16 23:35:02 +00:00
Arya
14463a7f5d
add(rpc): Add a tonic server in zebra-rpc ( #8674 )
...
* adds a tonic server
* Adds a test stub, moves method impls to their own modules, minor fixes.
* Moves indexer rpc mod behind a feature, adds a config field for its listen address, and initializes the indexer RPC when zebrad starts
* Skips tonic_build() in zebra-rpc build script unless indexer-rpcs feature is selected, simplifies indexer.proto file, makes tonic deps optional
* formats zebra-rpc Cargo.toml
* Adds tokio_stream dependency, adds chain_tip_change field to IndexerRPC, and implements a simple version of the chain_tip_change RPC method
* passes latest chain tip to indexer::server::init from start cmd and updates vectors test
* Update zebra-rpc/src/config.rs
* fixes a race condition in trusted_chain_sync_handles_forks_correctly
2024-07-16 12:25:31 +00:00
Alfredo Garcia
1238ec0c63
tests(scanner): Move zebra scanner tests to binary ( #8659 )
...
* readd the scanner tests in the new binary context
* remove commented out tests from zebrad
* add Cargo.lock
* add local copy of `ZECPAGES_SAPLING_VIEWING_KEY` to binary scanning tests
* moves scanner-results-reader to zebra-scan, adds zebrad bin to zebra-scan, adds a short sleep before trying to connect to gRPC server in test
* always include zebrad dependency in zebra-scan
* renames zebrad bin in zebra-scan to zebrad-for-scanner
* skip test when a cached state is missing
* remove scanning config from zebrad
* move `scan_task_commands` out of zebrad acceptance tests
* remove scanner config from zebrad
* do not panic if env var is not there
* re enable start_scan_where left, remove shielded-scan feature foir scanning tests in CI
* change app names
* uncomment test
* fix the scanner tests in CI by changing the test command
* add log needed by CI?
* move test
* rename trait, docs fix
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-07-15 21:15:04 +00:00
dependabot[bot]
f3c2e1971d
build(deps): bump the prod group across 1 directory with 11 updates ( #8664 )
...
* build(deps): bump the prod group across 1 directory with 11 updates
Bumps the prod group with 11 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.7` | `4.5.8` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.203` | `1.0.204` |
| [tinyvec](https://github.com/Lokathor/tinyvec ) | `1.6.1` | `1.7.0` |
| [metrics](https://github.com/metrics-rs/metrics ) | `0.22.3` | `0.23.0` |
| [metrics-exporter-prometheus](https://github.com/metrics-rs/metrics ) | `0.14.0` | `0.15.1` |
| [log](https://github.com/rust-lang/log ) | `0.4.21` | `0.4.22` |
| [proptest-derive](https://github.com/proptest-rs/proptest ) | `0.4.0` | `0.5.0` |
| [console-subscriber](https://github.com/tokio-rs/console ) | `0.2.0` | `0.3.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.118` | `1.0.120` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.8.1` | `3.8.3` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.68` | `2.0.69` |
Updates `clap` from 4.5.7 to 4.5.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/clap_complete-v4.5.7...v4.5.8 )
Updates `serde` from 1.0.203 to 1.0.204
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204 )
Updates `tinyvec` from 1.6.1 to 1.7.0
- [Changelog](https://github.com/Lokathor/tinyvec/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Lokathor/tinyvec/compare/v1.6.1...v1.7.0 )
Updates `metrics` from 0.22.3 to 0.23.0
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-v0.22.3...metrics-v0.23.0 )
Updates `metrics-exporter-prometheus` from 0.14.0 to 0.15.1
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-exporter-prometheus-v0.14.0...metrics-exporter-prometheus-v0.15.1 )
Updates `log` from 0.4.21 to 0.4.22
- [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.21...0.4.22 )
Updates `proptest-derive` from 0.4.0 to 0.5.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/0.4.0...proptest-derive-0.5.0 )
Updates `console-subscriber` from 0.2.0 to 0.3.0
- [Release notes](https://github.com/tokio-rs/console/releases )
- [Changelog](https://github.com/tokio-rs/console/blob/main/release-plz.toml )
- [Commits](https://github.com/tokio-rs/console/compare/console-subscriber-v0.2.0...console-subscriber-v0.3.0 )
Updates `serde_json` from 1.0.118 to 1.0.120
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.118...v1.0.120 )
Updates `serde_with` from 3.8.1 to 3.8.3
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.8.1...v3.8.3 )
Updates `syn` from 2.0.68 to 2.0.69
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.68...2.0.69 )
---
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: tinyvec
dependency-type: direct:production
update-type: version-update:semver-minor
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: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: proptest-derive
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: console-subscriber
dependency-type: direct:production
update-type: version-update:semver-minor
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: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
* remove multiple log levels to zebrad
* cargo vet update
* keep features for tracing
---------
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-07-10 18:49:12 +00:00
dependabot[bot]
ab7c4906a7
build(deps): bump the devops group across 1 directory with 4 updates ( #8670 )
...
Bumps the devops group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout ), [codecov/codecov-action](https://github.com/codecov/codecov-action ), [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install ) and [docker/build-push-action](https://github.com/docker/build-push-action ).
Updates `actions/checkout` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7 )
Updates `codecov/codecov-action` from 4.4.1 to 4.5.0
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.4.1...v4.5.0 )
Updates `baptiste0928/cargo-install` from 3.1.0 to 3.1.1
- [Release notes](https://github.com/baptiste0928/cargo-install/releases )
- [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md )
- [Commits](https://github.com/baptiste0928/cargo-install/compare/v3.1.0...v3.1.1 )
Updates `docker/build-push-action` from 5.3.0 to 6.3.0
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5.3.0...v6.3.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
- dependency-name: baptiste0928/cargo-install
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 18:49:09 +00:00
Alfredo Garcia
a94b2be0bb
feat(scanner): Add a new `zebra-scanner` binary ( #8608 )
...
* add a new `zebra-scanner` binary
* update arguments
* allow birthday in config
* remove required feature
* add `env-filter` feature to `tracing-subscriber` dependency
* use sync task
* codespell
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-07-09 18:50:26 +00:00
Arya
4213e82a4f
change(rpc): Adds a TrustedChainSync struct for keeping up with Zebra's non-finalized best chain from a separate process ( #8596 )
...
* Adds an init_read_only() fn in zebra-state
* moves elasticsearch initialization to `FinalizedState::new_with_debug()`
* Updates callers of `FinalizedState::{new, new_with_debug}` to pass a bool to try enabling elasticsearch
* Adds a non-finalized read state syncer to zebra-rpc
* moves, removes, updates, or addresses TODOs
* reduces disk IO while waiting for the a new chain tip & updates the chain tip sender when the finalized tip has changed.
* Returns boxed errors from RpcRequestClient methods instead of color_eyre type
* Avoids resetting the non-finalized state when there's an error getting a block unless it has the missing block error code.
* Adds stub for acceptance test(s) and removes outdated TODO
* adds TODOs for testing
* Tests that `ChainTipChange` is updated when the non-finalized best chain grows
* adds a last_chain_tip_hash and uses a FuturesOrdered for getblock requests
* Fixes a pre-flush sync issue by using a secondary db instead of a read-only db
* Moves disk IO to blocking tasks
* Updates acceptance test to how forks are handled
* Checks synced read state for all of the expected blocks
* checks that there isn't a tip change until the best chain changes
* checks for chain tip changes in test
* run test without feature
* fixes lint
* Fixes compilation/test issues
* Adds docs / comments, moves HexData out from behind the getblocktemplate-rpcs feature flag, moves test behind the mining feature flag.
* Fixes lints
* removes syncer and rpc-syncer features
* Fixes test on Windows, applies suggestions from code review
* Updates `POLL_DELAY` documentation
* Updates method docs
* Fixes a test bug
* use rpc-client feature in zebrad production code
* use rpc-client feature in zebra-node-services for building zebra-rpc crate
---------
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-07-09 14:15:47 +00:00
Arya
2419e8a342
read RPC port from logs in `regtest_submit_blocks()` test ( #8665 )
2024-07-08 23:12:23 +00:00
Arya
09935bb433
Use an OS-assigned port in the non-blocking logger test's zebrad testchild config and read the RPC port from Zebra's logs ( #8658 )
...
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
2024-07-08 10:47:49 +00:00
Marek
0d8b10b95f
chore: Release v1.8.0 ( #8655 )
...
* Update `CHANGELOG.md`
* chore: Release
* Update versions in the release dry-run workflow
* Update EOS
* Estimate release height to ~ upcoming Tuesday
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
* Add a "Summary" title to the changelog
* Remove the summary title
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-07-02 16:46:49 +00:00
Marek
5ff2563542
Refactor `README.md` and docs ( #8654 )
...
* Move "Known Issues" from README to the book
* Remove an old note from the book
* Move optional configs & features to the book
* Fix TOC in `README.md`
* Refactor the section on installing Zebra
* Fix badges in `README.md`
* Mention optional features and troubleshooting
2024-06-29 00:11:06 +00:00
Arya
ecdc8c3b0b
increase expected height in checkpoint test ( #8656 )
2024-06-28 16:43:06 +00:00
Arya
979ed0d720
add(book): Describes custom Testnets in the Zebra book ( #8636 )
...
* Adds documention to the Zebra book about custom Testnets, allows for configuring custom Testnet genesis hashes, refactors check for compatible custom Testnets, adds a TODO, and uses the default testnet when there's an empty or default `testnet_parameters` field in Zebra's network config.
* Adds example configs to custom Testnet docs, moves note about inbound connections on Regtest to a footnote.
* Adds a changelog entry
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
* Addresses suggestions from code review.
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
* Update book/src/user/custom-testnets.md
---------
Co-authored-by: Marek <mail@marek.onl>
2024-06-28 00:33:17 +00:00
Marek
3b49f4212b
chore: Update checkpoints ( #8652 )
...
* Update Mainnet checkpoints
* Update Testnet checkpoints
2024-06-27 23:37:59 +00:00
Arya
549a7bb599
change(consensus): Lower mandatory checkpoint height ( #8629 )
...
* Lowers the mandatory checkpoint height to the block before Canopy activation
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2024-06-27 16:16:23 +00:00
Marek
d1a9004b32
change(chain): Drop transactions with unpaid actions ( #8638 )
...
* Set unpaid action limit to 0
* Update changelog
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
* Rephrase a note on mempool checks
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-06-25 22:39:51 +00:00
Marek
8ef0c0185c
chore: Manually update dependencies ( #8643 )
...
* Remove unneeded deps from `deny.toml`
* Run `cargo update`
* Re-add some deps to `deny.toml`
2024-06-25 22:39:48 +00:00
Arya
d6b4588411
change(deps): Initializes `cargo vet` in Zebra ( #8641 )
...
* Initializes cargo vet in Zebra
* adds audits from zcash/zcashd, google, and mozilla as trusted audits
2024-06-25 14:03:23 +00:00
Alfredo Garcia
76bad07c68
add(support): Include Windows as a tier2 supported platform ( #8637 )
...
* add windows to tier2 supported platforms document
* add changelog entry
2024-06-24 20:09:57 +00:00
Arya
fb424220a8
fix(tests): Address port conflict issues and enable related Windows tests ( #8624 )
...
* Uses an OS-assigned port when testing rpc_server_spawn
* reads port from logs and enables 2 acceptance tests on Windows
* generalizes read listen addr from logs fn and re-enables another test
* updates zebra-grpc snapshot tests to use OS-assigned port
* Re-enable grpc vectors tests on Windows while avoiding port conflicts
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-06-21 14:32:33 +00:00
Gustavo Valverde
df10c75caf
fix(ci): do not silently fail integration tests ( #8631 )
2024-06-20 22:26:17 +00:00
Alfredo Garcia
bf6ec7628b
fix(openapi): Add defaults to rpc methods where needed ( #8616 )
...
* add defaults for `getpeerinfo` and `getblocksubsidy`
* add default for `getmininginfo`
* add default to `getblockcount`
* add defaults to `getaddressbalance`, `getaddressutxos` and `getaddresstxids`
* add defaults to `validateaddress` and `z_validateaddress`
* add defaults to `getrawmempool` and `getdifficulty`
* add defaults to `sendrawtransaction` and `getrawtransaction`
* add defaults for `getnetworksolps` and `getnetworkhashps`
* add defaults for `submitblock` and `z_listunifiedreceivers`
* refactor and cleanup
* update spec
* add random request id
* add min transaction size to `GetRawTransaction` default
* improve `GetSubtrees` default
* change type to request id
* get new spec
* add a TODO
* add changelog entry
2024-06-20 14:25:31 +00:00
Marek
95e4d0973c
chore: Bump `zcash_primitives`, `orchard` and `zcash_proofs` ( #8615 )
...
* Bump ECC deps
* Remove customizable HRPs
* Update changelog
* Update CHANGELOG.md
Co-authored-by: Arya <aryasolhi@gmail.com>
* Update `Cargo.lock`
* Bump `orchard` from to 0.8 in `zebra-consensus`
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-06-19 16:31:27 +00:00
dependabot[bot]
2d86f5d1aa
build(deps): bump curve25519-dalek in the cargo group ( #8625 )
...
Bumps the cargo group with 1 update: [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ).
Updates `curve25519-dalek` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3 )
---
updated-dependencies:
- dependency-name: curve25519-dalek
dependency-type: indirect
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 12:48:15 +00:00
Conrado Gouvea
3650442ad8
zebra_script: update to new zcash_script callback API ( #8566 )
...
* zebra_script: change to use new zcash_script callback API
* add precomputation
* cleanups
* use released zcash_script
* fix clippy error
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
* improve docs
* use tuple instead of two Option params
---------
Co-authored-by: Marek <mail@marek.onl>
2024-06-19 12:48:12 +00:00
Marek
c6f575319d
fix: Stop using `displaydoc` ( #8614 )
...
* Stop using `displaydoc`
* Fix comment alignment
This commit is unrelated to the solution in this branch. There's a new
lint that produces a warning when lists in comments are not aligned well.
2024-06-17 15:10:41 +00:00
Marek
8f27d972fa
chore: Update the PR template ( #8591 )
...
* Fix TOC in `CONTRIBUTING.md`
* Refactor PR template
* Edit the PR reviewer's checklist
* Unrelated: fix spelling
* Simplify the checklists
2024-06-15 14:28:14 +00:00
Alfredo Garcia
791e863029
fix(openapi): Remove trailing characters in descriptions ( #8597 )
...
* remove trailing characters in descriptions
* add changelog entry
2024-06-15 12:38:32 +00:00
Alfredo Garcia
0e6eee373e
fix typos ( #8612 )
2024-06-14 18:29:21 +00:00
Alfredo Garcia
f2bc02726c
use constant ( #8611 )
2024-06-14 16:21:44 +00:00
Marek
736f5f5415
change(scan): Remove support for starting the scanner at `zebrad` startup ( #8594 )
...
* Remove code that starts the scanner
* Update CHANGELOG
* Disable tests of the scanner
* Disable scanning tests in CI
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-06-12 18:39:00 +00:00
Arya
1b5f9426f9
change(state): Add an init function for a standalone `ReadStateService` ( #8595 )
...
* Adds an init_read_only() fn in zebra-state
* moves elasticsearch initialization to `FinalizedState::new_with_debug()`
* Updates callers of `FinalizedState::{new, new_with_debug}` to pass a bool to try enabling elasticsearch
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-06-12 13:35:13 +00:00
Gustavo Valverde
139e1c3ed7
feat(build): use Docker Build Cloud for image build ( #8374 )
...
* feat(build): use Docker Build Cloud for image build
* fix(build): secrets, runner and conditional login
* ref(build): avoid using an external cache with Docker Build Cloud
* fix(build): `buildx` setup must be after registry login
* fix: merge
* fix(login): always login to Docker
* fix(build): remove extra build steps
2024-06-12 12:18:18 +00:00
Marek
158d6879fc
fix: General conditional compilation attributes ( #8602 )
...
* Remove general conditional compilation flags
See https://blog.rust-lang.org/2024/05/06/check-cfg.html
The conditional compilation flags for tor were superfluous as we can
make do fine with using only features.
* Update changelog
* Add `tokio_unstable` to to `unexpected_cfgs`
* Update changelog
* Fix `tokio_unstable` in `zebrad`
2024-06-12 01:04:30 +00:00
Gustavo Valverde
55c69929c5
ref(ci): Use a single CI workflow for tests ( #8575 )
...
* ref(ci): Use a single CI workflow for tests
This is an initial implementation to solve the re-building of our Docker image, which is being built multiple times by our Github Actions.
This is meant to fix -> devops: Build CI Docker runs twice for every PR #7816
* fix(patch): use correct name reference
* chore: reduce diff with correct sentence
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
* fix(rules): revert job names, to avoid creating an extra rule
* Update .github/workflows/ci-tests.patch.yml
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2024-06-10 22:51:33 +00:00
dependabot[bot]
8437fdbdfa
build(deps): bump the devops group with 2 updates ( #8590 )
...
Bumps the devops group with 2 updates: [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) and [reviewdog/action-actionlint](https://github.com/reviewdog/action-actionlint ).
Updates `tj-actions/changed-files` from 44.5.1 to 44.5.2
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v44.5.1...v44.5.2 )
Updates `reviewdog/action-actionlint` from 1.47.0 to 1.48.0
- [Release notes](https://github.com/reviewdog/action-actionlint/releases )
- [Commits](https://github.com/reviewdog/action-actionlint/compare/v1.47.0...v1.48.0 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: reviewdog/action-actionlint
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-05 19:58:40 +00:00