Issue Details
- Number
- 30269
- Title
- Improve description of the `filename` parameter of `loadwallet` RPC
- Description
- ### Motivation
As the documentation for the [`loadwallet`](https://bitcoincore.org/en/doc/27.0.0/rpc/wallet/loadwallet/) RPC describes, the syntax is:
loadwallet "filename" ( load_on_startup )
And it further specifies:
Arguments:
1. filename (string, required) The wallet directory or .dat file.
…
What’s not clearly specified in the documentation is that you are to provide the filename _relative to the wallet directory_ `~/.bitcoin/regtest/wallets`. It would be great if the documentation were improved in that regard.
### Possible solution
- Improve the documentation for `loadwallet` to specify that the filename should be provided as the relative path from the wallet directory.
- Add an example where a wallet is loaded from a different directory
### Useful Skills
* `git` fundamentals
### Guidance for new contributors
Want to work on this issue?
For guidance on contributing, please read [CONTRIBUTING.md](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md) before opening your pull request.
- URL
-
https://github.com/bitcoin/bitcoin/issue/30269
- Closed by
-
Back to List