Feature Parity 05: Mempool Diagnostics Surface #509

Closed
opened 2026-02-28 16:54:04 +00:00 by johnny9 · 4 comments
johnny9 commented 2026-02-28 16:54:04 +00:00 (Migrated from github.com)

Summary

Expose mempool diagnostics in QML settings/console area.

Complexity

  • M

Dependencies

  • 01
  • 02

Global Constraints

  • All implementation lives under gui-qml/.
  • No GUI runtime dependency on bitcoin/src/qt components. Reused logic must be moved/ported into gui-qml/.
  • Do not change interfaces::Wallet or interfaces::Node in this version.
  • Issue completion must satisfy DefinitionOfDone.md.

Scope

  • Add model properties for mempool size, dynamic usage, and max usage.
  • Create diagnostics panel with units and refresh semantics.
  • Handle unavailable/initializing states gracefully.

Acceptance Criteria (DoD-Aligned)

  1. Diagnostics render live mempool stats and refresh correctly.
  2. Unavailable values show explicit fallback state, not silent zero-only display.
  3. All formatting is consistent with app display conventions.

Required Tests

  • C++ unit tests: Unit tests for mempool stats adapter formatting and null-state handling.
  • QML QTest: QTests for loading/empty/error/normal render states.
  • Python E2E (qml/test/testbridge.h): E2E flow validating diagnostics panel visibility and refresh behavior.

Implementation Notes

  • Can be implemented in qml/models/nodemodel.* plus a new diagnostics component/page.
## Summary Expose mempool diagnostics in QML settings/console area. ## Complexity - `M` ## Dependencies - `01` - `02` ## Global Constraints - All implementation lives under `gui-qml/`. - No GUI runtime dependency on `bitcoin/src/qt` components. Reused logic must be moved/ported into `gui-qml/`. - Do not change `interfaces::Wallet` or `interfaces::Node` in this version. - Issue completion must satisfy `DefinitionOfDone.md`. ## Scope - Add model properties for mempool size, dynamic usage, and max usage. - Create diagnostics panel with units and refresh semantics. - Handle unavailable/initializing states gracefully. ## Acceptance Criteria (DoD-Aligned) 1. Diagnostics render live mempool stats and refresh correctly. 2. Unavailable values show explicit fallback state, not silent zero-only display. 3. All formatting is consistent with app display conventions. ## Required Tests - C++ unit tests: Unit tests for mempool stats adapter formatting and null-state handling. - QML QTest: QTests for loading/empty/error/normal render states. - Python E2E (`qml/test/testbridge.h`): E2E flow validating diagnostics panel visibility and refresh behavior. ## Implementation Notes - Can be implemented in `qml/models/nodemodel.*` plus a new diagnostics component/page.
johnny9 commented 2026-03-12 22:03:41 +00:00 (Migrated from github.com)

There is no clear design for this information yet.

There is no clear design for this information yet.
hebasto commented 2026-03-16 11:23:16 +00:00 (Migrated from github.com)

There is no clear design for this information yet.

cc @GBKS

> There is no clear design for this information yet. cc @GBKS
GBKS commented 2026-03-16 11:42:30 +00:00 (Migrated from github.com)

Thanks for tagging me. Do I understand correctly that this is about the two values on the bottom left of the screenshot?

Image

While this functionality is being touched, is it a good time to iterate on it? Like adding graphs or other stats?

Are there specific states for memory usage when it reaches the max memory, or some other sort of problematic value?

Thanks for tagging me. Do I understand correctly that this is about the two values on the bottom left of the screenshot? <img width="780" height="534" alt="Image" src="https://git.fish.foo/attachments/0e2b12a8-7af6-407c-bfb5-b0a13c3a2a4a" /> While this functionality is being touched, is it a good time to iterate on it? Like adding graphs or other stats? Are there specific states for memory usage when it reaches the max memory, or some other sort of problematic value?
johnny9 commented 2026-04-18 13:07:14 +00:00 (Migrated from github.com)

I don't think there is a problematic value but there is a setting to adjust the mempool size. In an embedded environment it might be interesting to show the OS level system usage alongside bitcoin core's but I'm not sure that is needed just yet

I don't think there is a problematic value but there is a setting to adjust the mempool size. In an embedded environment it might be interesting to show the OS level system usage alongside bitcoin core's but I'm not sure that is needed just yet
Sign in to join this conversation.
No description provided.