Bitcoin Core  0.20.99
P2P Digital Currency
Public Member Functions | List of all members
WitnessV0ScriptHash Struct Reference

#include <standard.h>

Inheritance diagram for WitnessV0ScriptHash:
[legend]
Collaboration diagram for WitnessV0ScriptHash:
[legend]

Public Member Functions

 WitnessV0ScriptHash ()
 
 WitnessV0ScriptHash (const uint256 &hash)
 
 WitnessV0ScriptHash (const CScript &script)
 
- Public Member Functions inherited from BaseHash< uint256 >
 BaseHash ()
 
 BaseHash (const uint256 &in)
 
unsigned char * begin ()
 
const unsigned char * begin () const
 
unsigned char * end ()
 
const unsigned char * end () const
 
 operator std::vector< unsigned char > () const
 
std::string ToString () const
 
bool operator== (const BaseHash< uint256 > &other) const noexcept
 
bool operator!= (const BaseHash< uint256 > &other) const noexcept
 
bool operator< (const BaseHash< uint256 > &other) const noexcept
 
size_t size () const
 
unsigned char * data ()
 
const unsigned char * data () const
 

Additional Inherited Members

- Protected Attributes inherited from BaseHash< uint256 >
uint256 m_hash
 

Detailed Description

Definition at line 165 of file standard.h.

Constructor & Destructor Documentation

◆ WitnessV0ScriptHash() [1/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( )
inline

Definition at line 167 of file standard.h.

◆ WitnessV0ScriptHash() [2/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( const uint256 hash)
inlineexplicit

Definition at line 168 of file standard.h.

◆ WitnessV0ScriptHash() [3/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( const CScript script)
explicit

Definition at line 41 of file standard.cpp.

Here is the call graph for this function:

The documentation for this struct was generated from the following files: