wallet::WalletBatch::WriteBestBlock

Writes the best block locator scanned by the wallet.

Synopsis

Declared in <wallet/walletdb.h>

bool
WriteBestBlock(CBlockLocator const& locator);

Return Value

true if the record was written.

Parameters

NameDescription
locatorThe block locator to store.