[#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(0x7f2e1e59a1e8), requires_capability(0x7f2e11aaafa8), requires_capability(0x7f2e16a00d98), requires_capability(0x7f2e15f30238), requires_capability(0x7f2e12c6eec8)]] 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]#