BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
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)
 
 uint256 ()
 
 uint256 (const std::vector< unsigned char > &vch)
 
- Public Member Functions inherited from uint256
 uint256 ()
 
 uint256 (const std::vector< unsigned char > &vch)
 
uint64_t GetCheapHash () const
 A cheap hash function that just returns 64 bits from the result, it can be used when the contents are considered uniformly random. More...
 
- 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 76 of file standard.h.

Constructor & Destructor Documentation

◆ WitnessV0ScriptHash() [1/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( )
inline

Definition at line 78 of file standard.h.

◆ WitnessV0ScriptHash() [2/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( const uint256 hash)
inlineexplicit

Definition at line 79 of file standard.h.

◆ WitnessV0ScriptHash() [3/3]

WitnessV0ScriptHash::WitnessV0ScriptHash ( const CScript script)
explicit

Definition at line 22 of file standard.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ uint256() [1/2]

uint256::uint256
inline

Definition at line 124 of file uint256.h.

◆ uint256() [2/2]

uint256::uint256
inlineexplicit

Definition at line 125 of file uint256.h.


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