interfaces/wallet: replace raw receive-request string APIs with typed methods #34629

issue johnny9 openend this issue on February 20, 2026
  1. johnny9 commented at 4:52 am on February 20, 2026: contributor

    Please describe the feature you’d like to see added.

    Add typed receive-request APIs to interfaces::Wallet so GUI code passes normal fields (address, label, message, amount, date) instead of serialized blobs.

    The current interface uses raw strings for receive requests, and GUI code serializes/de-serializes RecentRequestEntry itself. That couples GUI code to wallet storage format and makes format changes risky. Gui actually crashes if it can’t de-serialize the string.

    Describe the solution you’d like

    Add typed wallet methods for receive requests (list/save/delete). UI interfacing with the wallet should have clean types/objects so it knows exactly what to expect.

    The wallet should likely also be responsible for assigning ids, handle legacy entries, and deal with compatibility.

    Describe any alternatives you’ve considered

    Keep the current string API and just harden GUI parsing. GUI still owns the storage format, though, and you just have to hope all of the user interfaces interacting with the wallet data are serializing the data in the same way.

    Please leave any additional context

    No response

  2. johnny9 added the label Feature on Feb 20, 2026
  3. achow101 added the label Wallet on Feb 20, 2026
  4. maflcko added the label interfaces on Feb 20, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-03-03 00:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me