Bitcoin Core  0.20.99
P2P Digital Currency
Public Member Functions | List of all members
CScriptID Class Reference

A reference to a CScript: the Hash160 of its serialization (see script.h) More...

#include <standard.h>

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

Public Member Functions

 CScriptID ()
 
 CScriptID (const CScript &in)
 
 CScriptID (const uint160 &in)
 
 CScriptID (const ScriptHash &in)
 
- Public Member Functions inherited from BaseHash< uint160 >
 BaseHash ()
 
 BaseHash (const uint160 &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< uint160 > &other) const noexcept
 
bool operator!= (const BaseHash< uint160 > &other) const noexcept
 
bool operator< (const BaseHash< uint160 > &other) const noexcept
 
size_t size () const
 
unsigned char * data ()
 
const unsigned char * data () const
 

Additional Inherited Members

- Protected Attributes inherited from BaseHash< uint160 >
uint160 m_hash
 

Detailed Description

A reference to a CScript: the Hash160 of its serialization (see script.h)

Definition at line 88 of file standard.h.

Constructor & Destructor Documentation

◆ CScriptID() [1/4]

CScriptID::CScriptID ( )
inline

Definition at line 91 of file standard.h.

◆ CScriptID() [2/4]

CScriptID::CScriptID ( const CScript in)
explicit

Definition at line 19 of file standard.cpp.

◆ CScriptID() [3/4]

CScriptID::CScriptID ( const uint160 in)
inlineexplicit

Definition at line 93 of file standard.h.

◆ CScriptID() [4/4]

CScriptID::CScriptID ( const ScriptHash in)
explicit

Definition at line 20 of file standard.cpp.


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