Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

An outpoint - a combination of a transaction hash and an index n into its vout. More...

#include <transaction.h>

+ Collaboration diagram for COutPoint:

Public Member Functions

 COutPoint ()
 
 COutPoint (const uint256 &hashIn, uint32_t nIn)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
void SetNull ()
 
bool IsNull () const
 
std::string ToString () const
 
std::string ToStringShort () const
 

Public Attributes

uint256 hash
 
uint32_t n
 
 ADD_SERIALIZE_METHODS
 

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)
 

Detailed Description

An outpoint - a combination of a transaction hash and an index n into its vout.

Definition at line 26 of file transaction.h.

Constructor & Destructor Documentation

◆ COutPoint() [1/2]

COutPoint::COutPoint ( )
inline

Definition at line 32 of file transaction.h.

◆ COutPoint() [2/2]

COutPoint::COutPoint ( const uint256 hashIn,
uint32_t  nIn 
)
inline

Definition at line 33 of file transaction.h.

Member Function Documentation

◆ IsNull()

bool COutPoint::IsNull ( ) const
inline

◆ SerializationOp()

template<typename Stream , typename Operation >
void COutPoint::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 38 of file transaction.h.

References hash, n, and READWRITE.

◆ SetNull()

void COutPoint::SetNull ( )
inline

Definition at line 43 of file transaction.h.

References hash, n, and base_blob< BITS >::SetNull().

Referenced by CActiveMasternodeManager::UpdatedBlockTip().

◆ ToString()

std::string COutPoint::ToString ( ) const

◆ ToStringShort()

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const COutPoint a,
const COutPoint b 
)
friend

Definition at line 57 of file transaction.h.

◆ operator<

bool operator< ( const COutPoint a,
const COutPoint b 
)
friend

Definition at line 46 of file transaction.h.

◆ operator==

bool operator== ( const COutPoint a,
const COutPoint b 
)
friend

Definition at line 52 of file transaction.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

COutPoint::ADD_SERIALIZE_METHODS

Definition at line 35 of file transaction.h.

◆ hash

◆ n


The documentation for this class was generated from the following files:
Released under the MIT license