[#wallet-WalletRescanReserver-reserve]
= xref:wallet.adoc[wallet]::xref:wallet/WalletRescanReserver.adoc[WalletRescanReserver]::reserve
:relfileprefix: ../../
:mrdocs:

Attempt to reserve the wallet for a rescan&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
reserve(bool with&lowbar;passphrase = false);
----

== Return Value

true if the reservation was acquired, false if one is already held&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *with&lowbar;passphrase*
| Whether the rescan holds the wallet passphrase&period;
|===


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