Bitcoin Core  0.15.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)
 
- 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::CScriptID ( )
inline

Definition at line 25 of file standard.h.

Here is the caller graph for this function:

CScriptID::CScriptID ( const CScript in)

Definition at line 19 of file standard.cpp.

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: