Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CScriptID Class Reference

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

#include <standard.h>

+ Inheritance diagram for CScriptID:
+ Collaboration diagram for CScriptID:

Public Member Functions

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

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

Definition at line 22 of file standard.h.

Constructor & Destructor Documentation

◆ CScriptID() [1/3]

CScriptID::CScriptID ( )
inline

Definition at line 25 of file standard.h.

◆ CScriptID() [2/3]

CScriptID::CScriptID ( const CScript in)

Definition at line 19 of file standard.cpp.

◆ CScriptID() [3/3]

CScriptID::CScriptID ( const uint160 in)
inline

Definition at line 27 of file standard.h.


The documentation for this class was generated from the following files:
Released under the MIT license