Generate a Bitcoin scriptPubKey for the given CTxDestination. Returns a P2PKH script for a CKeyID destination, a P2SH script for a CScriptID, and an empty script for CNoDestination.
The generated output script.
| Name | Description |
|---|---|
| dest | The destination to encode. |