teor
735330618e
cleanup(state): Update some outdated comments in the state & rpcs ( #7434 )
...
* Add a module cleanup TODO
* Fix an unrelated comment
* Update the comments about the bincode legacy format
2023-08-31 16:25:11 +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
teor
5888a4e5d6
cleanup(clippy): Fix a clippy lint and deny.toml entry after recent changes ( #7419 )
...
* Remove unmatched-skip-root in deny.toml
* Ignore unused variable when getblocktemplate-rpcs is disabled
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 17:26:49 +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]
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
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]
e2bf4aa330
build(deps): bump the formats group with 4 updates ( #7298 )
...
Bumps the formats group with 4 updates: [serde](https://github.com/serde-rs/serde ), [regex](https://github.com/rust-lang/regex ), [serde_json](https://github.com/serde-rs/json ) and [serde_with](https://github.com/jonasbb/serde_with ).
Updates `serde` from 1.0.175 to 1.0.179
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.179 )
Updates `regex` from 1.9.1 to 1.9.3
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.1...1.9.3 )
Updates `serde_json` from 1.0.103 to 1.0.104
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104 )
Updates `serde_with` from 3.1.0 to 3.2.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-10 22:28:00 +00:00
dependabot[bot]
b8dd54081d
build(deps): bump the formats group with 1 update ( #7283 )
...
Bumps the formats group with 1 update: [serde](https://github.com/serde-rs/serde ).
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.175 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 02:22:22 +00:00
dependabot[bot]
bce8e1a842
build(deps): bump the log group with 1 update ( #7281 )
...
Bumps the log group with 1 update: [thiserror](https://github.com/dtolnay/thiserror ).
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 20:20:22 +00:00
Arya
a6bdb480bb
Release Zebra v1.1.0 ( #7259 )
...
* Updates dependencies
* Dedups bindgen, removes windows-sys from deny.toml
* Updates checkpoints
* chore: Release
* Adds changelog draft
* updates estimated_release_height
* Updates changelog
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
---------
Co-authored-by: teor <teor@riseup.net>
2023-07-22 01:18:09 +00:00
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]
f46ad54ae0
build(deps): bump insta from 1.30.0 to 1.31.0 ( #7226 )
...
Bumps [insta](https://github.com/mitsuhiko/insta ) from 1.30.0 to 1.31.0.
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.30.0...1.31.0 )
---
updated-dependencies:
- dependency-name: insta
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-18 04:55:54 +00:00
Alfredo Garcia
e2f010eb4f
build(deps): update ecc dependencies for `zcashd` 5.6.0, and create legacy state format compatibility layer ( #7053 )
...
* update ecc dependencies no serialization
* use zcash_primitives merke tree functions for serialization/deserialization in orchard and sapling trees
* some more work in sapling/orchard serialization/deserialization
* clippy
* fix doc links
* fix missing doc
* make orchard trees serializa/deserialize as they were before upgrade
* make sapling trees serialize/deserialize as they were before upgrade
* use legacy for sprout
* remove unused code
* readd snapshot tests
* repalce some code
* upgrade zcash_proofs
* remove legacy code for sprout
* fix the count method
* add root to serialize
* fixes in as_bytes and from_bytes
* use legacy code
* add todo about pow2 tests
* remove unused sprout code
* fix doc typos
* Add a recalculate_root() method to trees for tests
* Rename test tree types to make them easier to change
* Add TODOs for tests for old and new serialization formats
* fix doc typos
* add more test to note commitment trees
* fix comment
* fix leaf serializatiuon, reverse to old hashes in pow2 tests
* fix serialization
* put sapling SerializedTree code back
* put orchard SerializedTree code back
* clippy
* add duplicated dependencies until zebra_script updates
* fix a doc link
* minor cleanup
* remove todo comment from tests
* add one more check to tests
* update zebra_script
* update deny.toml
* replace custom function with library
* fix some tests
* update docs
* Remove duplicate dependencies from deny.toml
Based on the list at:
https://github.com/ZcashFoundation/zebra/actions/runs/5557139662/jobs/10150543673?pr=7053#step:5:14
---------
Co-authored-by: teor <teor@riseup.net>
2023-07-17 22:06:27 +00:00
dependabot[bot]
0d332646bf
build(deps): bump the serde group with 1 update ( #7184 )
...
Bumps the serde group with 1 update: [serde](https://github.com/serde-rs/serde ).
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.168 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: serde
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 08:27:21 +00:00
dependabot[bot]
8c5bcb7487
build(deps): bump thiserror from 1.0.41 to 1.0.43 ( #7174 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 03:37:10 +00:00
dependabot[bot]
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]
730b10a278
build(deps): bump thiserror from 1.0.40 to 1.0.41 ( #7153 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 20:53:05 +00:00
teor
147b8fa3a8
cleanup(rust): Fix new nightly clippy warnings ( #7135 )
...
* Fix "comparison is always true" warning
* Add missing Send bound
* cargo clippy --fix --all-features --all-targets
* incorrect implementation of clone on a Copy type
* cargo fmt --all
2023-07-05 07:11:27 +00:00
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]
a8e71b3429
build(deps): bump tokio from 1.29.0 to 1.29.1 ( #7114 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.29.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 05:39:10 +00:00
teor
2add0e50a9
Release Zebra v1.0.1 ( #7090 )
...
* Update license description in README for MIT-only crates
* Draft changelog with trivial issues
* Remove trivial issues
* Update changelog entries as of commit 2a31972
and PR #7103
* Update mainnet and testnet checkpoints as of 2023-06-30
* chore: Release
* Estimate release height for Zebra v1.0.1
Block height 2139118 at 2023-06-30 01:55:38 UTC
Release is likely to be 2023-07-01
2139118 + 1152 * 3 = 2142574
Then round up to the nearest 1000.
2023-07-02 23:08:40 +00:00
dependabot[bot]
5eea111922
build(deps): bump tokio from 1.28.2 to 1.29.0 ( #7094 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.2 to 1.29.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 02:58:00 +00:00
dependabot[bot]
2a3197221e
build(deps): bump num_cpus from 1.15.0 to 1.16.0 ( #7106 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: num_cpus
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-29 23:19:25 +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
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
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
dependabot[bot]
835e7a88f0
build(deps): bump insta from 1.29.0 to 1.30.0 ( #7051 )
...
Bumps [insta](https://github.com/mitsuhiko/insta ) from 1.29.0 to 1.30.0.
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.29.0...1.30.0 )
---
updated-dependencies:
- dependency-name: insta
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-23 01:00:27 +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
c3f0f53256
refactor(app): De-duplicate and fix version handling code ( #6996 )
...
* De-duplicate app_version and user_agent code, rename to build_version
* Make RPC testnet flag forward-compatible with additional testnets
* Fix RPC tests with new argument
* Use "modified" rather than "dirty" for uncommitted changes in build metadata
* Split the vergen version into its own function
2023-06-20 02:42:06 +00:00
dependabot[bot]
0da2dcb503
build(deps): bump serde_json from 1.0.96 to 1.0.97 ( #6987 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97 )
---
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-06-16 23:43:23 +00:00
Alfredo Garcia
219d472270
fix(compatibility): Replace or add RPC content type header when applicable ( #6885 )
...
* ignore client supplied content-type header and use json always
* rename method
* add one more check to test
* Add missing proptest-impl dependency from zebrad to zebra-rpc
* change to replace only specific content type
* remove cargo mods
* refactor `insert_or_replace_content_type_header`
* add security comments
* allow variants of text/plain ocntent_type
---------
Co-authored-by: teor <teor@riseup.net>
2023-06-14 19:02:55 +00:00
Deirdre Connolly
fe859bd6a1
✨ Release 1.0.0 ✨ ( #6877 )
...
* Include zebra-* and tower-fallback versions and paths for tower-batch-control
* Remove versions for dev-dependencise
* fix(legal): Use correct licenses for tower-batch-control and zebra-network (#6927 )
* Don't modify whitespace
* Resolve rustdoc and cargo-release warnings
* Bump semver
* Re-up Cargo.lock
* Update README.md
Co-authored-by: teor <teor@riseup.net>
* Update book/src/user/docker.md
Co-authored-by: teor <teor@riseup.net>
* Update 'Future Work' section post stable release
* Add release notes to CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Remove Docker container change from the changelog
Co-authored-by: teor <teor@riseup.net>
* Point at the appropriate zebra-* crate versions
* Update ESTIMATED_RELEASE_HEIGHT to 2,121,200
* Add CHANGELOG summary of the 1.0.0 release
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Bump tower-* beta.* versions and use them
---------
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Pili Guerra <pili@piliguerra.com>
2023-06-14 04:35:45 +00:00
Deirdre Connolly
62d946d139
change(crates): Prepare for publishing crates to crates.io ( #6908 )
...
* change(crates): Publish tower-batch-control
* Cargo fields for zebra-test
* Cargo fields for tower-fallback
* Cargo fields for zebra-chain
* Cargo fields for zebra-consensus
* Cargo fields for zebra-network
* Cargo fields for zebra-node-services
* Cargo fields for zebra-rpc
* Cargo fields for zebra-script
* Cargo fields for zebra-state
* Cargo fields for zebrad
* Cargo fields for zebra-test
* Include zebra-test version and path for zebra-chain
* Include zebra-chain version and path for zebra-node-services
* Include zebra-chain version and path for zebra-script
* Include zebra-chain and zebra-test versions and paths for zebra-state
* Include zebra-* versions and paths for zebra-consensus
* Include zebra-* and tower-fallback versions and paths for tower-batch-control
* Include tower-* versions and paths for zebra-consensus
* Fixed tower-fallback license string
* Remove versions for dev-dependencise
* Update zebra-rpc/Cargo.toml
Co-authored-by: teor <teor@riseup.net>
* tower-batch-control license MUST remain MIT only
* Align zebra-network with upstream tower's MIT license
* Update zebra-test/Cargo.toml
Co-authored-by: teor <teor@riseup.net>
* Update zebra-utils/Cargo.toml
Co-authored-by: teor <teor@riseup.net>
* fix(legal): Use correct licenses for tower-batch-control and zebra-network (#6927 )
* Don't modify whitespace
* Resolve rustdoc and cargo-release warnings
* Add missing zebra internal dependency versions
* Workaround missing zebra-utils test dependency in zebrad test-only feature
* Fix missing zebra internal dependency versions
* Add README, home page, and search terms to every crate
* Fix README publish warnings
* Change tower crates to beta versions
* Add zebra-utils to the list of allowed unused dependencies
* Update tower-batch-control/Cargo.toml
* Update tower-fallback/Cargo.toml
---------
Co-authored-by: teor <teor@riseup.net>
2023-06-13 08:46:01 +00:00
teor
a18f47d5f6
fix(app): Stop panicking at startup when parsing the app version - release blocker ( #6888 )
...
* Fix a startup panic in app_version()
* Fix a potential RPC panic in get_info()
* Fix typo
2023-06-09 05:07:34 +00:00
dependabot[bot]
286ebdbf8c
build(deps): bump serde from 1.0.163 to 1.0.164 ( #6875 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 01:50:38 +00:00
Deirdre Connolly
9959a6ce04
Release 1.0.0-rc.9 ( #6821 )
...
* Bump semvers
* Update zebra-utils/README.md
* Updated mainnet checkpoints against commit b7029b8
* Add testnet checkpoints from b7029b8
* Bump zebrad rust-version to 1.70
* rust-version 1.68
Co-authored-by: teor <teor@riseup.net>
* Add CHANGELOG for 1.0.0-rc.9
* Bump estimated release height to within june 7th 2023 utc-4
* Add #6801 to CHANGELOG in anticipation
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update breaking changes in 1.0.0-rc.9 changelog
* changelog: move #6801 to Fix
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Include #6832 in the changelog
* Add missing changes to changelog
* Remove #6801 from known issues in the README
* Use the latest bug template link
---------
Co-authored-by: teor <teor@riseup.net>
2023-06-08 03:44:28 +00:00
teor
f3e330995f
fix(build): Fix new nightly clippy lints and cargo feature resolution ( #6814 )
...
* Implement minor and patch database format versions
* Log and update database format versions when opening database
* Refactor the current list of column families into a constant
* Open all available column families, including from future Zebra versions
* Refactor note commitment tree lookups to go through the height methods
* Make Sapling/Orchard note commitment tree lookup forwards compatible
* Ignore errors reading column family lists from disk
* Update format version comments and TODOs
* Correctly log newly created database formats
* Fix a new cargo lint about resolver versions
* cargo clippy --fix --all-features --all-targets
* cargo fmt --all
* Add missing tokio feature in the state, revealed by the new resolver
* Add missing dev dependencies in zebra-node-services
* Add a missing `tokio` feature from PR #6813
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-07 06:04:04 +00:00
dependabot[bot]
3cf3798927
build(deps): bump chrono from 0.4.25 to 0.4.26 ( #6799 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.25 to 0.4.26.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.25...v0.4.26 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 02:04:52 +00:00
Alfredo Garcia
eb07bb31d6
rename(state): Rename state verifiers and related code ( #6762 )
...
* rename verifiers
* rename `PreparedBlock` to `SemanticallyVerifiedBlock`
* rename `CommitBlock` to `SemanticallyVerifiedBlock`
* rename `FinalizedBlock` to `CheckpointVerifiedBlock`
* rename `CommitFinalizedBlock` to `CommitCheckpointVerifiedBlock`
* rename `FinalizedWithTrees` to `ContextuallyVerifiedBlockWithTrees`
* rename `ContextuallyValidBlock` to `ContextuallyVerifiedBlock`
* change some `finalized` variables or function arguments to `checkpoint_verified`
* fix docs
* document the difference between `CheckpointVerifiedBlock` and `ContextuallyVerifiedBlock`
* fix doc links
* apply suggestions to request
Co-authored-by: Marek <mail@marek.onl>
* apply suggestions to service
Co-authored-by: Marek <mail@marek.onl>
* apply suggestions to finalized_state.rs and write.rs
Co-authored-by: Marek <mail@marek.onl>
* fmt
* change some more variable names
* change a few missing generics
* fix checkpoint log issue
* rename more `prepared` vars `semantically_verified`
* fix test regex
* fix test regex 2
---------
Co-authored-by: Marek <mail@marek.onl>
2023-06-01 12:29:03 +00:00
dependabot[bot]
6f8c98123e
build(deps): bump chrono from 0.4.24 to 0.4.25 ( #6775 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.24 to 0.4.25.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.24...v0.4.25 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 12:57:25 +00:00
dependabot[bot]
61d3c34a78
build(deps): bump tokio from 1.28.1 to 1.28.2 ( #6777 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 21:42:30 +00:00
dependabot[bot]
dceed5a893
build(deps): bump proptest from 1.1.0 to 1.2.0 ( #6758 )
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 20:44:16 +00:00