Bitcoin ABC 0.30.5
P2P Digital Currency
Public Member Functions | List of all members
TxId Struct Reference

A TxId is the identifier of a transaction. More...

#include <txid.h>

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

Public Member Functions

 TxId ()
 
 TxId (const uint256 &b)
 
- Public Member Functions inherited from uint256
constexpr uint256 ()
 
constexpr uint256 (uint8_t v)
 
 uint256 (const std::vector< uint8_t > &vch)
 
- Public Member Functions inherited from base_blob< 256 >
constexpr base_blob ()
 
constexpr base_blob (uint8_t v)
 
 base_blob (const std::vector< uint8_t > &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
 
const uint8_t * data () const
 
uint8_t * data ()
 
uint8_t * begin ()
 
const uint8_t * begin () const
 
uint8_t * end ()
 
const uint8_t * end () const
 
unsigned int size () const
 
uint64_t GetUint64 (int pos) const
 
void Serialize (Stream &s) const
 
void Unserialize (Stream &s)
 

Additional Inherited Members

- Static Public Attributes inherited from uint256
static const uint256 ZERO
 
static const uint256 ONE
 
- Protected Attributes inherited from base_blob< 256 >
uint8_t m_data [WIDTH]
 
- Static Protected Attributes inherited from base_blob< 256 >
static constexpr int WIDTH
 

Detailed Description

A TxId is the identifier of a transaction.

Currently identical to TxHash but differentiated for type safety.

Definition at line 14 of file txid.h.

Constructor & Destructor Documentation

◆ TxId() [1/2]

TxId::TxId ( )
inlineexplicit

Definition at line 15 of file txid.h.

◆ TxId() [2/2]

TxId::TxId ( const uint256 b)
inlineexplicit

Definition at line 16 of file txid.h.


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