Bitcoin ABC 0.30.3
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)
 
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

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

Definition at line 24 of file standard.h.

Constructor & Destructor Documentation

◆ CScriptID() [1/4]

CScriptID::CScriptID ( )
inline

Definition at line 26 of file standard.h.

◆ CScriptID() [2/4]

CScriptID::CScriptID ( const CScript in)
explicit

Definition at line 14 of file standard.cpp.

◆ CScriptID() [3/4]

CScriptID::CScriptID ( const uint160 in)
inlineexplicit

Definition at line 28 of file standard.h.

◆ CScriptID() [4/4]

CScriptID::CScriptID ( const ScriptHash in)
explicit

Definition at line 15 of file standard.cpp.


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