[#wallet-CWallet-PopulateWalletFromDB]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::PopulateWalletFromDB
:relfileprefix: ../../
:mrdocs:

Load wallet records from the database into memory&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/DBErrors.adoc[DBErrors]
PopulateWalletFromDB(
    xref:bilingual_str.adoc[bilingual&lowbar;str]& error,
    std::vector&lt;bilingual&lowbar;str&gt;& warnings);
----

== Return Value

The database load result status&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *error*
| Set to an error message on failure&period;
| *warnings*
| Warnings produced while loading&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
