2025 10 13 patch generic array#21
Merged
Merged
Conversation
…se-stream add noise stream
Previously, `HandlerError` only supported a fixed set of internal error types. This made it difficult for downstream users implementing library traits to propagate their own custom error types. This commit introduces a new `External(Box<dyn Error + Send + Sync>)` variant to allow wrapping arbitrary error values. This enables implementors to return non-library errors without requiring changes to the core `HandlerError` enum.
…de how to go about authorization of a connection
…dlers-refactor Refactor handler
…-edition-2021 Update roles rust edition to 2021
…tructors to be written inside script_sig, before extranonce
…edExtranonce we're no longer writing pool_tag and miner_tag into extranonce_prefix now, we only allow max 2 bytes as static_prefix, only to be used for allocating unique search space for different mining servers
now write pool_tag before extranonce_prefix, via new constructors from channels_sv2 we no longer use extranonce_prefix for this purpose
in order to write miner_tag, jdc will have to be adapted to use the `new_for_job_declarator_client` constructors from `channels_sv2`
…e-pool-and-miner-tag-from-extranonce-prefix remove pool and miner tag from `extranonce_prefix`
…-from-script mining-device-sv1 removal from `coverage-roles.sh` script
rename client_id to server_id for server specific handler traits
place the identifier in correct argument place in methods
change ids from usize -> Option<usize>
remove send_open_channel_request_to_mining_hanlder id argument
…context-aware Make handlers context aware
08bd9ee to
c2df937
Compare
c2df937 to
ab05f93
Compare
4c96385 to
060df0e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.