Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
ScriptHash Struct Reference

#include <addresstype.h>

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

Public Member Functions

 ScriptHash ()
 ScriptHash (const WitnessV0KeyHash &hash)=delete
 ScriptHash (const PKHash &hash)=delete
 ScriptHash (const uint160 &hash)
 ScriptHash (const CScript &script)
 ScriptHash (const CScriptID &script)
Public Member Functions inherited from BaseHash< uint160 >
 BaseHash ()
unsigned char * begin ()
unsigned char * end ()
 operator std::vector< unsigned char > () const
std::string ToString () const
bool operator== (const BaseHash< uint160 > &other) const noexcept
bool operator< (const BaseHash< uint160 > &other) const noexcept
size_t size () const
unsigned char * data ()

Additional Inherited Members

Protected Attributes inherited from BaseHash< uint160 >
uint160 m_hash

Detailed Description

Definition at line 58 of file addresstype.h.

Constructor & Destructor Documentation

◆ ScriptHash() [1/6]

ScriptHash::ScriptHash ( )
inline

Definition at line 60 of file addresstype.h.

Here is the call graph for this function:

◆ ScriptHash() [2/6]

ScriptHash::ScriptHash ( const WitnessV0KeyHash & hash)
explicitdelete

◆ ScriptHash() [3/6]

ScriptHash::ScriptHash ( const PKHash & hash)
explicitdelete

◆ ScriptHash() [4/6]

ScriptHash::ScriptHash ( const uint160 & hash)
inlineexplicit

Definition at line 66 of file addresstype.h.

Here is the call graph for this function:

◆ ScriptHash() [5/6]

ScriptHash::ScriptHash ( const CScript & script)
explicit

Definition at line 20 of file addresstype.cpp.

Here is the call graph for this function:

◆ ScriptHash() [6/6]

ScriptHash::ScriptHash ( const CScriptID & script)
explicit

Definition at line 21 of file addresstype.cpp.

Here is the call graph for this function:

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