General release information
Highlights of this release:
- updated protocol crates to be aligned with latest breaking GROUP CHANNEL changes in the Sv2 specification (see stratum-mining/sv2-spec#162)
- Extended Channels can now be grouped into Group Channels, bringing them in line with the long-standing behavior of Standard Channels
- fuzzing coverage expanded to all Sv2 messages
- multiple improvements on jobs management in
channels_sv2 - benchmarking fixed on
buffer_sv2, and also added tonoise_sv2, laying the groundwork for more systematic performance analysis
Crate changes
stratum-core
crate version was bumped from 0.1.0 to 0.2.0
channels_sv2
crate version was bumped from 2.0.0 to 3.0.0
codec_sv2
crate version was bumped from 4.0.0 to 4.0.1
handlers_sv2
crate version was bumped from 0.2.0 to 0.2.1
binary_sv2
crate version was bumped from 5.0.0 to 5.0.1
mining_sv2
crate version was bumped from 6.0.0 to 7.0.0
framing_sv2
crate version was bumped from 6.0.0 to 6.0.1
parsers_sv2
crate version was bumped from 0.2.0 to 0.2.1
stratum-translation
crate version was bumped from 0.1.1 to 0.1.2
noise_sv2
crate version was bumped from 1.4.0 to 1.4.1
job_declaration_sv2
crate version was bumped from 5.0.2 to 6.0.0
buffer_sv2
crate version was bumped from 2.0.0 to 3.0.0
sv1_api
crate version was bumped from 2.1.2 to 2.1.3
What's Changed
- update
run-integration-tests.shscripts to patch the sources from crates.io by @lucasbalieiro in #2012 - add
SECURITY.mdby @GitGab19 in #2016 - noise-sv2: add 10s clock skew tolerance to signature verification by @lucasbalieiro in #2017
- Remove deprecated actions-rs from workflow by @Shourya742 in #2024
- introduce fuzz coverage for all
subprotocol::common_messages_sv2by @lucasbalieiro in #2020 - avoid calling
mark_past_jobs_as_stale2x by @plebhash in #2025 - fix integration-test script patch by @lucasbalieiro in #2027
- ci: detect companion PR changes and conditionally trigger integration tests by @lucasbalieiro in #2026
JobStoretrait methods return owned types instead of refs by @plebhash in #2011- make
run-integration-tests.shupdate the integration tests Cargo.lock. by @lucasbalieiro in #2031 - rename
DeclareMiningJob.tx_ids_listtowtxid_listby @plebhash in #2029 - associate
TargettoJoband use it for share validation (instead of channelTarget) by @plebhash in #2000 - make SupportedChannelTypes Copy by @coleFD in #2033
- Add miri workflow by @Shourya742 in #2023
- Remove profile from workspace toml by @Shourya742 in #2036
- Add rust-toolchain.toml by @Shourya742 in #2034
- fuzz: refactor SV2 message fuzzing and expand coverage by @lucasbalieiro in #2028
- Avoid recursion when generating keypair by @Shourya742 in #2038
- Add context to sv1 handler by @Shourya742 in #2047
- add
rust-analyzertorust-toolchain.tomlby @plebhash in #2048 - implements the Display trait for sv1 messages by @lucasbalieiro in #2050
- add Group Channel adaptations on
channels_sv2+mining_sv2by @plebhash in #2044 - Add noise bench by @Shourya742 in #2037
- Arrange buffer-sv2 fuzz and bench correctly by @Shourya742 in #2035
- bump PATCH of
binary_sv2by @GitGab19 in #2055 - bump sv1_api version by @plebhash in #2056
Full Changelog: v1.6.0...v1.7.0