Owning wrapper over a btck_ScriptPubkey output script.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

Base Classes

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.

Member Functions

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.

Protected Data Members

Name

Description

m_ptr

The owned C handle.

Created with MrDocs