Arya
1dfac40751
add(mempool): Verify transactions with unmined inputs in the mempool ( #8857 )
...
* Adds a parameter to `zebra_consensus::router::init()` for accepting a mempool setup argument, adds and uses an `init_test()` fn for passing a closed channel receiver in tests where no mempool service is needed in the transaction verifier.
* Adds a `mempool` argument to the transaction::Verifier constructor (and a `new_for_tests()` constructor for convenience)
* Removes `Clone` impl on `transaction::Verifier` to add mempool oneshot receiver, updates tests.
* Adds TODOs
* updates transaction verifier's poll_ready() method to setup the mempool service handle.
* Updates VerifiedSet struct used in mempool storage
* Updates mempool service and its `Storage` to use the updated `VerifiedSet` `transactions()` return type.
* updates `created_outputs` when inserting or removing a transaction from the mempool's verified set
* Adds a TODO, updates field docs
* Updates `spent_utxos()` to query the mempool for unspent outputs
* Adds `spent_mempool_outpoints` as a field on tx verifier mempool response
* Updates mempool `Downloads` to return the spent_mempool_outpoints from the tx verifier response
* Updates `Storage.insert()` to accept a list of spent mempool transaction outputs
* Adds transaction dependencies when inserting a tx in `VerifiedSet`
* polls mempool svc from tx verifier when a mempool tx that creates transparent outputs has been verified.
adds a TODO for adding a `pending_outputs` field to the mempool Storage
* Adds `pending_outputs` field on mempool Storage and responds to pending outputs requests when inserting new transactions into the mempool's verified set
* replaces `UnminedTxId` type with `transaction::Hash` in mempool's verified set
* prune pending outputs when rejecting and removing same effects.
* Remove dependent transactions from verified set when removing a tx
* updates tests
* appeases clippy.
* removes unused `len()` method
* fixes doc links
* Adds transaction dependencies to the `FullTransactions` response, let the caller handle it (required to avoid moving zip317 tx selection code to mempool)
* updates block template construction to avoid including transactions unless their dependencies have already been added.
* updates tests
* Replaces placeholder setup channel with one that sends the mempool svc to the tx verifier, adds a timeout layer, adds a TODO about a concurrency bug
* Use a single query to check for unspent outputs in the mempool
* Updates `getblocktemplate` method to consider dependencies when sorting transactions for the final template
* fixes clippy lints, removes unnecessary Option in UnspentOutput response variant
* renames type alias and method, adds a TODO to use iteration instead of recursion
* Adds mempool_removes_dependent_transactions() test
* Updates Storage and VerifiedSet clear() methods to clear pending_outputs, created_outputs, and transaction_dependencies, adds TODO to use iteration instead of recursion.
* removes outdated TODO
* Adds a TODO for reporting queued transaction verification results from the mempool from the poll_ready() method
* Adds `mempool_responds_to_await_output` test
* updates mempool_responds_to_await_output test
* Uses iteration instead of recursion in verified set's remove() method and zip317 mod's dependencies_depth() method
* Adds a mempool_request_with_mempool_output_is_accepted test for the transaction verifier
* Moves delay duration before polling the mempool to a constant, uses a shorter timeout for mempool output lookups, adds a `poll_count` to MockService, and updates `mempool_request_with_unmined_output_spends_is_accepted` to check that the transaction verifier polls the mempool after verifying a mempool transaction with transparent outputs
* adds long_poll_input_mempool_tx_ids_are_sorted test
* Adds a `excludes_tx_with_unselected_dependencies` test
* Updates a TODO
* moves `TransactionDependencies` struct to `zebra-node-services`
* Updates `FullTransactions` response variant's `transaction_dependencies` type
* updates zip317 transaction selection for block templates to include dependent transactions
* Moves and refactors zip317 tx selection test to its own module, adds an `unmined_transactions_in_blocks()` method on network
* Removes `unmined_transactions_in_blocks()` test utility fn from mempool Storage test module and replaces calls to it with calls to the new test method on Network
* Fixes spelling mistake
* Adds `includes_tx_with_selected_dependencies` test
* fixes zip317 block construction issue
* Fixes vectors test
* Update zebra-node-services/src/mempool.rs
* restores `tip_rejected_exact` type
* updates affected tests
* Documents the new argument in `Storage::insert()`, updates outdated comment
* Update zebrad/src/components/mempool/storage/verified_set.rs
* fixes potential issue with calling buffered mempool's poll_ready() method without calling it.
* Avoids removing dependent transactions of transactions that have been mined onto the best chain.
* Updates `spent_utxos()` method documentation
* Avoids sorting getblocktemplate transactions in non-test compilations
* documents PendingOutputs struct
* Apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
* cargo fmt
* Applies suggestions from code review
Avoids unnecessarily rejecting dependent transactions of randomly evicted mempool transactions.
Updates `TransactionDependencies::remove_all()` to omit provided transaction id from the list of removed transaction ids.
* Applies suggestions from code review.
* Adds minor comments
* Update zebrad/src/components/mempool/storage/verified_set.rs
Co-authored-by: Marek <mail@marek.onl>
* Remove an outdated comment (#9013 )
---------
Co-authored-by: Marek <mail@marek.onl>
2024-11-18 12:16:21 +00:00
Conrado Gouvea
77f14601c1
chore: update CHANGELOG to better convey the 2.0.0 issue ( #9007 )
...
* chore: update CHANGELOG to better convey the 2.0.0 issue
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-11-18 11:36:35 +00:00
Gustavo Valverde
2a6e184086
fix(mergify): remove deprecated `speculative_checks` option ( #9033 )
...
While using Mergify's configuration checker, this issue was not raised, but it's now showing in some PR's summaries, as in https://github.com/ZcashFoundation/zebra/pull/9026/checks?check_run_id=33066692861
2024-11-18 11:08:58 +00:00
Cypher Pepe
7d37f77059
fix: typos correction docs ( #9014 )
...
* typo 0005-treestate.md
* typo xxxx-block-subsidy.md
* typo continuous-delivery.md
* typo docker.md
* typo shielded-scan.md
2024-11-14 13:15:26 +00:00
pinglanlu
987a34a6e0
chore: remove redundant words in comment ( #9015 )
...
Signed-off-by: pinglanlu <pinglanlu@outlook.com>
2024-11-14 13:15:21 +00:00
Gustavo Valverde
ac90773331
ref(mergify): use the the configuration format and keys ( #9018 )
2024-11-14 12:03:51 +00:00
dependabot[bot]
4eb285de50
build(deps): bump rlespinasse/github-slug-action in the devops group ( #9002 )
...
Bumps the devops group with 1 update: [rlespinasse/github-slug-action](https://github.com/rlespinasse/github-slug-action ).
Updates `rlespinasse/github-slug-action` from 4 to 5
- [Release notes](https://github.com/rlespinasse/github-slug-action/releases )
- [Commits](https://github.com/rlespinasse/github-slug-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: rlespinasse/github-slug-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 12:51:57 +00:00
Gustavo Valverde
edff643c08
feat(actions): migrate Mergify to GitHub's Merge Queue ( #9005 )
...
This is an initial step before completely removing Mergify, to keep the duality betwen the two to avoid downtime with queue management
2024-11-11 12:51:51 +00:00
Gustavo Valverde
f919da3aca
chore(ci): do not default to `tracing` mode in jobs execution ( #9004 )
2024-11-09 00:03:39 +00:00
idky137
c26c3f2be1
add pub functionality for zaino ( #8964 )
...
* add pub functionality for zaino
* updated doc comment with review suggestion
2024-11-05 19:15:27 +00:00
Gustavo Valverde
d7fbde3176
fix(actions): do not require the `get-disk-name` job for forks ( #8988 )
2024-11-05 12:30:00 +00:00
dependabot[bot]
6a82531585
build(deps): bump the devops group across 1 directory with 5 updates ( #8993 )
...
Bumps the devops group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `4.2.1` | `4.2.2` |
| [google-github-actions/auth](https://github.com/google-github-actions/auth ) | `2.1.6` | `2.1.7` |
| [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud ) | `2.1.1` | `2.1.2` |
| [jontze/action-mdbook](https://github.com/jontze/action-mdbook ) | `3.0.0` | `3.0.1` |
| [docker/scout-action](https://github.com/docker/scout-action ) | `1.14.0` | `1.15.0` |
Updates `actions/checkout` from 4.2.1 to 4.2.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.2.1...v4.2.2 )
Updates `google-github-actions/auth` from 2.1.6 to 2.1.7
- [Release notes](https://github.com/google-github-actions/auth/releases )
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/auth/compare/v2.1.6...v2.1.7 )
Updates `google-github-actions/setup-gcloud` from 2.1.1 to 2.1.2
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases )
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v2.1.1...v2.1.2 )
Updates `jontze/action-mdbook` from 3.0.0 to 3.0.1
- [Release notes](https://github.com/jontze/action-mdbook/releases )
- [Changelog](https://github.com/jontze/action-mdbook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jontze/action-mdbook/compare/v3.0.0...v3.0.1 )
Updates `docker/scout-action` from 1.14.0 to 1.15.0
- [Release notes](https://github.com/docker/scout-action/releases )
- [Commits](https://github.com/docker/scout-action/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: google-github-actions/auth
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: google-github-actions/setup-gcloud
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: jontze/action-mdbook
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: docker/scout-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 11:47:35 +00:00
Gustavo Valverde
75fae66dc6
fix(ci): fail cache disk creation if no db version is found ( #8987 )
...
In some cases Zebra logs might not output the database version, and thus we should avoid creating a disk without a version.
Before this change, a disk was created without a db version number, just indicating a `-v-`, that caused other tests to fail as an actual version was not found in their regexes.
2024-11-04 18:42:51 +00:00
Gustavo Valverde
7b31711306
ref: adjust GCP instances resources to better fit requirements ( #8986 )
...
Previously, most of our deployed instances needed to sync the whole blockchain from genesis, but after implementing the mounting of cached states for the release instances, this is no longer required.
Main changes:
- Reduce the boot disk size for CD images to 10GB (in CI Zebra might need to rebuild based on test flags, requiring more disk space)
- Use `pd-standard` instead of `pd-ssd` for the boot disk
- Use `pd-balanced` instead of `pd-ssd` for the mounted disk (where most of the reads and writes happens)
- Change our `GCP_SMALL_MACHINE` from `c2-standard-4` (vCPUs: 4, RAM: 16 GiB) to `c2d-standard-2` (vCPUs: 2, RAM: 8 GiB)
- Keep long running tests `is_long_test` with `GCP_LARGE_MACHINE` (`c2d-standard-16`) and other with the new `GCP_SMALL_MACHINE` configuration (`c2d-standard-2`)
2024-11-04 10:44:58 +00:00
Arya
83921bc01a
Adds rust-toolchain.toml ( #8985 )
2024-11-01 09:23:42 +00:00
Conrado Gouvea
54fe39a91b
book: add section about private testnet testing ( #8937 )
...
* book: add section about private testnet testing
* Apply suggestions from code review
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: Pili Guerra <mpguerra@users.noreply.github.com>
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-10-30 19:14:44 +00:00
Marek
fef500a728
chore: Release v2.0.1 ( #8979 )
...
* Run `cargo update`
* chore: Release
* Update `release-crates-dry-run.sh`
* Update `ESTIMATED_RELEASE_HEIGHT`
* Update `CHANGELOG.md`
* Update `ESTIMATED_RELEASE_HEIGHT`
2024-10-30 11:41:41 -03:00
Marek
d930030087
change(deps): Use ECC deps with activation height for NU6 ( #8978 )
...
* Remove temporary dependency patches
We need to enable the `legacy-api` feature of `incrementalmerkletree` to
be able to serialize note commitment trees using an old serialization
format for the `z_gettreestate` RPC.
* Use spaces instead of a tab
* Bump ECC deps to match `zcashd`
2024-10-29 20:33:44 -03:00
Marek
f45f6f282c
chore: Release v2.0.0 ( #8974 )
...
* Update `CHANGELOG.md`
* Update EOS
* Update CHANGELOG.md
Co-authored-by: Arya <aryasolhi@gmail.com>
* Update `release crates` script
* chore: Release
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-10-25 22:52:19 +00:00
Marek
8b4ecc69d7
chore: Update `Cargo.lock` ( #8969 )
...
* Update `Cargo.lock`
* Update `deny.toml`
2024-10-25 19:36:17 +00:00
dependabot[bot]
a941b67a57
build(deps): bump the prod group across 1 directory with 18 updates ( #8958 )
...
* build(deps): bump the prod group across 1 directory with 18 updates
Bumps the prod group with 15 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.18` | `4.5.20` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.5.0` | `2.6.0` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.210` | `1.0.211` |
| [futures](https://github.com/rust-lang/futures-rs ) | `0.3.30` | `0.3.31` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.40.0` | `1.41.0` |
| [tower](https://github.com/tower-rs/tower ) | `0.4.13` | `0.5.1` |
| [pin-project](https://github.com/taiki-e/pin-project ) | `1.1.5` | `1.1.6` |
| [metrics](https://github.com/metrics-rs/metrics ) | `0.23.0` | `0.24.0` |
| [hyper](https://github.com/hyperium/hyper ) | `1.4.1` | `1.5.0` |
| [bytes](https://github.com/tokio-rs/bytes ) | `1.7.2` | `1.8.0` |
| [metrics-exporter-prometheus](https://github.com/metrics-rs/metrics ) | `0.15.3` | `0.16.0` |
| [once_cell](https://github.com/matklad/once_cell ) | `1.19.0` | `1.20.2` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.128` | `1.0.132` |
| [primitive-types](https://github.com/paritytech/parity-common ) | `0.12.2` | `0.13.1` |
| [serde_with](https://github.com/jonasbb/serde_with ) | `3.9.0` | `3.11.0` |
Updates `clap` from 4.5.18 to 4.5.20
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.18...clap_complete-v4.5.20 )
Updates `indexmap` from 2.5.0 to 2.6.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.5.0...2.6.0 )
Updates `serde` from 1.0.210 to 1.0.211
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.211 )
Updates `futures` from 0.3.30 to 0.3.31
- [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.30...0.3.31 )
Updates `tokio` from 1.40.0 to 1.41.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.40.0...tokio-1.41.0 )
Updates `tower` from 0.4.13 to 0.5.1
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](https://github.com/tower-rs/tower/compare/tower-0.4.13...tower-0.5.1 )
Updates `pin-project` from 1.1.5 to 1.1.6
- [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.5...v1.1.6 )
Updates `metrics` from 0.23.0 to 0.24.0
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-v0.23.0...metrics-v0.24.0 )
Updates `hyper` from 1.4.1 to 1.5.0
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.4.1...v1.5.0 )
Updates `bytes` from 1.7.2 to 1.8.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.7.2...v1.8.0 )
Updates `metrics-exporter-prometheus` from 0.15.3 to 0.16.0
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml )
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-exporter-prometheus-v0.15.3...metrics-exporter-prometheus-v0.16.0 )
Updates `once_cell` from 1.19.0 to 1.20.2
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.2 )
Updates `serde_json` from 1.0.128 to 1.0.132
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.132 )
Updates `primitive-types` from 0.12.2 to 0.13.1
- [Commits](https://github.com/paritytech/parity-common/commits/primitive-types-v0.13.1 )
Updates `serde_with` from 3.9.0 to 3.11.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.9.0...v3.11.0 )
Updates `futures-util` from 0.3.30 to 0.3.31
- [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.30...0.3.31 )
Updates `syn` from 2.0.79 to 2.0.82
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.79...2.0.82 )
Updates `futures-core` from 0.3.30 to 0.3.31
- [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.30...0.3.31 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: tower
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: metrics
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: metrics-exporter-prometheus
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: primitive-types
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: futures-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: futures-core
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
* downgrade `primitive-types` and `tower`
* cargo vet
* 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>
Co-authored-by: Marek <mail@marek.onl>
2024-10-25 17:33:11 +00:00
Alfredo Garcia
8f887f2ed4
fix(docs): Update documents for cookie auth where needed ( #8965 )
...
* update documentation related auth cookie method for rpcs in the zebra book
* Update book/src/user/lightwalletd.md
* update rpc auth statement
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-10-25 16:13:01 +00:00
Marek
4097bdb364
chore: Update docs ( #8970 )
...
* Update badges
* Simplify Zebra's description
* Change "Building Zebra" to "Manual Build"
* Update "Known Issues"
* Fix a typo
2024-10-25 14:56:12 +00:00
Marek
f5e872a4e2
chore: Update Mainnet and Testnet checkpoints ( #8968 )
...
* Update Mainnet checkpoints
* Update Testnet checkpoints
2024-10-25 14:35:14 +00:00
Arya
64a7277c0a
Updates `total_size_on_disk` to be the total sst file size ( #8966 )
2024-10-25 12:55:41 +00:00
Marek
0b1562d4b6
change: Set NU6 Mainnet activation height and network protocol version ( #8960 )
...
* Update docs for min network protocol versions
* Add a TODO for updating init net protocol version
* Update `CURRENT_NETWORK_PROTOCOL_VERSION`
* Add NU6 Mainnet activation height
* Extend docs for funding streams
* Extend tests for Mainnet funding streams
* Update snapshots
2024-10-24 20:15:32 +00:00
Arya
46c6b6eb38
fix(docs): Fix NU6-related documentation ( #8949 )
...
* replaces some potential panics with error in block verifier checks
* fixes outstanding documentation issues listed as examples in audit report
* fixes remaining TODOs in `parameters::network::subsidy` module.
* Addresses other TODOs added during NU6 implementation, fixes a TODO in `subsidy_is_valid()` about using the network slow start interval parameters when PoW is disabled.
* updates snapshot
2024-10-22 19:19:24 +00:00
Alfredo Garcia
b1ffc89454
feat(rpc): Cookie auth system for the RPC endpoint ( #8900 )
...
* add a cookie auth system for the rpc endpoint
* fix rand import
* fixes based on cookie method research
* add and use `cookie_dir` config, rpc client changes
* add missing dependency
* add a enable_cookie auth option to config and use it in all tests
* get rid of the unauthenticated method
* change config in qa python tests to run unauthenticated
* change return types in cookie methods
* change comment
* fix(rpc): Refactor the cookie-based RPC authentication (#8940 )
* Refactor the cookie-based RPC authentication
* Rephrase docs
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
* clippy
---------
Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-10-22 09:45:26 +00:00
Arya
47b7614ea8
updates minimum supported Rust version in Zebrad and rust verison in Dockerfile ( #8956 )
2024-10-22 00:41:34 +00:00
Alfredo Garcia
01fa12b959
ignore some directories in codespell checks ( #8953 )
2024-10-21 19:31:19 +00:00
Arya
9073928bf0
Fixes a couple new clippy lints ( #8950 )
2024-10-21 12:49:13 +00:00
Gustavo Valverde
a182ffe098
fix(actions): run `get-disk-name` on all workflow events ( #8942 )
2024-10-17 15:22:00 +00:00
Gustavo Valverde
cc78b6ae10
ref(actions): allow more flexibility on cached states usage ( #8908 )
...
* ref(actions): allow more flexibility on cached states usage
* chore: improve message
* fix(actions): deploy single instances even if no cached state is needed
* rev: apply suggestions from code review
Co-authored-by: Marek <mail@marek.onl>
* fix: wrong use of `failure()`
* chore: remove extra file
* chore: `echo` the pattern for easier debugging
* chore: add extra details to image naming convention
Addresses https://github.com/ZcashFoundation/zebra/pull/8908#discussion_r1797679586
* ref(actions): use a better logic for disk image selection
This supersedes https://github.com/ZcashFoundation/zebra/pull/8936/ using a different approach with `${VAR:-value}`
---------
Co-authored-by: Marek <mail@marek.onl>
2024-10-17 13:08:05 +00:00
dependabot[bot]
819384053f
build(deps): bump Swatinem/rust-cache in the devops group ( #8938 )
...
Bumps the devops group with 1 update: [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ).
Updates `Swatinem/rust-cache` from 2.7.3 to 2.7.5
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.7.3...v2.7.5 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-17 13:05:30 +00:00
Alfredo Garcia
b89492168a
Release Zebra (`v2.0.0-rc.0`) ( #8927 )
...
* changelog
* add panic fix to changelog
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
* chore: Release
* update release-crates-dry-run workflow script
* fix command in release script
* change end of support
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-10-11 17:21:07 +00:00
Arya
fea9f46fbb
Fixes a panic ( #8928 )
2024-10-10 23:34:42 +00:00
Alfredo Garcia
f2e7bc95ce
feat(regtest): Add regtest halving interval and port test ( #8888 )
...
* add halving interval to regtest and to custom testnet
* add nuparams.py rpc test
* fix inconsistency in nu6 name in rpc methods
* rename `halving_interval` to `pre_blossom_halving_interval` in the config
* make fixes
* Suggestion for "feat(regtest): Add regtest halving interval and port test" (#8894 )
* adds `height_for_halving_index()` and `num_halvings()` fns
* avoid unnecessary panic
* avoid using constant pre/post blossom halving intervals in num_halvings()
* make regtest and testnet constant more private
* move `height_for_halving_index`
* fmt
* add a `funding_stream_address_change_interval` method
* add checked operations to `height_for_halving_index` fn
* add post_blossom interval as paramneters + other refactors
* rename function
* fix docs
* move constant
* Updates `new_regtest()` method to return a Testnet without funding streams, updates funding stream setter methods to set a flag indicating that parameters affecting the funding stream address period should be locked, updates the setter methods for parameters that affect the funding stream address period to panic if those parameters should be locked. (#8921 )
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-10-10 18:26:54 +00:00
Alfredo Garcia
8cd4d96085
build(deps): Upgrade ECC crates for Zebra `v2.0.0-rc.0` release candidate ( #8918 )
...
* update ECC dependencies for release candidate
* cargo vet
* fix denies
* fix parsing, remove not needed entries
* update `secp256k1`
* remove elasticsearch from denies
* readd elasticsearch from deny.toml
* downgrade to revisions
* add more patches
* typo in comment
* cargo vet changes
* update denies
* add more git sources
* Apply suggestions from code review
Co-authored-by: Arya <aryasolhi@gmail.com>
* update cargo.lock
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2024-10-10 17:09:04 +00:00
Alfredo Garcia
1600edebef
upgrade checkpoints ( #8924 )
2024-10-10 13:19:27 +00:00
dependabot[bot]
a28210300f
build(deps): bump the devops group with 3 updates ( #8919 )
...
Bumps the devops group with 3 updates: [actions/checkout](https://github.com/actions/checkout ), [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) and [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ).
Updates `actions/checkout` from 4.2.0 to 4.2.1
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.2.0...v4.2.1 )
Updates `tj-actions/changed-files` from 45.0.2 to 45.0.3
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v45.0.2...v45.0.3 )
Updates `docker/setup-buildx-action` from 3.6.1 to 3.7.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.6.1...v3.7.1 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 11:02:09 +00:00
Skylar Saveland
3220520592
Update docker-compose.yml - tiny typo ( #8893 )
2024-10-07 22:14:03 +00:00
Arya
63b866544f
Updates post-NU6 funding stream address for FPF on Mainnet ( #8914 )
2024-10-07 21:05:03 +00:00
Arya
7313d5304b
Responds with a maximum of 160 block headers ( #8913 )
2024-10-07 20:11:22 +00:00
dependabot[bot]
841047aa37
build(deps): bump the prod group across 1 directory with 24 updates ( #8899 )
...
* build(deps): bump the prod group across 1 directory with 24 updates
Bumps the prod group with 24 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.13` | `4.5.18` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.3.0` | `2.5.0` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.204` | `1.0.210` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.39.2` | `1.40.0` |
| [tokio-stream](https://github.com/tokio-rs/tokio ) | `0.1.15` | `0.1.16` |
| [tower](https://github.com/tower-rs/tower ) | `0.4.13` | `0.5.0` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.63` | `1.0.64` |
| [hyper-util](https://github.com/hyperium/hyper-util ) | `0.1.6` | `0.1.9` |
| [bytes](https://github.com/tokio-rs/bytes ) | `1.7.1` | `1.7.2` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.6` | `1.11.0` |
| [insta](https://github.com/mitsuhiko/insta ) | `1.39.0` | `1.40.0` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.122` | `1.0.128` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.11.0` | `3.13.0` |
| [prost](https://github.com/tokio-rs/prost ) | `0.13.1` | `0.13.3` |
| [tonic](https://github.com/hyperium/tonic ) | `0.12.1` | `0.12.3` |
| [tonic-build](https://github.com/hyperium/tonic ) | `0.12.1` | `0.12.3` |
| [primitive-types](https://github.com/paritytech/parity-common ) | `0.12.2` | `0.13.1` |
| [uint](https://github.com/paritytech/parity-common ) | `0.9.5` | `0.10.0` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.11` | `0.7.12` |
| [rlimit](https://github.com/Nugine/rlimit ) | `0.10.1` | `0.10.2` |
| [tonic-reflection](https://github.com/hyperium/tonic ) | `0.12.1` | `0.12.3` |
| [owo-colors](https://github.com/jam1garner/owo-colors ) | `4.0.0` | `4.1.0` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.72` | `2.0.79` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.36` | `1.0.37` |
Updates `clap` from 4.5.13 to 4.5.18
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.13...clap_complete-v4.5.18 )
Updates `indexmap` from 2.3.0 to 2.5.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.5.0 )
Updates `serde` from 1.0.204 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.210 )
Updates `tokio` from 1.39.2 to 1.40.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.40.0 )
Updates `tokio-stream` from 0.1.15 to 0.1.16
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.15...tokio-stream-0.1.16 )
Updates `tower` from 0.4.13 to 0.5.0
- [Release notes](https://github.com/tower-rs/tower/releases )
- [Commits](https://github.com/tower-rs/tower/compare/tower-0.4.13...tower-0.5.0 )
Updates `thiserror` from 1.0.63 to 1.0.64
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64 )
Updates `hyper-util` from 0.1.6 to 0.1.9
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.6...v0.1.9 )
Updates `bytes` from 1.7.1 to 1.7.2
- [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.7.1...v1.7.2 )
Updates `regex` from 1.10.6 to 1.11.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.10.6...1.11.0 )
Updates `insta` from 1.39.0 to 1.40.0
- [Release notes](https://github.com/mitsuhiko/insta/releases )
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.39.0...1.40.0 )
Updates `serde_json` from 1.0.122 to 1.0.128
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.122...1.0.128 )
Updates `tempfile` from 3.11.0 to 3.13.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.11.0...v3.13.0 )
Updates `prost` from 0.13.1 to 0.13.3
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.13.1...v0.13.3 )
Updates `tonic` from 0.12.1 to 0.12.3
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.1...v0.12.3 )
Updates `tonic-build` from 0.12.1 to 0.12.3
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.1...v0.12.3 )
Updates `primitive-types` from 0.12.2 to 0.13.1
- [Commits](https://github.com/paritytech/parity-common/commits/primitive-types-v0.13.1 )
Updates `uint` from 0.9.5 to 0.10.0
- [Commits](https://github.com/paritytech/parity-common/compare/uint-v0.9.5...uint-v0.10.0 )
Updates `tokio-util` from 0.7.11 to 0.7.12
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.11...tokio-util-0.7.12 )
Updates `rlimit` from 0.10.1 to 0.10.2
- [Changelog](https://github.com/Nugine/rlimit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nugine/rlimit/compare/v0.10.1...v0.10.2 )
Updates `tonic-reflection` from 0.12.1 to 0.12.3
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.12.1...v0.12.3 )
Updates `owo-colors` from 4.0.0 to 4.1.0
- [Commits](https://github.com/jam1garner/owo-colors/compare/v4.0.0...v4.1.0 )
Updates `syn` from 2.0.72 to 2.0.79
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.72...2.0.79 )
Updates `quote` from 1.0.36 to 1.0.37
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tower
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: hyper-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: prost
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: primitive-types
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: uint
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: rlimit
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: tonic-reflection
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: owo-colors
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: prod
...
Signed-off-by: dependabot[bot] <support@github.com>
* downgrade `primitive-types` and `tower`
* fix docs and deprecated stuff
* cargo vet updates
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2024-10-07 20:11:13 +00:00
dependabot[bot]
abfb9ce29c
build(deps): bump the devops group with 4 updates ( #8905 )
...
Bumps the devops group with 4 updates: [actions/checkout](https://github.com/actions/checkout ), [google-github-actions/auth](https://github.com/google-github-actions/auth ), [codecov/codecov-action](https://github.com/codecov/codecov-action ) and [docker/build-push-action](https://github.com/docker/build-push-action ).
Updates `actions/checkout` from 4.1.7 to 4.2.0
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.7...v4.2.0 )
Updates `google-github-actions/auth` from 2.1.5 to 2.1.6
- [Release notes](https://github.com/google-github-actions/auth/releases )
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google-github-actions/auth/compare/v2.1.5...v2.1.6 )
Updates `codecov/codecov-action` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.5.0...v4.6.0 )
Updates `docker/build-push-action` from 6.7.0 to 6.9.0
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.7.0...v6.9.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
- dependency-name: google-github-actions/auth
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: devops
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 15:01:02 +00:00
Gustavo Valverde
3bf4bc82d6
fix(actions): disk regeneration does not required a cached state ( #8910 )
2024-10-04 13:51:13 +00:00
dependabot[bot]
689a77637b
build(deps): bump docker/scout-action in the devops group ( #8890 )
...
Bumps the devops group with 1 update: [docker/scout-action](https://github.com/docker/scout-action ).
Updates `docker/scout-action` from 1.13.0 to 1.14.0
- [Release notes](https://github.com/docker/scout-action/releases )
- [Commits](https://github.com/docker/scout-action/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: docker/scout-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: devops
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 06:55:29 +00:00
Gustavo Valverde
ac1242a189
feat(ci): add Docker Scout vulnerabilities scanning ( #8871 )
...
* feat(ci): add Docker Scout vulnerabilities scanning
* fix(scout): add missing `environment` command
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2024-09-24 11:52:04 +00:00
Arya
d6301a6d13
Returns an error instead of panicking when the relevant chain is empty ( #8883 )
2024-09-23 13:22:14 +00:00
Alfredo Garcia
c8280d488f
feat(tests): Move the RPC tests framework from zcashd ( #8866 )
...
* move the rpc-tests framework from zcashd
* ignore pycache
* remove all tests from the list except getmininginfo
* iimprove a bit the readme
* change some env variable names
* add cache, add reindex test
* fix the paralell framework
* fix env variables
* change tests order
* update docs with env variable name change
* fix binary location
* reduce base config
* restore env var
* ignore stderr in the output
2024-09-20 16:36:20 +00:00