Creates a new wallet database from a previously dumped file.
Declared in <wallet/dump.h>
bool
CreateFromDump(
ArgsManager const& args,
std::string const& name,
fs::path const& wallet_path,
bilingual_str& error,
std::vector<bilingual_str>& warnings);
true if the wallet was created successfully.
| Name | Description |
|---|---|
| args | The parsed arguments specifying the dump file and options. |
| name | The name to give the new wallet. |
| wallet_path | The path where the new wallet is created. |
| error | Receives an error message on failure. |
| warnings | Receives any non-fatal warnings produced during creation. |