[#wallet-WalletBatch-WriteDescriptor] = xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::WriteDescriptor :relfileprefix: ../../ :mrdocs: Writes a wallet descriptor. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WriteDescriptor( xref:uint256.adoc[uint256] const& desc_id, xref:wallet/WalletDescriptor.adoc[WalletDescriptor] const& descriptor); ---- == Return Value true if the record was written. == Parameters [cols="1,4"] |=== | Name| Description | *desc_id* | The identifier of the descriptor. | *descriptor* | The descriptor to store. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#