wallet::CWallet::SetLastBlockProcessed

Set last block processed height, and write to database

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7fbc76bfeff8), requires_capability(0x7fbc81b789b8), requires_capability(0x7fbc7e016838), requires_capability(0x7fbc7e245ce8), requires_capability(0x7fbc8e716928)]]
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.