Motivation
As the documentation for the 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 before opening your pull request.