Skip to content

2025 10 13 patch generic array#21

Merged
Shourya742 merged 437 commits into
mainfrom
2025-10-13-patch-generic-array
Mar 11, 2026
Merged

2025 10 13 patch generic array#21
Shourya742 merged 437 commits into
mainfrom
2025-10-13-patch-generic-array

Conversation

@Shourya742

Copy link
Copy Markdown
Owner

No description provided.

Shourya742 and others added 30 commits July 29, 2025 20:35
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
…-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`
@Shourya742 Shourya742 force-pushed the 2025-10-13-patch-generic-array branch 9 times, most recently from 08bd9ee to c2df937 Compare October 13, 2025 08:54
@Shourya742 Shourya742 force-pushed the 2025-10-13-patch-generic-array branch from c2df937 to ab05f93 Compare October 13, 2025 12:20
@Shourya742 Shourya742 force-pushed the 2025-10-13-patch-generic-array branch from 4c96385 to 060df0e Compare October 13, 2025 13:16
@Shourya742 Shourya742 merged commit 066ac05 into main Mar 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants