P2Pool Status View with API + WebSocket integration#22
Draft
R27-pixel wants to merge 6 commits into
Draft
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Contributor
|
@R27-pixel - can you rebase this. I merged #21 and this needs a rebase now. |
98775b9 to
6f4fb1a
Compare
Contributor
Author
I have rebased it , will add test cases by tommorow. |
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.
This PR focuses on developing the P2Pool Status View in PDM with P2Pool-backed state.
Added P2Pool API client for fetching:
chain info
peers
shares
candidates
metrics
health status
Added initial WebSocket integration for live event handling
Added runtime config support using config/pdm.toml for API host + port
Added log parsing for miner state, share submission, block submission, and recent activity
This is part of the ongoing P2Pool Status View development and is being opened as a draft PR for review and iteration.
Further improvements like structured websocket parsing, share history tracking, and better daemon log handling will follow in next PRs.