wallet::WalletBatch::WriteVersion

Write the given client_version to m_batch, indicating the last version of client software to load this wallet.

Synopsis

Declared in <wallet/walletdb.h>

bool
WriteVersion(int client_version);

Return Value

A bool indicating whether or not the write succeeded.

Parameters

NameDescription
client_version [in]CLIENT_VERSION outside of test code.