CRTP mixin adding script‐pubkey operations shared by the view and owning types.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<typename Derived>
class ScriptPubkeyApi;

Member Functions

Name

Description

ToBytes

Serializes the script pubkey to its raw bytes.

Verify

Verifies a spending input against this script pubkey.

Friends

Name

Description

Derived

Derived Classes

Name

Description

ScriptPubkey

Owning wrapper over a btck_ScriptPubkey output script.

ScriptPubkeyView

Non‐owning view over a btck_ScriptPubkey.

Created with MrDocs