[#wallet-LegacyDataSPKM-LoadCScript] = xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::LoadCScript :relfileprefix: ../../ :mrdocs: Adds a CScript to the store == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool LoadCScript(xref:CScript.adoc[CScript] const& redeemScript); ---- == Return Value true if the script was added. == Parameters [cols="1,4"] |=== | Name| Description | *redeemScript* | The script to add. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#