![]() |
Bitcoin Core
23.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 uint256 &hashIn, uint32_t nIn) | |
SERIALIZE_METHODS (COutPoint, obj) | |
void | SetNull () |
bool | IsNull () const |
std::string | ToString () const |
Public Attributes | |
uint256 | 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 26 of file transaction.h.
|
inline |
Definition at line 34 of file transaction.h.
|
inline |
Definition at line 35 of file transaction.h.
|
inline |
Definition at line 40 of file transaction.h.
|
inline |
Definition at line 37 of file transaction.h.
|
inline |
std::string COutPoint::ToString | ( | ) | const |
Definition at line 15 of file transaction.cpp.
Definition at line 53 of file transaction.h.
Definition at line 42 of file transaction.h.
Definition at line 48 of file transaction.h.
uint256 COutPoint::hash |
Definition at line 29 of file transaction.h.
uint32_t COutPoint::n |
Definition at line 30 of file transaction.h.
|
staticconstexpr |
Definition at line 32 of file transaction.h.