teor
ae21e36018
fix(rpc): Add `getblock` RPC fields to support the latest version of `zcash/lightwalletd` ( #6134 )
...
* Stabilise the BestChainBlockHash state request
* Always include the block hash in the getblock RPC response
* Make the lightwalletd integration tests compatible with zcash/lightwalletd
* Update getblock RPC snapshots
* Return the correct missing block error code
2023-02-14 08:52:58 +00:00
dependabot[bot]
a88d5cb5bd
build(deps): bump tokio-util from 0.7.6 to 0.7.7 ( #6150 )
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.6...tokio-util-0.7.7 )
---
updated-dependencies:
- dependency-name: tokio-util
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-02-14 04:08:30 +00:00
dependabot[bot]
909ae772a3
build(deps): bump sentry from 0.29.2 to 0.29.3 ( #6127 )
...
Bumps [sentry](https://github.com/getsentry/sentry-rust ) from 0.29.2 to 0.29.3.
- [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.29.2...0.29.3 )
---
updated-dependencies:
- dependency-name: sentry
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-02-14 04:08:04 +00:00
teor
9452487c61
fix(state): Fix minute-long delays in block verification after a chain fork ( #6122 )
...
* Split Chain fields into sections
* Replace Chain.sprout_note_commitment_tree with a lookup method
* Add TODOs
* Show full debug info when tests fail because chains aren't equal
* Print sprout and sapling tree Nodes as hex when debugging
* Correctly revert temporary finalized tip trees and anchors
* Fix tests
* Refactor removal functions
* Replace the Chain.sapling_note_commitment_tree field with a lookup method
* Replace the Chain.orchard_note_commitment_tree field with a lookup method
* Replace the Chain.history_tree field with a lookup method and remove redundant code
* Update comments
* Ignore clippy::unwrap_in_result
* Remove redundant fork() Result
* Put conditional code in blocks
* fastmod history_tree_at_tip history_block_commitment_tree zebra-state
2023-02-13 21:44:31 +00:00
dependabot[bot]
09faf48e1f
build(deps): bump rocksdb from 0.19.0 to 0.20.1 ( #6144 )
...
* build(deps): bump rocksdb from 0.19.0 to 0.20.1
Bumps [rocksdb](https://github.com/rust-rocksdb/rust-rocksdb ) from 0.19.0 to 0.20.1.
- [Release notes](https://github.com/rust-rocksdb/rust-rocksdb/releases )
- [Changelog](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-rocksdb/rust-rocksdb/compare/v0.19.0...v0.20.1 )
---
updated-dependencies:
- dependency-name: rocksdb
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Ignore duplicate bindgen dependency until zcash_script updates
---------
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-02-13 20:01:45 +00:00
dependabot[bot]
4eb27dda06
build(deps): bump blake2b_simd from 1.0.0 to 1.0.1 ( #6143 )
...
Bumps [blake2b_simd](https://github.com/oconnor663/blake2_simd ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/1.0.0...1.0.1 )
---
updated-dependencies:
- dependency-name: blake2b_simd
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-02-13 02:30:07 +00:00
Marius Kjærstad
3785e511ce
Update copyright year in Apache License ( #6140 )
...
Update copyright year in Apache License
2023-02-12 22:46:21 +00:00
Marius Kjærstad
d8bef0aed5
Update copyright year in MIT License ( #6131 )
...
Update copyright year in MIT License
2023-02-12 22:46:11 +00:00
dependabot[bot]
ebe3a3e4b7
build(deps): bump blake2s_simd from 1.0.0 to 1.0.1 ( #6145 )
...
Bumps [blake2s_simd](https://github.com/oconnor663/blake2_simd ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/1.0.0...1.0.1 )
---
updated-dependencies:
- dependency-name: blake2s_simd
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-02-12 22:45:43 +00:00
dependabot[bot]
0cf171afbe
build(deps): bump tokio-util from 0.7.5 to 0.7.6 ( #6142 )
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.7.5 to 0.7.6.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.5...tokio-util-0.7.6 )
---
updated-dependencies:
- dependency-name: tokio-util
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-02-12 22:45:12 +00:00
dependabot[bot]
5f3f53e3a9
build(deps): bump serde_json from 1.0.92 to 1.0.93 ( #6126 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.92...v1.0.93 )
---
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-02-12 22:44:35 +00:00
teor
a8370a8eda
Remove unused impl ZcashDeserialize for Height ( #6139 )
2023-02-10 20:24:46 +00:00
Jack Gavigan
fc955152b7
Update zebra-dependencies-for-audit.md ( #6141 )
2023-02-10 14:20:53 +00:00
Arya
e1b8c43cfa
corrects panic/timer msg for CheckBestChainTipNullifiersAndAnchors request ( #6135 )
2023-02-10 09:54:11 +00:00
dependabot[bot]
4fda51f88f
build(deps): bump tokio-util from 0.7.4 to 0.7.5 ( #6128 )
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.4...tokio-util-0.7.5 )
---
updated-dependencies:
- dependency-name: tokio-util
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-02-10 09:53:42 +00:00
dependabot[bot]
6adf2b5fd8
build(deps): bump vergen from 7.5.0 to 7.5.1 ( #6125 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/7.5.0...7.5.1 )
---
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-02-10 00:26:10 +00:00
dependabot[bot]
37af87cdfb
build(deps): bump google-github-actions/setup-gcloud from 1.0.1 to 1.1.0 ( #6100 )
...
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud ) from 1.0.1 to 1.1.0.
- [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/v1.0.1...v1.1.0 )
---
updated-dependencies:
- dependency-name: google-github-actions/setup-gcloud
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-02-09 19:55:09 +00:00
dependabot[bot]
0caf97d795
build(deps): bump tj-actions/changed-files from 35.5.0 to 35.5.2 ( #6123 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 35.5.0 to 35.5.2.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v35.5.0...v35.5.2 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
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-02-09 19:54:45 +00:00
teor
4f289299fd
change(rpc): Simplify `getdifficulty` RPC implementation ( #6105 )
...
* Use existing Work type to calculate get_difficulty RPC, round in f64 tests
* Use a valid difficulty in all snapshots
* Explain compatibility TODO
* Fix typo
* Document consensus rules in the difficulty module
* Calculate the difficulty using the high 128 bits of the U256 values
* Require 6 significant figures of accuracy in the difficulty unit tests
* fixup! Calculate the difficulty using the high 128 bits of the U256 values
* Update snapshots
2023-02-08 23:41:41 +00:00
dependabot[bot]
a7c784f21d
build(deps): bump toml from 0.7.1 to 0.7.2 ( #6120 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/toml-rs/toml/releases )
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.1...toml-v0.7.2 )
---
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-02-08 23:41:16 +00:00
teor
4e12a289a6
Update audit scope based on audit-v1.0.0-rc.0 tag ( #6109 )
...
* Update audit scope based on audit-v1.0.0-rc.0 branch
* Minor wording fixes and clarifications
Co-authored-by: Arya <aryasolhi@gmail.com>
* Set scope for `reddsa` and explain code movement
* Just base everything on rc.0
* I'm just about to make it into a tag, not a branch
* Make it clearer that the Crates categories are Zebra crates
* Add reddsa and redjubjub
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
* Fix links to red(jubjub|dsa) signing_key
* Add missing space
* Remove `redjubjub` from "Out of scope"
* Fix formatting
* Make previous audit clearer
* Add missing space
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-02-08 00:48:30 +00:00
teor
daba6d7744
add(rpc): Add extra `getblock` RPC fields used by some mining pools ( #6097 )
...
* clippy: remove unnecessary return statement
* Add hash, height, and confirmations fields to getblock RPC
* Remove a test that is already checked by snapshots
* Document the performance requirements of the getblock RPC
* Update snapshots, use new naming scheme
* Fix off-by-one error in confirmations
* Fix spelling mistakes
2023-02-07 01:25:34 +00:00
Alfredo Garcia
43cf7e6852
implement `getdifficulty` rpc method ( #6099 )
2023-02-07 00:01:45 +00:00
teor
311daaa19e
Add 2 full sync CI jobs and 10 hours to the Rust test time limit ( #6103 )
2023-02-06 21:16:28 +00:00
teor
7c36ff611f
Add missing PRs to the changelog ( #6106 )
2023-02-06 18:55:28 +00:00
dependabot[bot]
00be2da067
build(deps): bump serde_json from 1.0.91 to 1.0.92 ( #6111 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.91 to 1.0.92.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.91...v1.0.92 )
---
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-02-06 18:01:38 +00:00
teor
8c0176fca5
change(deps): Upgrade to the zcash_primitives 0.10 API ( #6087 )
...
* bump zcash_primitives and proofs to 0.10.0
* Update to latest Sapling API
* Update Cargo.lock
2023-02-06 15:23:13 +00:00
dependabot[bot]
c4032e2b7f
build(deps): bump hyper from 0.14.23 to 0.14.24 ( #6094 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.23 to 0.14.24.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.24/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.23...v0.14.24 )
---
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-02-06 00:32:06 +00:00
Arya
d67b3b641d
removes excessive logs, adds docs. ( #6102 )
2023-02-05 22:18:18 +00:00
Arya
0aab3df731
fix(test): avoid failing getblocktemplate acceptance test when the chain tip changes ( #6091 )
...
* adds basic usage of long polling in gbt test
* adds !submit_old check before cancelling proposing a new template
* Removes break statement in long polling task
* Update zebrad/tests/common/rpc_client.rs
Co-authored-by: teor <teor@riseup.net>
* use blocking_send and watch channel
* fix "cannot block the current thread from within a runtime"
* Reduces interval between proposals and increases num proposals required.
* Runs rate-limiting sleeps in parallel to validation
* corrects comment.
---------
Co-authored-by: teor <teor@riseup.net>
2023-02-03 05:48:49 +00:00
teor
a51bc2edd5
Make the verbosity argument optional in the getblock RPC ( #6092 )
2023-02-03 02:27:29 +00:00
Arya
0793eaf687
change(rpc): add validateaddress method ( #6086 )
...
* adds validate_address method
* Adds snapshot/vectors tests
* Checks that the address is transparent
* Removes unused pubkey/scriptPubKey fields
* adds snapshot for invalid addresses, updates network mismatch log
* simplifies is_transparent method
* Returns isvalid: false instead of conversion error
2023-02-03 02:26:58 +00:00
teor
dc43dca06f
Log block submit successes and failures ( #6069 )
2023-02-02 03:27:06 +00:00
teor
d575e5b40c
fix(README): Fix `lightwalletd` instructions to be compatible with Zebra ( #6088 )
...
* Move detailed lightwalletd instructions out of README.md
* Move details from README into the lightwalletd instructions
2023-02-02 03:26:51 +00:00
Alfredo Garcia
b327d5bb7d
fix(getblocktemplate): change error format in proposals ( #6044 )
...
* change error format in proposals
* use trim_matches
* make regex feature dependency
* remove regex fully
* remove char in comment to leave the file as it was before
* remove assertion lines from snapshots
2023-02-02 01:35:13 +00:00
dependabot[bot]
1b1201113e
build(deps): bump bytes from 1.3.0 to 1.4.0 ( #6075 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.3.0 to 1.4.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.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: bytes
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-02-01 23:27:55 +00:00
Conrado Gouvea
26c86cc088
use `reddsa` crate and remove duplicated RedPallas code ( #6013 )
...
* use `reddsa` crate and remove duplicated RedPallas code
* update old references to 'redpallas' crate
* Use reddsa 0.4.0
* update Cargo.lock
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2023-02-01 23:27:28 +00:00
dependabot[bot]
b3ee94bc7b
build(deps): bump tj-actions/changed-files from 35.4.4 to 35.5.0 ( #6074 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 35.4.4 to 35.5.0.
- [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/v35.4.4...v35.5.0 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
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-02-01 21:20:27 +00:00
dependabot[bot]
7982f4c3dc
build(deps): bump docker/build-push-action from 3.3.0 to 4.0.0 ( #6056 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3.3.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 21:19:49 +00:00
dependabot[bot]
7ffc005a16
build(deps): bump w9jds/firebase-action from 11.18.0 to 11.22.0 ( #6073 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 11.18.0 to 11.22.0.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v11.18.0...v11.22.0 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
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-02-01 21:19:13 +00:00
teor
9d97919afc
fix(rpc): Make RPC "incorrect parameters" error code match `zcashd` ( #6066 )
...
* Move RPC method constants into their own module
* Rename RPC compatibility modules to avoid confusion
* Rename RPC middleware to include its new functionality
* Use FutureExt::inspect() for logging, and only format on failure
* Log all RPC errors at info level
* Make "invalid parameters" RPC error code match `zcashd`
2023-02-01 18:20:48 +00:00
Alfredo Garcia
ed22dff17b
Get details from transaction differences in `getrawmempool` ( #6035 )
...
* add `ZCASH_RPC_COOKIE_FILE` env var
* get details when `getrawmempool` call differs
* remove non needed cookie file argument in zebra call
* replace cookie args with extra agrs
* read hex from file
* use jq for transactions loop
* dump transactions from the zcashd mempool
* apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
---------
Co-authored-by: teor <teor@riseup.net>
2023-02-01 13:22:43 +00:00
teor
53c6890fa2
Name the GitHub project workflow ( #6064 )
2023-02-01 09:10:56 +00:00
dependabot[bot]
3f66b82590
build(deps): bump futures from 0.3.25 to 0.3.26 ( #6058 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.25 to 0.3.26.
- [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.25...0.3.26 )
---
updated-dependencies:
- dependency-name: futures
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-02-01 08:55:37 +00:00
dependabot[bot]
c28294f2e2
build(deps): bump toml from 0.6.0 to 0.7.1 ( #6057 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.6.0 to 0.7.1.
- [Release notes](https://github.com/toml-rs/toml/releases )
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.6.0...toml-v0.7.1 )
---
updated-dependencies:
- dependency-name: toml
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-02-01 08:55:07 +00:00
dependabot[bot]
7572d5b4e1
build(deps): bump futures-util from 0.3.25 to 0.3.26 ( #6061 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.25 to 0.3.26.
- [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.25...0.3.26 )
---
updated-dependencies:
- dependency-name: futures-util
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-02-01 01:01:50 +00:00
dependabot[bot]
f2ce106cc1
build(deps): bump futures-core from 0.3.25 to 0.3.26 ( #6059 )
...
Bumps [futures-core](https://github.com/rust-lang/futures-rs ) from 0.3.25 to 0.3.26.
- [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.25...0.3.26 )
---
updated-dependencies:
- dependency-name: futures-core
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-02-01 01:00:57 +00:00
dependabot[bot]
9b61643df2
build(deps): bump tokio from 1.24.2 to 1.25.0 ( #6050 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.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-02-01 01:00:21 +00:00
teor
14fdd3002b
change(ci): Run block proposal tests in CI ( #5963 )
...
* Revert "Temporarily fix the code for a disabled test"
This reverts commit d915624417cc946e53aac76449e0b5b719e03d2a.
* Check every valid time source in the proposal tests
* Activate block proposal tests in CI
* Repeats block proposal test a few times at an interval to sample different mempool contents
* Increase the number of templates tested to 10
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: arya2 <aryasolhi@gmail.com>
2023-01-31 23:02:22 +00:00
teor
8390e4e0cd
refactor(state): Simplify difficulty and median-time-past state and mempool requests ( #6031 )
...
* Clarify function docs, rename variables, and fix log typos
* Add a ReadState best chain clone method, but don't use it yet
* Use the new calculate_median_time_past() function in existing code
* Skip a state request if the lock time is a height
* Remove dummy arguments and extra blocks from median-time-past calculation
* Update tests to remove requests that are no longer sent
* Simplify getting the best chain
Co-authored-by: Arya <aryasolhi@gmail.com>
* Clarify some function docs
Co-authored-by: Arya <aryasolhi@gmail.com>
* assigns `next_median_time_past` value from if statement
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2023-01-31 20:42:11 +00:00