wallet::CWallet::SetLastBlockProcessed

Set last block processed height, and write to database

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7fb955bd10b8), requires_capability(0x7fb94db859d8), requires_capability(0x7fb95ab15858), requires_capability(0x7fb959fb2438), requires_capability(0x7fb956cbc6c8)]]
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.