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
Alfredo Garcia
92758a0d9f
feat(scanner): Restart scanning where left ( #8080 )
...
* start scanner where it was left
* fix tests
* add a `scan_start_where_left` test
* refactor a log msg
* fix some comments
* remove function
* fix doc comment
* clippy
* fix `sapling_keys_and_last_scanned_heights()`
* simplify start height
* i went too far, revert some changes back
* change log info to every 10k blocks
* fix build
* Update height snapshot code and check last height is consistent
* Add strictly before and strictly after database key gets
* Move to the previous key using strictly before ops
* Assert that keys are only inserted once
* Update the index in each loop
* Update snapshots
* Remove debugging code
* start scanning at min available height
---------
Co-authored-by: teor <teor@riseup.net>
2023-12-13 20:16:26 +00:00
teor
fa4c80f35a
Send all zebrad logs to the journal under systemd ( #7965 )
2023-12-12 13:15:55 +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
Alfredo Garcia
cdfbecf5f5
avoid starting the scan task if no keys to scan are present ( #8059 )
2023-12-06 01:56:43 +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
fc2576b27d
Standardise on the shielded-scan feature name ( #8038 )
2023-12-01 00:05:57 +00:00
teor
db05845f98
change(scan): Use the on-disk database for keys and results ( #8036 )
...
* Expose IntoDisk and FromDisk in zebra-state
* Implement database serialization for SaplingScanningKey Strings
* Implement serialization for Vec<SaplingScannedResult> (Vec<transaction::Hash>)
* Implement seralization for SaplingScannedDatabaseIndex
* Add an is_empty() method
* Add a read method for a specific index, and document it
* Implement writing scanner results to the database
* Make read name more explicit
* Implement writing scanner keys
* Implement reading sapling keys
* Spawn blocking tasks correctly in async code
* Change storage results methods to use the database
* Update tests that use storage
* Use spawn_blocking() for database methods
* Change the check interval to slightly less than the block interval
* Expose raw database methods with shielded-scan
* fix `scan_task_starts` test
* minor doc change in test
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-11-30 21:27:46 +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
teor
cb9452c5e3
change(ci): When building crates individually, build all targets, and run clippy ( #8024 )
...
* Run clippy and build all targets on all crates individually
* Fix prod and test features for scanner deps
* Standardise dependency order
* Remove unnecessary async in tests
* Fix an unused import in a test
* Work around a no space left on device error
* Actually just use a larger runner
2023-11-30 00:51:20 +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
teor
1d241afbaa
change(state): Expose ZebraDb methods that can create different kinds of databases ( #8002 )
...
* Provide access to DiskDb and DiskWriteBatch outside the state using a feature
* Actually let's export ZebraDb for the format upgrade code
* Pass column families to ZebraDb as an argument
* Allow the database kind to be changed in config.rs
* Use the state kind in finalized_state.rs
* Allow different database kinds in ZebraDb, but don't move the upgrade code yet
* Allow different database kinds in DiskDb
* Allow different database kinds in upgrade.rs, but don't split the upgrade code out yet
* Add new arguments to raw database tests
* Fix doc links
* Fix internal imports
* Fix unused code
* Update zebrad version metadata
* Create a specific state database delete function
* Fix state exports
* Fix zebrad tests
* Fix zebrad state write tests
* Make CI run again
* Fix dead code warnings for test methods
* Remove unnecessary async on some tests
* Fix logging required by tests
* Fix logging required in test itself
* Fix variable names
* Try to copy the message and add regexes
2023-11-28 13:49:11 +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
teor
b5e16a6b26
fix(ci): Skip GCP CI jobs on PRs from external contributors, let mergify test them after approval ( #7956 )
...
* Skip external branches in ci-unit-tests-docker.yml
* Patch external repositories in ci-unit-tests-docker.patch.yml
* Revert ci-unit-tests-docker.patch.yml
* Add a separate external PR patch in ci-unit-tests-docker.patch-external.yml
* Document ci-unit-tests-docker.patch.yml
* Document ci-unit-tests-docker.yml
* Skip dependabot config validation for external PRs
* Trivial Rust code modification to make Rust workflows run
* Use correct method for checking source branch refs
* Fix the check condition
* Simplify job structure
* Use correct skip condition
* Make the start docs visible so we can link to them
* Skip integration tests on external PRs
* Allow external PRs to pass CD Docker tests
* Allow external PRs to pass Docs build and deploy
2023-11-22 19:43:29 +00:00
Arya
5e4c0f973f
security: Rate limit GetAddr responses ( #7955 )
...
* Updates ADDR_RESPONSE_LIMIT_DENOMINATOR to 4
* Moves logic getting a fraction of Zebra's peers to a method in the address book
* Adds and uses CachedPeerAddrs struct in inbound service
* moves and documents constant
* fixes test
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* updates docs
* renames sanitized_window method
* renames CachedPeerAddrs to CachedPeerAddrResponse
* updates test
* moves try_refresh to per request
* Make unused sanitization method pub(crate)
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* moves CachedPeerAddrResponse to a module
* updates unit test
* fixes unit test
* removes unnecessary condition
* clears cached getaddr response if it can't refresh for over a minute after the refresh time
* tests that inbound service gives out the same addresses for every Peers request before the refresh interval
* Applies suggestion from code review
* fixes doc link
* renames constant
* Fix docs on new constant
* applies suggestion from code review
* uses longer cache expiry time
* Adds code comments
---------
Co-authored-by: teor <teor@riseup.net>
2023-11-21 03:32:23 +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
teor
af82a76d18
cleanup(clippy): Remove unnecessary `try_into()` with `cargo clippy --fix` ( #7940 )
...
* Remove unnecessary try_into() with cargo clippy --fix
* Manually remove some unnecessary try_from()s
* impl From<Diversifier> for pallas::Affine instead of TryFrom
* Remove unused imports
* cargo fmt --all
* Remove redundant comma
2023-11-14 20:31:49 +00:00
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
628b3e39af
fix(net): Add outer timeouts for critical network operations to avoid hangs ( #7869 )
...
* Refactor out try_to_sync_once()
* Add outer timeouts for obtaining and extending tips
* Refactor out request_genesis_once()
* Wrap genesis download once in a timeout
* Increase the genesis timeout to avoid denial of service from old nodes
* Add an outer timeout to mempool crawls
* Add an outer timeout to mempool download/verify
* Remove threaded mutex blocking from the inbound service
* Explain why inbound readiness never hangs
* Fix whitespace that cargo fmt doesn't
* Avoid hangs by always resetting the past lookahead limit flag
* Document block-specific and syncer-wide errors
* Update zebrad/src/components/sync.rs
Co-authored-by: Marek <mail@marek.onl>
* Use correct condition for log messages
Co-authored-by: Marek <mail@marek.onl>
* Keep lookahead reset metric
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
Co-authored-by: Marek <mail@marek.onl>
2023-11-02 15:00:18 +00:00
teor
afbe807060
change(docs): Replace doc.zebra.zfnd.org API documentation with docs.rs ( #7886 )
...
* Simple replacements of doc.zebra.zfnd.org with docs.rs
* Manual fixes for specific main/internal/external docs
* Point developer docs to doc-internal.zebra.zfnd.org
* fastmod --glob '\!.git' -- doc.zebra.zfnd.org/zebrad docs.rs/zebrad/latest/zebrad
* Manually remove any remaining doc.zfnd.zebra.org links
* Remove the external docs job
* Add changelog entry and fix links
* Fix links that were broken before this PR
2023-11-01 22:09:40 +00:00
dependabot[bot]
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
Alfredo Garcia
f3048653c8
chore: fix typos ( #7877 )
...
Co-authored-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2023-10-30 20:06:35 +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
Arya
0a3790b73e
change(consensus): Remove Sprout and Sapling parameter download task and debug_skip_preload config ( #7844 )
...
* removes groth16 download task
* updates docs.
* Adds new config to test configs
* fixes compatibility with past configs
* uses inner config to deserialize removed field for compatibility
* update docs
* updates latest config
* Applies suggestions from code review
* Avoid duplicating hard-coded default values
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-27 06:12:57 +00:00
teor
920ee14512
fix(doc): Fix broken links to `zebra_network` and `zebra_state` `Config` structs on doc.zebra.zfnd.org ( #7838 )
...
* Use full module paths to avoid a rustdoc bug
* Exclude zebra-test from external docs
2023-10-27 01:05:26 +00:00
teor
71a9865b6c
remove(cmd): Remove `zebrad download` command, because it no longer does anything ( #7819 )
...
* Remove the `zebrad download` command
* Reorder command.rs imports
* Remove zcash-params/Dockerfile and the main Dockerfile commands that use it
* Stop building zcash-params Docker images in CI
* Update CHANGELOG for `zebrad download` removal
* Clarify why the image is smaller
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2023-10-25 23:42:27 +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
dependabot[bot]
e56b66d182
build(deps): bump the app group with 1 update ( #7802 )
...
Bumps the app group with 1 update: [toml](https://github.com/toml-rs/toml ).
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.2...toml-v0.8.3 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:18:56 +00:00
teor
64f777274c
fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots ( #7392 )
...
* Add tree key format and cached root upgrades
* Document the changes in the upgrades
* Remove unnecessary clippy::unwrap_in_result
* Fix database type
* Bump state version
* Skip some checks if the database is empty
* Fix tests for a short state upgrade
* Disable format checks in some tests
* Document state performance issues
* Clarify upgrade behaviour
* Clarify panic messages
* Delete incorrect genesis trees write code
* Fix metrics handling for genesis
* Remove an unused import
* Explain why genesis anchors are ok
* Update snapshots
* Debug a failing test
* Fix some tests
* Fix missing imports
* Move the state check in a test
* Fix comment and doc typos
Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Arya <aryasolhi@gmail.com>
* Clarify what a long upgrade is
* Rename unused function arguments
Co-authored-by: Marek <mail@marek.onl>
* Add all_unordered log regex matching methods
* Fix timing issues with version upgrades and other logs
* Fix argument name in docs
Co-authored-by: Marek <mail@marek.onl>
* Explain match until first for all regexes behaviour better
---------
Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Arya <aryasolhi@gmail.com>
2023-10-19 14:50:46 +00:00
teor
08ce2ad500
feature(mining): Enable mining RPCs by default in production builds ( #7740 )
...
* Enable getblocktemplate-rpcs in production builds
* Update mining instructions
* Consistently use ZF funding stream addresses in examples
* Simplify skip_getblocktemplate()
* Set the test miner address based on the network
* Correctly skip checks in lightwalletd send transactions test
* Wait longer for transaction query
* Wait longer before re-checking the mempool
* Skip mempool checks if it wasn't queried by lightwalletd
* rustfmt
* clippy and rustfmt
* Fix attribute issue
* Fix typo
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2023-10-18 04:15:17 +00:00
teor
2a077f21c7
fix(ci): Skip mempool checks if it wasn't queried by lightwalletd ( #7744 )
...
* Correctly skip checks in lightwalletd send transactions test
* Wait longer for transaction query
* Wait longer before re-checking the mempool
* Skip mempool checks if it wasn't queried by lightwalletd
* rustfmt
* clippy and rustfmt
* Fix attribute issue
2023-10-17 02:56:00 +00:00
dependabot[bot]
5b9877a520
build(deps): bump the formats group with 1 update ( #7746 )
...
Bumps the formats group with 1 update: [regex](https://github.com/rust-lang/regex ).
- [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.0...1.10.2 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 00:25:55 +00:00
Marek
13230d09fe
chore: Release v1.3.0 ( #7610 )
...
* Update `CHANGELOG.md`
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Group together test PRs for `z_getsubtreesbyindex`
* chore: Release
* Update the end of support height
* Add progress bars changelog entry
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update `CHANGELOG.md`
* Update `CHANGELOG.md`
* Update `README.md`
* Update `ESTIMATED_RELEASE_HEIGHT`
Set the release height to start on ~ Monday, 2023-10-16.
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Remove changelog entries invisible to users
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-16 23:04:33 +00:00
dependabot[bot]
0507670259
build(deps): bump the log-time group with 1 update ( #7748 )
...
Bumps the log-time group with 1 update: [tracing](https://github.com/tokio-rs/tracing ).
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 20:13:38 +00:00
teor
ae52e3d23d
change(ui): Enable the progress bar feature by default, but only show progress bars when the config is enabled ( #7615 )
...
* Add a progress bar config that is disabled unless the feature is on
* Simplify the default config
* Enable the progress bar feature by default, but require the config
* Rename progress bars config to avoid merge conflicts
* Use a log file when the progress bar is activated
* Document how to configure progress bars
* Handle log files in config_tests and check config path
* Fix doc link
* Fix path check
* Fix config log matching
* Fix clippy warning
* Add tracing to config tests
* It's zebrad not zebra
* cargo fmt --all
* Update release for config file changes
* Fix config test failures
* Allow printing to stdout in a method
2023-10-12 00:25:37 +00:00
dependabot[bot]
00d2b45cb6
build(deps): bump the app group with 3 updates ( #7715 )
...
Bumps the app group with 3 updates: [clap](https://github.com/clap-rs/clap ), [semver](https://github.com/dtolnay/semver ) and [toml](https://github.com/toml-rs/toml ).
Updates `clap` from 4.4.4 to 4.4.6
- [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.4...v4.4.6 )
Updates `semver` from 1.0.19 to 1.0.20
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.19...1.0.20 )
Updates `toml` from 0.8.0 to 0.8.2
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.0...toml-v0.8.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 05:31:50 +00:00
dependabot[bot]
b2f69bbb3b
build(deps): bump the formats group with 2 updates ( #7714 )
...
* build(deps): bump the formats group with 2 updates
Bumps the formats group with 2 updates: [regex](https://github.com/rust-lang/regex ) and [byteorder](https://github.com/BurntSushi/byteorder ).
Updates `regex` from 1.9.5 to 1.10.0
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.5...1.10.0 )
Updates `byteorder` from 1.4.3 to 1.5.0
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.4.3...1.5.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
- dependency-name: byteorder
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add a test-related exception to deny.toml
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2023-10-10 03:31:25 +00:00
Arya
931e0a7587
fix(tests): Checking if transactions get into the mempool fails in lightwalletd tests ( #7644 )
...
* copy zcash/lightwalletd service.proto
* uses correct assert & minor cleanup
* adds comment about checking service.proto file when
* adds workaround in send_transaction_test
* Update docs
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-10 02:00:51 +00:00
dependabot[bot]
57964cefeb
build(deps): bump the test group with 1 update ( #7712 )
...
Bumps the test group with 1 update: [console-subscriber](https://github.com/tokio-rs/console ).
- [Release notes](https://github.com/tokio-rs/console/releases )
- [Commits](https://github.com/tokio-rs/console/compare/console-subscriber-v0.1.10...console-subscriber-v0.2.0 )
---
updated-dependencies:
- dependency-name: console-subscriber
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 00:49:20 +00:00
dependabot[bot]
004e4366c4
build(deps): bump the data-structures group with 1 update ( #7656 )
...
Bumps the data-structures group with 1 update: [indexmap](https://github.com/bluss/indexmap ).
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/2.0.0...2.0.1 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: data-structures
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2023-10-09 23:06:26 +00:00
dependabot[bot]
87d1e6667a
build(deps): bump the test group with 4 updates ( #7706 )
...
Bumps the test group with 4 updates: [proptest](https://github.com/proptest-rs/proptest ), [insta](https://github.com/mitsuhiko/insta ), [tonic](https://github.com/hyperium/tonic ) and [tonic-build](https://github.com/hyperium/tonic ).
Updates `proptest` from 1.2.0 to 1.3.1
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.2.0...v1.3.1 )
Updates `insta` from 1.32.0 to 1.33.0
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.32.0...1.33.0 )
Updates `tonic` from 0.10.1 to 0.10.2
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.10.1...v0.10.2 )
Updates `tonic-build` from 0.10.1 to 0.10.2
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 21:27:12 +00:00
dependabot[bot]
f1c891bdcc
build(deps): bump the async group with 2 updates ( #7705 )
...
Bumps the async group with 2 updates: [tokio](https://github.com/tokio-rs/tokio ) and [reqwest](https://github.com/seanmonstar/reqwest ).
Updates `tokio` from 1.32.0 to 1.33.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.32.0...tokio-1.33.0 )
Updates `reqwest` from 0.11.20 to 0.11.22
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.20...v0.11.22 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: async
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 21:26:41 +00:00
teor
0faa0697d5
change(state): Only do continuous format checks in CI ( #7627 )
...
* Only do continuous format checks if enabled by a config
* Run continuous format checks in CI
2023-09-27 21:42:43 +00:00
Alfredo Garcia
09c1f994f0
remove intermittent asserts in test ( #7600 )
2023-09-21 03:20:55 +00:00
dependabot[bot]
b6a18e9bab
build(deps): bump the log-time group with 2 updates ( #7579 )
...
* build(deps): bump the log-time group with 2 updates
Bumps the log-time group with 2 updates: [chrono](https://github.com/chronotope/chrono ) and [sentry](https://github.com/getsentry/sentry-rust ).
Updates `chrono` from 0.4.30 to 0.4.31
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.30...v0.4.31 )
Updates `sentry` from 0.31.6 to 0.31.7
- [Release notes](https://github.com/getsentry/sentry-rust/releases )
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.31.6...0.31.7 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
* reduce nanoseconds range in arbitrary tests
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-09-20 23:41:05 +00:00
Alfredo Garcia
80da28b3e3
tests(rpc): Add fixed test vectors for `z_getsubtreesbyindex` from zcashd to zebra ( #7515 )
...
* add fixed test vectors for `z_getsubtreesbyindex`
* change to snapshots
* add test to docker
* remove assert lines from snapshots
* add more tests
* change test description
* change test name
* run both tests together
* wait for state version update in test
* Run one test at a time to avoid state locking issues
---------
Co-authored-by: teor <teor@riseup.net>
2023-09-20 23:40:21 +00:00
dependabot[bot]
99bfd1953b
build(deps): bump the app group with 1 update ( #7576 )
...
Bumps the app group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [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.3...v4.4.4 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 23:05:19 +00:00
Alfredo Garcia
920468c0a1
add elasticsearch to features flag doc ( #7568 )
2023-09-19 23:04:56 +00:00
teor
7a7d79dfaf
fix(state): Use correct end heights for end of block subtrees during the full sync ( #7566 )
...
* Avoid manual handling of previous sapling trees by using iterator windows instead
* Avoid manual sapling subtree index handling by comparing prev and current subtree indexes instead
* Simplify adding notes by using the exact number of remaining notes
* Simplify by skipping the first block, because it can't complete a subtree
* Re-use existing tree update code
* Apply the sapling changes to orchard subtree updates
* add a reverse database column family iterator function
* Make skipping the lowest tree independent of iteration order
* Move new subtree checks into the iterator, rename to end_height
* Split subtree calculation into a new method
* Split the calculate and write methods
* Quickly check the first subtree before running the full upgrade
* Do the quick checks every time Zebra runs, and refactor slow check error handling
* Do quick checks for orchard as well
* Make orchard tree upgrade match sapling upgrade code
* Upgrade subtrees in reverse height order
* Bump the database patch version so the upgrade runs again
* Reset previous subtree upgrade data before doing this one
* Add extra checks to subtree calculation to diagnose errors
* Use correct heights for subtrees completed at the end of a block
* Add even more checks to diagnose issues
* Instrument upgrade methods to improve diagnostics
* Prevent modification of re-used trees
* Debug with subtree positions as well
* Fix an off-by-one error with completed subtrees
* Fix typos and confusing comments
Co-authored-by: Marek <mail@marek.onl>
* Fix mistaken previous tree handling and end tree comments
* Remove unnecessary subtraction in remaining leaves calc
* Log heights when assertions fail
* Fix new subtree detection filter
* Move new subtree check into a method, cleanup unused code
* Remove redundant assertions
* Wait for subtree upgrade before testing RPCs
* Fix subtree search in quick check
* Temporarily upgrade subtrees in forward height order
* Clarify some comments
* Fix missing test imports
* Fix subtree logging
* Add a comment about a potential hang with future upgrades
* Fix zebrad var ownership
* Log more info when add_subtrees.rs fails
* cargo fmt --all
* Fix unrelated clippy::unnecessary_unwrap
* cargo clippy --fix --all-features --all-targets; cargo fmt --all
* Stop the quick check depending on tree de-duplication
* Refactor waiting for the upgrade into functions
* Wait for state upgrades whenever the cached state is updated
* Wait for the testnet upgrade in the right place
* Fix unused variable
* Fix a subtree detection bug and comments
* Remove an early reference to reverse direction
* Stop skipping subtrees completed at the end of blocks
* Actually fix new subtree code
---------
Co-authored-by: Marek <mail@marek.onl>
2023-09-19 14:49:36 +00:00
dependabot[bot]
0ee8b95a01
build(deps): bump the test group with 2 updates ( #7578 )
...
Bumps the test group with 2 updates: [inferno](https://github.com/jonhoo/inferno ) and [prost](https://github.com/tokio-rs/prost ).
Updates `inferno` from 0.11.16 to 0.11.17
- [Changelog](https://github.com/jonhoo/inferno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.11.16...v0.11.17 )
Updates `prost` from 0.12.0 to 0.12.1
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.0...v0.12.1 )
---
updated-dependencies:
- dependency-name: inferno
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
- dependency-name: prost
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 14:49:23 +00:00
dependabot[bot]
4f6d28f9b1
build(deps): bump the formats group with 1 update ( #7577 )
...
Bumps the formats group with 1 update: [serde_json](https://github.com/serde-rs/json ).
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.106...v1.0.107 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 18:42:35 +00:00
dependabot[bot]
a7501c16b1
build(deps): bump the app group with 3 updates ( #7551 )
...
Bumps the app group with 3 updates: [clap](https://github.com/clap-rs/clap ), [toml](https://github.com/toml-rs/toml ) and [vergen](https://github.com/rustyhorde/vergen ).
Updates `clap` from 4.4.2 to 4.4.3
- [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.2...v4.4.3 )
Updates `toml` from 0.7.8 to 0.8.0
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.8...toml-v0.8.0 )
Updates `vergen` from 8.2.4 to 8.2.5
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.4...8.2.5 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2023-09-14 18:08:13 +00:00
Alfredo Garcia
91ec8b910b
change(tests): update tests for new lightwalletd version used in Zebra ( #7349 )
...
* update docs for new lightwalletd version used in Zebra
* update some asserts
* add `RUST_LOG` to docker `entrypoint.sh` file
* clarify zecwallet-cli is untested with zcash/lightwalletd fork in the book
* revert entrypoint rust log changes
* remove sleep
* revert doc changes
* change formatting in expected output
* try sleep now that CI is working
* try sending more transactions
* remove tests with failures
* remove newline
2023-09-14 05:25:42 +00:00
Alfredo Garcia
a63fe225a0
change(tests): Obtain lightwalletd tip from logs instead of grpc ( #7507 )
...
* obtain lightwalletd from the logs
* revert #7332
* temporarily stop checking that the update sync has a good cached state
* Revert "temporarily stop checking that the update sync has a good cached state"
This reverts commit 0fb10938d9
.
* add `save_to_disk` to workflow
* Fix lightwalletd height_grep_text for ECC fork
* Add a TODO about blocking the async executor
---------
Co-authored-by: teor <teor@riseup.net>
2023-09-13 03:33:09 +00:00
Marek
dc6aa708d0
Test `z_getsubtreesbyindex` using a lightwalletd gRPC request ( #7521 )
...
* Add lightwalletd's protobuf types
* Don't explicitly derive `Eq` for enums
I got bitten by this bug: https://github.com/tokio-rs/prost/issues/332
when I added the enum `ShieldedProtocol` to the file `service.proto`.
The problem is that `prost` implicitly derives `Eq` for enums, so
deriving it explicitly via `type_attribute` causes a conflict. Lukily,
there is another method `message_attribute` that operates only on
messages and not enums.
* Test the `z_getsubtreesbyindex` RPC
* Fix a typo
* Add test vectors
2023-09-12 23:59:56 +00:00
dependabot[bot]
70d34a6d4b
build(deps): bump the formats group with 2 updates ( #7526 )
...
Bumps the formats group with 2 updates: [serde_json](https://github.com/serde-rs/json ) and [bytes](https://github.com/tokio-rs/bytes ).
Updates `serde_json` from 1.0.105 to 1.0.106
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106 )
Updates `bytes` from 1.4.0 to 1.5.0
- [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.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 00:33:20 +00:00
dependabot[bot]
3ec142d2ee
build(deps): bump the log-time group with 1 update ( #7527 )
...
Bumps the log-time group with 1 update: [chrono](https://github.com/chronotope/chrono ).
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.29...v0.4.30 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 21:59:04 +00:00
dependabot[bot]
733b89b972
build(deps): bump the app group with 1 update ( #7525 )
...
Bumps the app group with 1 update: [toml](https://github.com/toml-rs/toml ).
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.6...toml-v0.7.8 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 21:58:40 +00:00
teor
29d8e90ccf
fix(ci): Increase test launch and shutdown times to fix CI failures ( #7499 )
...
* Increase launch times to help fix failures in rpc_conflict and non_blocking_logger tests
* Add extra task spawn and shutdown logs to start.rs
2023-09-07 00:04:02 +00:00
dependabot[bot]
b7aae8a34e
build(deps): bump the test group with 3 updates ( #7459 )
...
* build(deps): bump the test group with 3 updates
Bumps the test group with 3 updates: [prost](https://github.com/tokio-rs/prost ), [tonic](https://github.com/hyperium/tonic ) and [tonic-build](https://github.com/hyperium/tonic ).
Updates `prost` from 0.11.9 to 0.12.0
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.11.9...v0.12.0 )
Updates `tonic` from 0.9.2 to 0.10.0
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/commits )
Updates `tonic-build` from 0.9.2 to 0.10.0
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/commits )
---
updated-dependencies:
- dependency-name: prost
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
* update deny.toml
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-09-06 15:44:44 +00:00
dependabot[bot]
885ee71195
build(deps): bump the log-time group with 2 updates ( #7493 )
...
Bumps the log-time group with 2 updates: [chrono](https://github.com/chronotope/chrono ) and [thiserror](https://github.com/dtolnay/thiserror ).
Updates `chrono` from 0.4.28 to 0.4.29
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.28...v0.4.29 )
Updates `thiserror` from 1.0.47 to 1.0.48
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 02:44:01 +00:00
dependabot[bot]
cc2dbe32da
build(deps): bump the time group with 1 update ( #7455 )
...
Bumps the time group with 1 update: [chrono](https://github.com/chronotope/chrono ).
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.27...v0.4.28 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 19:06:57 +00:00
dependabot[bot]
ecd4e1faed
build(deps): bump the app group with 1 update ( #7457 )
...
Bumps the app group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [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.1...v4.4.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 02:05:43 +00:00
dependabot[bot]
98d0038fb0
build(deps): bump the formats group with 1 update ( #7458 )
...
Bumps the formats group with 1 update: [regex](https://github.com/rust-lang/regex ).
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.4...1.9.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 21:06:01 +00:00
Alfredo Garcia
6f503049c6
Release Zebra v1.2.0 ( #7431 )
...
* chore: Release
* change estimated release height
* add 1.2.0 changelog
* apply suggestions to changelog
Co-authored-by: teor <teor@riseup.net>
* remove item
* change release date to today
---------
Co-authored-by: teor <teor@riseup.net>
2023-09-01 20:45:20 +00:00
Alfredo Garcia
38caaafc02
change(docs): update docs for new lightwalletd version used in Zebra ( #7427 )
...
* upgrade docs for new lightwalletd repo zebra is using now
* Update book/src/user/lightwalletd.md
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2023-08-30 22:30:20 +00:00
dependabot[bot]
05c9aac111
build(deps): bump the log group with 1 update ( #7398 )
...
Bumps the log group with 1 update: [sentry](https://github.com/getsentry/sentry-rust ).
- [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.5...0.31.6 )
---
updated-dependencies:
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 01:34:42 +00:00
dependabot[bot]
c1915f1d7b
build(deps): bump the app group with 1 update ( #7399 )
...
Bumps the app group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [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.3.23...clap_complete-v4.4.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 01:34:01 +00:00
dependabot[bot]
a2b5e4b3be
build(deps): bump the test group with 1 update ( #7401 )
...
Bumps the test group with 1 update: [proptest-derive](https://github.com/proptest-rs/proptest ).
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/0.4.0/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/proptest-derive-0.3.0...0.4.0 )
---
updated-dependencies:
- dependency-name: proptest-derive
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 01:32:50 +00:00
Arya
2b81d845ea
fix(panic): Log a warning instead of panicking for unused mining configs ( #7290 )
...
* Logs warning for unused mining config
* add conditional serialization of the mining section
* rustfmt
* Simplify mining::Config argument passing
* Simplify mining config argument passing in start.rs
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2023-08-29 07:44:59 +00:00
dependabot[bot]
e58000f07f
build(deps): bump the formats group with 2 updates ( #7400 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [regex](https://github.com/rust-lang/regex ).
Updates `serde` from 1.0.185 to 1.0.188
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.188 )
Updates `regex` from 1.9.3 to 1.9.4
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.3...1.9.4 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2023-08-29 04:01:15 +00:00
teor
ca8d529a09
cleanup(clippy): Fix new nightly clippy lints from July and August 2023 ( #7384 )
...
* cargo +nightly clippy --fix --all-features --all-targets
* Manually fix clippy::redundant_locals
* Remove unused deny.toml duplicate dependency exception
* Manually fix clippy::needless_pass_by_ref_mut
* Manually fix -W elided-lifetimes-in-associated-constant
* Manually fix clippy::unnecessary_mut_passed
* Manually fix -W unused_mut
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-25 22:58:30 +00:00
dependabot[bot]
c696c520ce
build(deps): bump the async group with 2 updates ( #7360 )
...
* build(deps): bump the async group with 2 updates
Bumps the async group with 2 updates: [tokio](https://github.com/tokio-rs/tokio ) and [reqwest](https://github.com/seanmonstar/reqwest ).
Updates `tokio` from 1.31.0 to 1.32.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0 )
Updates `reqwest` from 0.11.18 to 0.11.19
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.18...v0.11.19 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: async
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
* update bans
* fix typo in version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-25 20:34:00 +00:00
dependabot[bot]
0ac05676a8
build(deps): bump the app group with 1 update ( #7356 )
...
Bumps the app group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [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.3.21...v4.3.23 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 16:28:11 +00:00
Alfredo Garcia
000c7b4bc6
fix(clippy): Fix clippy and rustfmt after last releases today ( #7381 )
...
* fix clippy and rustfmt after last releases today
* Ignore clippy::arc_with_non_send_sync false positives in proptest code only
* Remove .cargo/config.toml changes that didn't work
---------
Co-authored-by: teor <teor@riseup.net>
2023-08-25 04:08:13 +00:00
Alfredo Garcia
0cc48a322a
fix(docs): docs after new rust version ( #7375 )
...
* fix docs build
* fix docs build errors in sapling trees
* fix docs build in sprout joinsplits
* fix doc build in handshake
* fix docs build in zebra-state
* fix docs build in zebrad
* new line fix
2023-08-24 11:31:10 +00:00
dependabot[bot]
4ccd6f1c81
build(deps): bump the test group with 1 update ( #7358 )
...
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/compare/v3.7.1...v3.8.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 23:39:06 +00:00
dependabot[bot]
31426f3b0e
build(deps): bump the formats group with 2 updates ( #7357 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [serde_with](https://github.com/jonasbb/serde_with ).
Updates `serde` from 1.0.183 to 1.0.185
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185 )
Updates `serde_with` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 21:05:24 +00:00
dependabot[bot]
7123701183
build(deps): bump the log group with 2 updates ( #7355 )
...
Bumps the log group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror ) and [inferno](https://github.com/jonhoo/inferno ).
Updates `thiserror` from 1.0.46 to 1.0.47
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47 )
Updates `inferno` from 0.11.15 to 0.11.16
- [Changelog](https://github.com/jonhoo/inferno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.11.15...v0.11.16 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
- dependency-name: inferno
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 21:04:54 +00:00
dependabot[bot]
22b4c061ba
build(deps): bump the async group with 1 update ( #7323 )
...
Bumps the async group with 1 update: [tokio](https://github.com/tokio-rs/tokio ).
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.31.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:10:32 +00:00
dependabot[bot]
951469956f
build(deps): bump the formats group with 2 updates ( #7336 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [serde_json](https://github.com/serde-rs/json ).
Updates `serde` from 1.0.179 to 1.0.183
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.183 )
Updates `serde_json` from 1.0.104 to 1.0.105
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:09:51 +00:00
dependabot[bot]
7605a3376b
build(deps): bump the log group with 2 updates ( #7337 )
...
Bumps the log group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror ) and [log](https://github.com/rust-lang/log ).
Updates `thiserror` from 1.0.44 to 1.0.46
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.46 )
Updates `log` from 0.4.19 to 0.4.20
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:10:03 +00:00
Arya
eec467a173
should fix the timeouts ( #7332 )
2023-08-15 22:16:09 +00:00
dependabot[bot]
80726e248b
build(deps): bump the app group with 1 update ( #7325 )
...
Bumps the app group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [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.3.19...v4.3.21 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 18:50:05 +00:00
dependabot[bot]
d8168db3e1
build(deps): bump the test group with 1 update ( #7301 )
...
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/compare/v3.7.0...v3.7.1 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 18:49:21 +00:00
Alfredo Garcia
b322748b66
add(rpc): note tree sizes to `getblock` api ( #7278 )
...
* add the basics
* add some docs, move code
* upgrade compact formats to https://github.com/zcash/lightwalletd/blob/v0.4.15/walletrpc/compact_formats.proto
* add a test for in sync chain
* test changing to ecc lightwalletd
* revert change of lightwalletd repo (already merged to main)
* add debug log to see whats going on with the test
* change log to tracing::info
* remove log line
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-15 18:48:50 +00:00
dependabot[bot]
38b227f06c
build(deps): bump the async group with 1 update ( #7300 )
...
Bumps the async group with 1 update: [pin-project](https://github.com/taiki-e/pin-project ).
- [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.2...v1.1.3 )
---
updated-dependencies:
- dependency-name: pin-project
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>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-13 16:06:32 +00:00
Arya
84927d3dd1
Updates test expected logs ( #7315 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-11 03:53:31 +00:00
dependabot[bot]
77c00aef73
build(deps): bump the progress-bar group with 1 update ( #7299 )
...
Bumps the progress-bar group with 1 update: [indicatif](https://github.com/console-rs/indicatif ).
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.5...0.17.6 )
---
updated-dependencies:
- dependency-name: indicatif
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: progress-bar
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-11 01:39:14 +00:00
dependabot[bot]
e2bf4aa330
build(deps): bump the formats group with 4 updates ( #7298 )
...
Bumps the formats group with 4 updates: [serde](https://github.com/serde-rs/serde ), [regex](https://github.com/rust-lang/regex ), [serde_json](https://github.com/serde-rs/json ) and [serde_with](https://github.com/jonasbb/serde_with ).
Updates `serde` from 1.0.175 to 1.0.179
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.179 )
Updates `regex` from 1.9.1 to 1.9.3
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.1...1.9.3 )
Updates `serde_json` from 1.0.103 to 1.0.104
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104 )
Updates `serde_with` from 3.1.0 to 3.2.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-10 22:28:00 +00:00
dependabot[bot]
b8dd54081d
build(deps): bump the formats group with 1 update ( #7283 )
...
Bumps the formats group with 1 update: [serde](https://github.com/serde-rs/serde ).
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.175 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 02:22:22 +00:00
dependabot[bot]
7625e0b49f
build(deps): bump the app group with 2 updates ( #7282 )
...
Bumps the app group with 2 updates: [clap](https://github.com/clap-rs/clap ) and [rlimit](https://github.com/Nugine/rlimit ).
Updates `clap` from 4.3.16 to 4.3.19
- [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.3.16...v4.3.19 )
Updates `rlimit` from 0.10.0 to 0.10.1
- [Changelog](https://github.com/Nugine/rlimit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nugine/rlimit/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
- dependency-name: rlimit
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 23:50:15 +00:00
dependabot[bot]
bce8e1a842
build(deps): bump the log group with 1 update ( #7281 )
...
Bumps the log group with 1 update: [thiserror](https://github.com/dtolnay/thiserror ).
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 20:20:22 +00:00
dependabot[bot]
64f116a861
build(deps): bump the test group with 1 update ( #7284 )
...
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/compare/v3.6.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 17:45:55 +00:00
Arya
a6bdb480bb
Release Zebra v1.1.0 ( #7259 )
...
* Updates dependencies
* Dedups bindgen, removes windows-sys from deny.toml
* Updates checkpoints
* chore: Release
* Adds changelog draft
* updates estimated_release_height
* Updates changelog
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
---------
Co-authored-by: teor <teor@riseup.net>
2023-07-22 01:18:09 +00:00
teor
c3e7d749ed
fix(log): Limit verbose RPC responses in logs ( #7258 )
...
* Truncate verbose RPC responses in test logs
* Downgrade verbose block template state log to debug
2023-07-21 20:35:56 +00:00
Pili Guerra
7f64ff35a4
add(metrics): Track mempool actions and size bucketed by weight (copy of #6972 , credit @str4d) ( #7019 )
...
* metrics: Track mempool actions and size bucketed by weight
* Fix tests
* draft fix tests
* fix `fix_arbitrary_generated_action_overflows`
* add some docs
* manually derive arbitrary
* remove unused import
---------
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-07-18 23:04:32 +00:00
dependabot[bot]
c6f4e28bff
build(deps): bump the cli group with 1 update ( #7244 )
...
Bumps the cli group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [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.3.11...v4.3.15 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cli
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 09:59:41 +00:00
dependabot[bot]
c885de4abb
build(deps): bump semver from 1.0.17 to 1.0.18 ( #7227 )
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.17...1.0.18 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 02:37:35 +00:00
teor
be5cfad07f
change(state): Prepare for in-place database format upgrades, but don't make any format changes yet ( #7031 )
...
* Move format upgrades to their own module and enum
* Launch a format change thread if needed, and shut it down during shutdown
* Add some TODOs and remove a redundant timer
* Regularly check for panics in the state upgrade task
* Only run example upgrade once, change version field names
* Increment database format to 25.0.2: add format change task
* Log the running and initial disk database format versions on startup
* Add initial disk and running state versions to cached state images in CI
* Fix missing imports
* Fix typo in logs workflow command
* Add a force_save_to_disk argument to the CI workflow
* Move use_internet_connection into zebrad_config()
* fastmod can_spawn_zebrad_for_rpc can_spawn_zebrad_for_test_type zebra*
* Add a spawn_zebrad_without_rpc() function
* Remove unused copy_state() test code
* Assert that upgrades and downgrades happen with the correct versions
* Add a kill_and_return_output() method for tests
* Add a test for new_state_format() versions (no upgrades or downgrades)
* Add use_internet_connection to can_spawn_zebrad_for_test_type()
* Fix workflow parameter passing
* Check that reopening a new database doesn't upgrade (or downgrade) the format
* Allow ephemeral to be set to false even if we don't have a cached state
* Add a test type that will accept any kind of state
* When re-using a directory, configure the state test config with that path
* Actually mark newly created databases with their format versions
* Wait for the state to be opened before testing the format
* Run state format tests on mainnet and testnet configs (no network access)
* run multiple reopens in tests
* Test upgrades run correctly
* Test that version downgrades work as expected (best effort)
* Add a TODO for testing partial updates
* Fix missing test arguments
* clippy if chain
* Fix typo
* another typo
* Pass a database instance to the format upgrade task
* Fix a timing issue in the tests
* Fix version matching in CI
* Use correct env var reference
* Use correct github env file
* Wait for the database to be written before killing Zebra
* Use correct workflow syntax
* Version changes aren't always upgrades
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-07-13 21:36:15 +00:00
dependabot[bot]
7f3a4e97b7
build(deps): bump regex from 1.8.4 to 1.9.1 ( #7189 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.4 to 1.9.1.
- [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.8.4...1.9.1 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 21:30:36 +00:00
dependabot[bot]
0d332646bf
build(deps): bump the serde group with 1 update ( #7184 )
...
Bumps the serde group with 1 update: [serde](https://github.com/serde-rs/serde ).
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.168 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: serde
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 08:27:21 +00:00
dependabot[bot]
8c5bcb7487
build(deps): bump thiserror from 1.0.41 to 1.0.43 ( #7174 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 03:37:10 +00:00
teor
f6afec2be8
fix(ci): Increase peer cache startup wait time and test time ( #7169 )
...
* Increase peer cache test time
* Wait longer for DNS responses before writing peers to disk
2023-07-07 03:35:41 +00:00
dependabot[bot]
c1695c35e2
build(deps): bump serde_json from 1.0.99 to 1.0.100 ( #7149 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.99...v1.0.100 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 23:23:24 +00:00
dependabot[bot]
d73941c91f
build(deps): bump vergen from 8.2.3 to 8.2.4 ( #7163 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 8.2.3 to 8.2.4.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.3...8.2.4 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 21:00:00 +00:00
dependabot[bot]
2492648b5f
build(deps): bump toml from 0.7.5 to 0.7.6 ( #7164 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.7.5 to 0.7.6.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.5...toml-v0.7.6 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 18:01:29 +00:00
Arya
77ad91ced4
fix(network): Avoid initiating outbound handshakes with IPs for which Zebra already has an active peer. ( #7029 )
...
* Adds most_recent_by_ip field to address book
* adds test
* Apply suggestions from code review
* fixes lint
* Updates most_recent_by_ip in .take()
Updates should_update_most_recent_by_ip() and has_active_peer_with_ip to check last_attempt and last_failure times
Renames has_active_peer_with_ip
* Documents that Zebra will not initiate more than 1 outbound connections per IP
* Fixes is_ready_for_connection_attempt_with_ip
Adds test coverage for AttemptPending and Failed
Fixes new_outbound_peer_connections_are_rate_limited proptest
* Applies suggestions from code review.
* Applies suggestions from code review
* Always return true from `is_ready_for_connection_attempt_with_ip` if max_connections_per_ip != 0
* Update max_connections_per_ip config docs
* Warn about invalid config fields and use default values
* Ignores last_attempt and last_failure in is_ready_for_connection_attempt_with_ip
updates test
* Only update most_recent_by_ip if update.last_conn_state is responded.
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* fixes lint
* Update zebra-network/src/address_book.rs
Co-authored-by: teor <teor@riseup.net>
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Fix Rust syntax
* Fix whitespace
---------
Co-authored-by: teor <teor@riseup.net>
2023-07-06 05:54:10 +00:00
dependabot[bot]
ea41dcbbac
build(deps): bump clap from 4.3.10 to 4.3.11 ( #7150 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.10 to 4.3.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/v4.3.10...v4.3.11 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 20:53:41 +00:00
dependabot[bot]
730b10a278
build(deps): bump thiserror from 1.0.40 to 1.0.41 ( #7153 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 20:53:05 +00:00
dependabot[bot]
c8d411017d
build(deps): bump console-subscriber from 0.1.9 to 0.1.10 ( #7140 )
...
Bumps [console-subscriber](https://github.com/tokio-rs/console ) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/tokio-rs/console/releases )
- [Commits](https://github.com/tokio-rs/console/compare/console-subscriber-v0.1.9...console-subscriber-v0.1.10 )
---
updated-dependencies:
- dependency-name: console-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 20:51:56 +00:00
Arya
7e7ce2ba71
fix(commands): Require an argument name before the list of tracing filters when used without a subcommand ( #7056 )
...
* require flag for tracing filters when subcmd is omitted.
* Fixes test, updates Changelog
* Adds code comment
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
---------
Co-authored-by: teor <teor@riseup.net>
2023-07-05 09:28:05 +00:00
teor
147b8fa3a8
cleanup(rust): Fix new nightly clippy warnings ( #7135 )
...
* Fix "comparison is always true" warning
* Add missing Send bound
* cargo clippy --fix --all-features --all-targets
* incorrect implementation of clone on a Copy type
* cargo fmt --all
2023-07-05 07:11:27 +00:00
teor
f2a2a403a8
fix(log): Remove redundant startup logs, fix progress bar number, order, and wording ( #7087 )
...
* Remove duplicate "running" message, send log file opening logs to stderr
* Add missing block progress bar desc, make them consistent
* Put progress bars in a specific order in each section
* Actually make block progress bar desc consistent
* Make progress bar order even more consistent
* Fix fork blocks plural for 1 block
* Use the correct number of chain fork bars
* Disable confusing partial work display
* Add struct field category comments
* Silence a verbose inventory log
2023-07-05 07:08:59 +00:00
dependabot[bot]
5598d1a72b
build(deps): bump pin-project from 1.1.0 to 1.1.2 ( #7127 )
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.1.0 to 1.1.2.
- [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.0...v1.1.2 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 07:08:31 +00:00
dependabot[bot]
522390bcc2
build(deps): bump clap from 4.3.8 to 4.3.10 ( #7115 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.8 to 4.3.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.3.8...v4.3.10 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 05:00:48 +00:00
teor
9b32ab7878
change(release): Update release script and check it in CI ( #7128 )
...
* Activate production features on docs.rs
* Make version requirements more flexible to work around unpublished versions
* Remove a redundant feature requirement that causes publishing issues
* fix release auto-replacement format
* cargo release replace --verbose --execute --package zebrad
* Add a missing 1.0.1 changelog entry
* Fix incorrect commands in the release checklist
* Check the crates.io release script in CI, to avoid release failures
* Fix release date in changelog
* Fix workflow typo
* Add --no-confirm to the workflow
* Fix outdated version in release check command
* After the release, add a "remove do-not-merge" step
* Set git identity before committing
* Don't overwrite tweaked versions on upgrade
* cargo release version doesn't support --dependent-version
* Update the same commands in the release checklist
* Commit to git after each change
* And in the checklist
* Add cargo release config
* In CI, allow any branch and provide a fake previous tag name
* Remove redundant `cargo release commit`
* Use a simpler release version process
* Start simplifying the release dry run in CI
* Fix a cargo dependency lint
* just skip the failing crates for now
* Fix the release checklist to match CI
* Use the latest versions of all Zebra dependencies
2023-07-04 19:01:11 +00:00
dependabot[bot]
6ec0c66aa6
build(deps): bump serde from 1.0.164 to 1.0.166 ( #7134 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.164 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.166 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 16:53:54 +00:00
dependabot[bot]
3d32cbd718
build(deps): bump vergen from 8.2.1 to 8.2.3 ( #7130 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 8.2.1 to 8.2.3.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.1...8.2.3 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 16:53:33 +00:00
dependabot[bot]
4713994e64
build(deps): bump metrics from 0.21.0 to 0.21.1 ( #7131 )
...
Bumps [metrics](https://github.com/metrics-rs/metrics ) from 0.21.0 to 0.21.1.
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-v0.21.0...metrics-v0.21.1 )
---
updated-dependencies:
- dependency-name: metrics
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 23:23:33 +00:00
dependabot[bot]
a8e71b3429
build(deps): bump tokio from 1.29.0 to 1.29.1 ( #7114 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.29.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 05:39:10 +00:00
teor
2add0e50a9
Release Zebra v1.0.1 ( #7090 )
...
* Update license description in README for MIT-only crates
* Draft changelog with trivial issues
* Remove trivial issues
* Update changelog entries as of commit 2a31972
and PR #7103
* Update mainnet and testnet checkpoints as of 2023-06-30
* chore: Release
* Estimate release height for Zebra v1.0.1
Block height 2139118 at 2023-06-30 01:55:38 UTC
Release is likely to be 2023-07-01
2139118 + 1152 * 3 = 2142574
Then round up to the nearest 1000.
2023-07-02 23:08:40 +00:00
teor
e6c3b87872
Stop panicking on shutdown in the syncer and network init ( #7104 )
2023-07-02 20:08:11 +00:00
teor
322cbec817
fix(hang): Stop blocking some Zebra futures for up to a minute using a CPU busy-loop, Credit: Ziggurat Team ( #6763 ), james_katz ( #7000 ) ( #7103 )
...
* Stop busy-waiting in a Future for 45 seconds every minute
* Use the correct elapsed time calculation
* Add some TODOs for making the structure of the loop and wait times clearer
2023-06-30 16:58:05 +00:00
dependabot[bot]
5eea111922
build(deps): bump tokio from 1.28.2 to 1.29.0 ( #7094 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.2 to 1.29.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 02:58:00 +00:00
Alfredo Garcia
455779c833
build(deps): Bump indexmap, toml and serde_json ( #7100 )
...
* bump toml, indexmap and serde_json all together
* add duplicated indexmap dep to deny.toml
2023-06-29 20:18:52 +00:00
teor
256e4cd2ce
Use a heart image with a compatible licence ( #7102 )
2023-06-29 16:01:51 +00:00
Conrado Gouvea
6ab451c660
make logo fit 80 columns ( #7095 )
2023-06-28 20:07:30 +00:00
dependabot[bot]
caf9a0925f
build(deps): bump hyper from 0.14.26 to 0.14.27 ( #7082 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.26 to 0.14.27.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.27/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.26...v0.14.27 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 00:29:07 +00:00
teor
6311cfbfb3
fix(log): Only show the Zebra logo & intro for the `start` command ( #7075 )
...
* Only show the intro for the `start` command
* Also disable the log file intro text
2023-06-27 17:38:57 +00:00
teor
5324e5afd2
add(tests): Add snapshot tests for sprout database formats ( #7057 )
...
* Add methods for loading entire column families from the database
* Add a method that loads all the sprout trees from the database
* Add snapshot tests for sprout note commitment trees
* Add round-trip proptests for tree root database serialization
* Add a manual sprout note commitment tree database serialization snapshot test
* Add tests for 1,2,4,8 note commitments in a tree
* Remove redundant "rand" package rename in dependencies
* Randomly cache roots rather than only caching even roots
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-27 15:32:30 +00:00
Conrado Gouvea
3af03c3971
print a Zebra logo and some text if stderr is terminal ( #6945 )
...
* print a Zebra logo and some text in progress bar mode
* add network to printed line, add heart to logo
* print logo and message regardless of progress-bar; document how logo was generated
2023-06-27 03:35:07 +00:00
dependabot[bot]
a6f35afe37
build(deps): bump clap from 4.3.6 to 4.3.8 ( #7066 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.6 to 4.3.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.3.6...v4.3.8 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 19:43:29 +00:00
teor
76a7ff45a9
fix(deps): Replace openssl with rustls in tests and experimental features ( #7047 )
...
* Remove openssl dependency and prevent it coming back
* Put the arguments in the right place
* Put comment in the right place
* Add a default-docker feature to zebrad and use it in workflows and Docker files
* Fix a comment typo
* Make sure that Docker production builds don't use openssl
* Rename feature to default-release-binaries
2023-06-26 05:44:19 +00:00
dependabot[bot]
0e0ee8d1bd
build(deps): bump clap from 4.3.5 to 4.3.6 ( #7059 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.5 to 4.3.6.
- [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.3.5...v4.3.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 22:17:36 +00:00
dependabot[bot]
b234b681fe
build(deps): bump clap from 4.3.4 to 4.3.5 ( #7038 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.4 to 4.3.5.
- [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.3.4...v4.3.5 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 18:28:11 +00:00
teor
3d2c5ef290
fix(concurrency): Use Arc::into_inner() to avoid potential concurrency issues, needs Rust 1.70 ( #7032 )
...
* Use Arc::into_inner() to avoid potential concurrency issues
* Remove some outdated clippy lint workarounds (fixed in Rust 1.66)
* Update the required Rust version to 1.70
2023-06-21 20:44:53 +00:00
teor
343a683cea
cleanup(test): Make test debugging output more readable ( #7027 )
...
* Fix some debug impls to use hex rather than u8 arrays
* Hide extremely long debug data in proptests
2023-06-21 15:02:05 +00:00
teor
17e14d9349
Use correct cargo release manifest key name ( #7028 )
...
Avoids an "unused manifest key: metadata" warning
2023-06-21 12:38:35 +00:00
teor
d8c29809f4
Refactor terminal color checks, fix force_color on panic logs ( #6997 )
2023-06-21 10:17:26 +00:00
teor
56a76385f0
git ls-tree --full-tree -r --name-only HEAD | xargs sed -i -e 's/router_verifier/block_verifier_router/g' ( #6998 )
...
cargo fmt --all
2023-06-20 07:11:04 +00:00
teor
795d40a003
change(readme): Install from crates.io not git in the README, automate release version replacements ( #6977 )
...
* Install from crates.io not git
* Move git instructions to install.md
* Add versions back to install.md
* Automate release replacements in Cargo.toml
* Re-add h4 to re-enable links to those sections
* Remove release replacements from zebra/Cargo.toml
* Add release replacements to zebrad/Cargo.toml
* Put the toml table in the right place
* Try another place in Cargo.toml
* Let's try again without "package."
* Remove duplicate release metadata from Cargo.toml
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2023-06-20 07:10:40 +00:00
Arya
b40fc9b032
change(network): Configurable maximum connections per IP ( #7013 )
...
* Adds config field
* adds new generated config
* Lint
* fixes config_tests
2023-06-20 05:11:45 +00:00