rpc, wallet: Expose wallet id in getwalletinfo RPC output#20243
rpc, wallet: Expose wallet id in getwalletinfo RPC output#20243hebasto wants to merge 2 commits intobitcoin:masterfrom
Conversation
|
Seems useful if an id is added, which is under debate. Can haz test? |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Adds a unique id for each wallet that is saved in a new "walletid" record. For compatibility, wallets using BDB will use the BDB generated id. All other wallets will have a randomly generated id if an id does not already exist.
|
Rebased 17a20b9 -> b7eb69c (pr20243.01 -> pr20243.02). |
|
@jonatack BDB wallets already have an id |
|
Concept ACK, first skim of the code looks reasonable |
|
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
|
Waiting for a #20205, and closing for now. |
Based on #20205.