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

Set last block processed height, and write to database

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde06c98), requires&lowbar;capability(0x7f95061a99d8), requires&lowbar;capability(0x7f94f2b7a4e8), requires&lowbar;capability(0x7f94f0cf9178), requires&lowbar;capability(0x7f94fee3bb68)&rsqb;&rsqb;
void
SetLastBlockProcessed(
    int block&lowbar;height,
    xref:uint256.adoc[uint256] block&lowbar;hash);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;height*
| The height of the last processed block&period;
| *block&lowbar;hash*
| The hash of the last processed block&period;
|===


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