[#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 `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff3720f1648), requires_capability(0x7ff365f21648), requires_capability(0x7ff35de5fff8), requires_capability(0x7ff35efe4ad8), requires_capability(0x7ff366fd10b8)]] void SetLastBlockProcessed( int block_height, xref:uint256.adoc[uint256] block_hash); ---- == Parameters [cols="1,4"] |=== | Name| Description | *block_height* | The height of the last processed block. | *block_hash* | The hash of the last processed block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#