Bitcoin Core  0.19.99
P2P Digital Currency
Public Member Functions | List of all members
WitnessV0ScriptHash Struct Reference

#include <standard.h>

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

Public Member Functions

 WitnessV0ScriptHash ()
 
 WitnessV0ScriptHash (const uint256 &hash)
 
 WitnessV0ScriptHash (const CScript &script)
 
- Public Member Functions inherited from uint256
 uint256 ()
 
 uint256 (const std::vector< unsigned char > &vch)
 
- Public Member Functions inherited from base_blob< 256 >
 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< 256 >
uint8_t data [WIDTH]
 
- Static Protected Attributes inherited from base_blob< 256 >
static constexpr int WIDTH
 

Detailed Description

Definition at line 96 of file standard.h.

Constructor & Destructor Documentation

◆ WitnessV0ScriptHash() [1/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( )
inline

Definition at line 98 of file standard.h.

◆ WitnessV0ScriptHash() [2/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( const uint256 hash)
inlineexplicit

Definition at line 99 of file standard.h.

Here is the call graph for this function:

◆ WitnessV0ScriptHash() [3/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( const CScript script)
explicit

Definition at line 23 of file standard.cpp.

Here is the call graph for this function:

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