Owning wrapper over a btck_ScriptPubkey output script.
Declared in <kernel/bitcoinkernel_wrapper.h>
class ScriptPubkey
: public Handle<btck_ScriptPubkey, btck_script_pubkey_copy, btck_script_pubkey_destroy>
, public ScriptPubkeyApi<ScriptPubkey>
| Name | Description |
|---|---|
Handle<btck_ScriptPubkey, btck_script_pubkey_copy, btck_script_pubkey_destroy> | Owning RAII handle for a copyable C object of type CType. |
ScriptPubkeyApi<ScriptPubkey> | CRTP mixin adding script-pubkey operations shared by the view and owning types. |
| Name | Description |
|---|---|
ScriptPubkey [constructor] | Constructors |
operator= | Assignment operators |
ToBytes | Serializes the script pubkey to its raw bytes. |
Verify | Verifies a spending input against this script pubkey. |
get | Returns the owned C handle. |
| Name | Description |
|---|---|
m_ptr | The owned C handle. |