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

#include <addresstype.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 72 of file addresstype.h.

Constructor & Destructor Documentation

◆ WitnessV0ScriptHash() [1/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( )
inline

Definition at line 74 of file addresstype.h.

◆ WitnessV0ScriptHash() [2/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( const uint256 hash)
inlineexplicit

Definition at line 75 of file addresstype.h.

◆ WitnessV0ScriptHash() [3/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( const CScript script)
explicit

Definition at line 44 of file addresstype.cpp.

Here is the call graph for this function:

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