Hide or clarify Mempool Information when running blocksonly #710

Closed
opened 2026-05-18 14:44:45 +00:00 by johnny9 · 1 comment
johnny9 commented 2026-05-18 14:44:45 +00:00 (Migrated from github.com)

Problem

The Settings screen shows a Mempool Information entry even when the node is running with -blocksonly.

Today the row is unconditional in qml/pages/node/NodeSettings.qml, and NodeModel always exposes and polls mempool values through refreshMempoolInfo() / fetchMempoolInfo(). There is no blocksonly or transaction-relay gate in QML or NodeModel.

This can make the settings UI look like regular mempool behavior is available/configurable in blocksonly mode, even though transaction relay is disabled and Core applies blocksonly-specific mempool behavior.

Expected behavior

When running with -blocksonly, the GUI should either:

  • hide the Mempool Information settings entry, or
  • clearly present the page as blocksonly-limited behavior, if we still want to expose the configured max mempool limit.

Notes

Raised as a follow-up from review of #551: https://github.com/bitcoin-core/gui-qml/pull/551#pullrequestreview-4310727801

## Problem The Settings screen shows a `Mempool Information` entry even when the node is running with `-blocksonly`. Today the row is unconditional in `qml/pages/node/NodeSettings.qml`, and `NodeModel` always exposes and polls mempool values through `refreshMempoolInfo()` / `fetchMempoolInfo()`. There is no blocksonly or transaction-relay gate in QML or `NodeModel`. This can make the settings UI look like regular mempool behavior is available/configurable in blocksonly mode, even though transaction relay is disabled and Core applies blocksonly-specific mempool behavior. ## Expected behavior When running with `-blocksonly`, the GUI should either: - hide the `Mempool Information` settings entry, or - clearly present the page as blocksonly-limited behavior, if we still want to expose the configured max mempool limit. ## Notes Raised as a follow-up from review of #551: https://github.com/bitcoin-core/gui-qml/pull/551#pullrequestreview-4310727801
johnny9 commented 2026-05-18 14:56:19 +00:00 (Migrated from github.com)

Can be added alongside node-only mode changes. The functional test can maybe add blocksonly mode and validate this information isn't displayed #691

Can be added alongside node-only mode changes. The functional test can maybe add blocksonly mode and validate this information isn't displayed #691
Sign in to join this conversation.
No description provided.