wallet::CWallet::SetLastBlockProcessed

Set last block processed height, and write to database

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7ff3720f1648), requires_capability(0x7ff365f21648), requires_capability(0x7ff35de5fff8), requires_capability(0x7ff35efe4ad8), requires_capability(0x7ff366fd10b8)]]
void
SetLastBlockProcessed(
    int block_height,
    uint256 block_hash);

Parameters

NameDescription
block_heightThe height of the last processed block.
block_hashThe hash of the last processed block.