Bitcoin Core 30.99.0
P2P Digital Currency
Public Member Functions | List of all members
btck::ScriptPubkey Class Reference

#include <bitcoinkernel_wrapper.h>

Inheritance diagram for btck::ScriptPubkey:
[legend]
Collaboration diagram for btck::ScriptPubkey:
[legend]

Public Member Functions

 ScriptPubkey (std::span< const std::byte > raw)
 
 ScriptPubkey (const ScriptPubkeyView &view)
 
- Public Member Functions inherited from btck::Handle< btck_ScriptPubkey, btck_script_pubkey_copy, btck_script_pubkey_destroy >
 Handle (btck_ScriptPubkey *ptr)
 
 Handle (const Handle &other)
 
 Handle (Handle &&other) noexcept
 
 Handle (const ViewType &view)
 
Handleoperator= (const Handle &other)
 
Handleoperator= (Handle &&other) noexcept
 
 ~Handle ()
 
btck_ScriptPubkeyget ()
 
const btck_ScriptPubkeyget () const
 
- Public Member Functions inherited from btck::ScriptPubkeyApi< ScriptPubkey >
bool Verify (int64_t amount, const Transaction &tx_to, std::span< const TransactionOutput > spent_outputs, unsigned int input_index, ScriptVerificationFlags flags, ScriptVerifyStatus &status) const
 
std::vector< std::byte > ToBytes () const
 

Additional Inherited Members

- Protected Attributes inherited from btck::Handle< btck_ScriptPubkey, btck_script_pubkey_copy, btck_script_pubkey_destroy >
btck_ScriptPubkeym_ptr
 

Detailed Description

Definition at line 404 of file bitcoinkernel_wrapper.h.

Constructor & Destructor Documentation

◆ ScriptPubkey() [1/2]

btck::ScriptPubkey::ScriptPubkey ( std::span< const std::byte >  raw)
inlineexplicit

Definition at line 407 of file bitcoinkernel_wrapper.h.

◆ ScriptPubkey() [2/2]

btck::ScriptPubkey::ScriptPubkey ( const ScriptPubkeyView view)
inline

Definition at line 410 of file bitcoinkernel_wrapper.h.


The documentation for this class was generated from the following file: