Repository navigation
Finishes rust docs for channel_sv2 - #1817
Merged
plebhash merged 3 commits intoAug 19, 2025
Merged
Conversation
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
3 times, most recently
from
July 28, 2025 18:12
4b2bf9c to
63c42f8
Compare
lucasbalieiro
marked this pull request as ready for review
July 28, 2025 18:39
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
3 times, most recently
from
July 31, 2025 19:35
5ee1758 to
58c8739
Compare
Member
|
#1823 will introduce some changes to the APIs let's wait for that, then adapt things here accordingly |
lucasbalieiro
marked this pull request as draft
August 1, 2025 15:41
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
from
August 7, 2025 16:50
58c8739 to
cd72569
Compare
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
from
August 8, 2025 04:15
cd72569 to
060710f
Compare
Collaborator
Author
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
Comment on lines
47
to
31
| /// The specified template ID was not found among future jobs. | ||
| TemplateIdNotFound, | ||
| /// The nominal hashrate provided is invalid. | ||
| InvalidNominalHashrate, | ||
| /// The requested maximum target is out of the allowed range. | ||
| RequestedMaxTargetOutOfRange, | ||
| /// The new extranonce prefix is too large and violates channel constraints. | ||
| NewExtranoncePrefixTooLarge, | ||
| /// Error occurred during job creation via the job factory. | ||
| JobFactoryError(JobFactoryError), | ||
| /// The chain tip is not set when required for the operation. | ||
| ChainTipNotSet, |
Member
There was a problem hiding this comment.
these don't get rendered on Rust Docs, I'd remove them
Member
There was a problem hiding this comment.
my apologies, I just realized I was wrong here (and every other place where I wrote similar comments)
enum variants do get rendered on Rust Docs
overall they're kinda self-explanatory so I think it's not too important, so it's ok if @lucasbalieiro doesn't want to re-introduce them
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
plebhash
reviewed
Aug 12, 2025
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
2 times, most recently
from
August 12, 2025 18:49
faf8ef2 to
5aa3666
Compare
Collaborator
Author
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
from
August 13, 2025 14:51
5aa3666 to
cf629f3
Compare
Collaborator
Author
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
from
August 15, 2025 18:29
cf629f3 to
24722cb
Compare
Collaborator
Author
|
Rebased with the changes from #1832 . |
lucasbalieiro
marked this pull request as ready for review
August 15, 2025 18:33
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
from
August 18, 2025 15:05
24722cb to
7a4a018
Compare
plebhash
reviewed
Aug 18, 2025
plebhash
reviewed
Aug 18, 2025
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
from
August 19, 2025 02:16
7a4a018 to
21c190b
Compare
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
from
August 19, 2025 02:17
21c190b to
72fbb10
Compare
lucasbalieiro
force-pushed
the
finishes-docs-channel-sv2
branch
from
August 19, 2025 02:33
72fbb10 to
29e7de2
Compare
Collaborator
Author
|
Rebase to get the changes from #1839 and added docs for the functions created in it. Addressed the remaining points. |
plebhash
approved these changes
Aug 19, 2025
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.
closes #1810
Add missing rust docs for:
protocols::v2::channels_sv2protocols::v2::channels_sv2::serverprotocols::v2::channels_sv2::clientset_active_jobfrom traitJobStoreand replace it withadd_active_jobwhere needed.Addresses a few typos