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

A reference to a CScript: the Hash160 of its serialization. More...

#include <script.h>

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

Public Member Functions

 CScriptID ()
 
 CScriptID (const CScript &in)
 
 CScriptID (const uint160 &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.

Definition at line 601 of file script.h.

Constructor & Destructor Documentation

◆ CScriptID() [1/3]

CScriptID::CScriptID ( )
inline

Definition at line 604 of file script.h.

◆ CScriptID() [2/3]

CScriptID::CScriptID ( const CScript in)
explicit

Definition at line 16 of file script.cpp.

◆ CScriptID() [3/3]

CScriptID::CScriptID ( const uint160 in)
inlineexplicit

Definition at line 606 of file script.h.


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