btck::ScriptPubkeyApi

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

NameDescription
ToBytes Serializes the script pubkey to its raw bytes.
Verify Verifies a spending input against this script pubkey.

Friends

NameDescription
Derived

Derived Classes

NameDescription
ScriptPubkey Owning wrapper over a btck_ScriptPubkey output script.
ScriptPubkeyView Non-owning view over a btck_ScriptPubkey.