Bitcoin ABC 0.26.3
P2P Digital Currency
|
An outpoint - a combination of a transaction hash and an index n into its vout. More...
#include <transaction.h>
Public Member Functions | |
COutPoint () | |
COutPoint (TxId txidIn, uint32_t nIn) | |
SERIALIZE_METHODS (COutPoint, obj) | |
bool | IsNull () const |
const TxId & | GetTxId () const |
uint32_t | GetN () const |
std::string | ToString () const |
Static Public Attributes | |
static constexpr uint32_t | NULL_INDEX = std::numeric_limits<uint32_t>::max() |
Private Attributes | |
TxId | txid |
uint32_t | n |
Friends | |
bool | operator< (const COutPoint &a, const COutPoint &b) |
bool | operator== (const COutPoint &a, const COutPoint &b) |
bool | operator!= (const COutPoint &a, const COutPoint &b) |
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition at line 20 of file transaction.h.
|
inline |
Definition at line 28 of file transaction.h.
Definition at line 29 of file transaction.h.
|
inline |
|
inline |
|
inline |
Definition at line 33 of file transaction.h.
std::string COutPoint::ToString | ( | ) | const |
Definition at line 15 of file transaction.cpp.
Definition at line 47 of file transaction.h.
Definition at line 38 of file transaction.h.
Definition at line 43 of file transaction.h.
|
private |
Definition at line 23 of file transaction.h.
Definition at line 26 of file transaction.h.
|
private |
Definition at line 22 of file transaction.h.