Bitcoin ABC  0.23.1
P2P Digital Currency
Public Member Functions | List of all members
ScriptHash Struct Reference

#include <standard.h>

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

Public Member Functions

 ScriptHash ()
 
 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 ()
 
 BaseHash (const uint160 &in)
 
uint8_t * begin ()
 
const uint8_t * begin () const
 
uint8_t * end ()
 
const uint8_t * end () const
 
 operator std::vector< uint8_t > () const
 
std::string ToString () const
 
bool operator== (const BaseHash< uint160 > &other) const noexcept
 
bool operator!= (const BaseHash< uint160 > &other) const noexcept
 
bool operator< (const BaseHash< uint160 > &other) const noexcept
 
size_t size () const
 
uint8_t * data ()
 
const uint8_t * data () const
 

Additional Inherited Members

- Protected Attributes inherited from BaseHash< uint160 >
uint160 m_hash
 

Detailed Description

Definition at line 114 of file standard.h.

Constructor & Destructor Documentation

◆ ScriptHash() [1/5]

ScriptHash::ScriptHash ( )
inline

Definition at line 115 of file standard.h.

◆ ScriptHash() [2/5]

ScriptHash::ScriptHash ( const PKHash hash)
explicitdelete

◆ ScriptHash() [3/5]

ScriptHash::ScriptHash ( const uint160 hash)
inlineexplicit

Definition at line 120 of file standard.h.

◆ ScriptHash() [4/5]

ScriptHash::ScriptHash ( const CScript script)
explicit

Definition at line 21 of file standard.cpp.

◆ ScriptHash() [5/5]

ScriptHash::ScriptHash ( const CScriptID script)
explicit

Definition at line 22 of file standard.cpp.


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