CRTP mixin adding script-pubkey operations shared by the view and owning types.
Declared in <kernel/bitcoinkernel_wrapper.h>
template<typename Derived>
class ScriptPubkeyApi;
| Name | Description |
|---|---|
ToBytes | Serializes the script pubkey to its raw bytes. |
Verify | Verifies a spending input against this script pubkey. |
| Name | Description |
|---|---|
Derived |
| Name | Description |
|---|---|
ScriptPubkey | Owning wrapper over a btck_ScriptPubkey output script. |
ScriptPubkeyView | Non-owning view over a btck_ScriptPubkey. |