[#wallet-DescriptorScriptPubKeyMan-IsMine]
= xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::IsMine
:relfileprefix: ../../
:mrdocs:

Returns whether the given script is derived from this descriptor&period;

== Synopsis

Declared in `&lt;wallet&sol;scriptpubkeyman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
IsMine(xref:CScript.adoc[CScript] const& script) const override;
----

== Return Value

true if the script is derived from this descriptor&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *script*
| The scriptPubKey to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
