Also, clarify the LoadMempool doxygen.
This is a partial backport of 27460
https://github.com/bitcoin/bitcoin/pull/27460/changes/fa8866990dba7817427977bfe834efdb17114d37
Depends on D20413
Differential D20414
doc: Clarify the getmempoolinfo.loaded RPC field documentation Authored by PiRK on Jul 31 2026, 08:36. Project Tags None Referenced Files None Subscribers None
Details
Also, clarify the LoadMempool doxygen. This is a partial backport of 27460 Depends on D20413 proofread
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (ai-review) passed. Diff : committed changes only (\(\ ──────────────────────────────────────────────────────────────────────── minor [Data Integrity & Integration] → ]8;;vscode://file//work/src/rpc/mempool.cpp:722src/rpc/mempool.cpp:722-723]8;; State that completion does not imply success. loaded=true can indicate that the persisted-mempool load failed after the attempt completed. Add this outcome-independent behavior to the RPC help text. Proposed wording - "finished"}, + "finished, regardless of whether it succeeded"}, ──────────────────────────────────────────────────────────────────────── minor [Data Integrity & Integration] → ]8;;vscode://file//work/src/txmempool.h:489src/txmempool.h:489-496]8;; Document completion instead of initiation. These comments say that the load attempt was “made”, while getmempoolinfo.loaded says the attempt has “finished”. Align the C++ API documentation with the RPC contract so callers do not treat an in-progress attempt as complete. Proposed wording - * @returns true if an initial attempt to load the persisted mempool was - * made, regardless of whether the attempt was successful or not + * @returns true if the initial persisted-mempool load attempt completed, + * regardless of whether it was successful ... - * Set whether or not an initial attempt to load the persisted mempool was - * made (regardless of whether the attempt was successful or not) + * Set whether the initial persisted-mempool load attempt completed, + * regardless of whether it was successful ──────────────────────────────────────── Minor 2 4 files reviewed:
──────────────────────────────────────── Print all AI prompts: coderabbit review --show-prompts |