Non-owning view over a btck_ScriptPubkey.
Declared in <kernel/bitcoinkernel_wrapper.h>
class ScriptPubkeyView
: public View<btck_ScriptPubkey>
, public ScriptPubkeyApi<ScriptPubkeyView>
| Name | Description |
|---|---|
View<btck_ScriptPubkey> | Non-owning view over a const C handle of type CType. |
ScriptPubkeyApi<ScriptPubkeyView> | CRTP mixin adding script-pubkey operations shared by the view and owning types. |
| Name | Description |
|---|---|
ScriptPubkeyView [constructor] | Constructs a view over ptr. |
ToBytes | Serializes the script pubkey to its raw bytes. |
Verify | Verifies a spending input against this script pubkey. |
get | Returns the borrowed C handle. |
| Name | Description |
|---|---|
m_ptr | The borrowed C handle. |