[#wallet-WalletBatch-WriteVersion] = xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::WriteVersion :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WriteVersion(int client_version); ---- == Return Value A bool indicating whether or not the write succeeded. == Parameters [cols="1,4"] |=== | Name| Description | *client_version* [in] | `CLIENT_VERSION` outside of test code. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#