Skip to content

Improve description of the filename parameter of loadwallet RPC #30269

@murchandamus

Description

@murchandamus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions