![]() |
Bitcoin ABC
0.22.15
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 22 of file transaction.h.
|
inline |
Definition at line 30 of file transaction.h.
|
inline |
Definition at line 31 of file transaction.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 33 of file transaction.h.
std::string COutPoint::ToString | ( | ) | const |
Definition at line 49 of file transaction.h.
Definition at line 40 of file transaction.h.
Definition at line 45 of file transaction.h.
|
private |
Definition at line 25 of file transaction.h.
|
static |
Definition at line 28 of file transaction.h.
|
private |
Definition at line 24 of file transaction.h.