[#wallet-CWallet-AddActiveScriptPubKeyMan] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::AddActiveScriptPubKeyMan :relfileprefix: ../../ :mrdocs: Adds the active ScriptPubKeyMan for the specified type and internal. Writes it to the wallet file == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void AddActiveScriptPubKeyMan( xref:uint256.adoc[uint256] id, xref:OutputType.adoc[OutputType] type, bool internal); ---- == Parameters [cols="1,4"] |=== | Name| Description | *id* [in] | The unique id for the ScriptPubKeyMan | *type* [in] | The OutputType this ScriptPubKeyMan provides addresses for | *internal* [in] | Whether this ScriptPubKeyMan provides change addresses |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#