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

#include <standard.h>

Inheritance diagram for ScriptHash:
Collaboration diagram for ScriptHash:

Public Member Functions

 ScriptHash ()
 ScriptHash (const WitnessV0KeyHash &hash)=delete
 ScriptHash (const PKHash &hash)=delete
 ScriptHash (const uint160 &hash)
 ScriptHash (const CScript &script)
- Public Member Functions inherited from uint160
 uint160 ()
 uint160 (const std::vector< unsigned char > &vch)
- Public Member Functions inherited from base_blob< 160 >
 base_blob ()
 base_blob (const std::vector< unsigned char > &vch)
bool IsNull () const
void SetNull ()
int Compare (const base_blob &other) const
std::string GetHex () const
void SetHex (const char *psz)
void SetHex (const std::string &str)
std::string ToString () const
unsigned char * begin ()
const unsigned char * begin () const
unsigned char * end ()
const unsigned char * end () const
unsigned int size () const
uint64_t GetUint64 (int pos) const
void Serialize (Stream &s) const
void Unserialize (Stream &s)

Additional Inherited Members

- Protected Attributes inherited from base_blob< 160 >
uint8_t data [WIDTH]
- Static Protected Attributes inherited from base_blob< 160 >
static constexpr int WIDTH

Detailed Description

Definition at line 85 of file standard.h.

Constructor & Destructor Documentation

◆ ScriptHash() [1/5]

ScriptHash::ScriptHash ( )

Definition at line 87 of file standard.h.

◆ ScriptHash() [2/5]

ScriptHash::ScriptHash ( const WitnessV0KeyHash hash)

◆ ScriptHash() [3/5]

ScriptHash::ScriptHash ( const PKHash hash)

◆ ScriptHash() [4/5]

ScriptHash::ScriptHash ( const uint160 hash)

Definition at line 92 of file standard.h.

Here is the call graph for this function:

◆ ScriptHash() [5/5]

ScriptHash::ScriptHash ( const CScript script)

Definition at line 21 of file standard.cpp.

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