Skip to content

P2Pool Status View with API + WebSocket integration#22

Draft
R27-pixel wants to merge 6 commits into
p2poolv2:mainfrom
R27-pixel:poolstatus
Draft

P2Pool Status View with API + WebSocket integration#22
R27-pixel wants to merge 6 commits into
p2poolv2:mainfrom
R27-pixel:poolstatus

Conversation

@R27-pixel
Copy link
Copy Markdown
Contributor

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.

@R27-pixel R27-pixel marked this pull request as draft April 21, 2026 09:27
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

@pool2win pool2win requested a review from framicheli April 23, 2026 04:19
@pool2win
Copy link
Copy Markdown
Contributor

@R27-pixel - can you rebase this. I merged #21 and this needs a rebase now.

@R27-pixel R27-pixel force-pushed the poolstatus branch 3 times, most recently from 98775b9 to 6f4fb1a Compare April 28, 2026 18:02
@R27-pixel R27-pixel marked this pull request as ready for review April 28, 2026 18:34
@R27-pixel
Copy link
Copy Markdown
Contributor Author

@R27-pixel - can you rebase this. I merged #21 and this needs a rebase now.

I have rebased it , will add test cases by tommorow.

@R27-pixel R27-pixel marked this pull request as draft April 30, 2026 09:13
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.

2 participants