Bitcoin Core 28.99.0
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 (const Txid &hashIn, uint32_t nIn) | |
SERIALIZE_METHODS (COutPoint, obj) | |
void | SetNull () |
bool | IsNull () const |
std::string | ToString () const |
Public Attributes | |
Txid | hash |
uint32_t | n |
Static Public Attributes | |
static constexpr uint32_t | NULL_INDEX = std::numeric_limits<uint32_t>::max() |
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 28 of file transaction.h.
|
inline |
Definition at line 36 of file transaction.h.
|
inline |
Definition at line 37 of file transaction.h.
|
inline |
Definition at line 42 of file transaction.h.
|
inline |
Definition at line 39 of file transaction.h.
|
inline |
std::string COutPoint::ToString | ( | ) | const |
Definition at line 21 of file transaction.cpp.
Definition at line 54 of file transaction.h.
Definition at line 44 of file transaction.h.
Definition at line 49 of file transaction.h.
Txid COutPoint::hash |
Definition at line 31 of file transaction.h.
uint32_t COutPoint::n |
Definition at line 32 of file transaction.h.
|
staticconstexpr |
Definition at line 34 of file transaction.h.