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