Dash Core  0.12.2.1
P2P Digital Currency
COutPoint Class Reference

#include <transaction.h>

Public Member Functions

 COutPoint ()
 
 COutPoint (uint256 hashIn, uint32_t nIn)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 
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 15 of file transaction.h.

Constructor & Destructor Documentation

◆ COutPoint() [1/2]

COutPoint::COutPoint ( )
inline

Definition at line 21 of file transaction.h.

◆ COutPoint() [2/2]

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

Definition at line 22 of file transaction.h.

Member Function Documentation

◆ IsNull()

bool COutPoint::IsNull ( ) const
inline

Definition at line 33 of file transaction.h.

Referenced by CPrivateSendServer::AddEntry(), CheckTransaction(), and CTxIn::ToString().

◆ SerializationOp()

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

Definition at line 27 of file transaction.h.

◆ SetNull()

void COutPoint::SetNull ( )
inline

Definition at line 32 of file transaction.h.

Referenced by COutPoint().

◆ ToString()

std::string COutPoint::ToString ( ) const

Definition at line 12 of file transaction.cpp.

Referenced by CTxLockVote::CheckSignature(), and CTxIn::ToString().

◆ ToStringShort()

std::string COutPoint::ToStringShort ( ) const

Definition at line 17 of file transaction.cpp.

Referenced by CMasternodeMan::AskForMN(), CMasternode::Check(), CMasternodePing::CheckAndUpdate(), CMasternodeMan::CheckMnbAndUpdateMasternodeList(), CMasternodeBroadcast::CheckOutpoint(), CMasternodeMan::CheckSameAddr(), CMasternodePing::CheckSignature(), CMasternodePaymentVote::CheckSignature(), CTxLockVote::CheckSignature(), CMasternodeBroadcast::Create(), CMasternodeMan::FindRandomNotInVec(), getpoolinfo(), CGovernanceObject::GetSignatureMessage(), gobject(), CGovernanceVote::IsValid(), CTxLockRequest::IsValid(), CMasternodePaymentVote::IsValid(), CTxLockVote::IsValid(), CGovernanceObject::IsValidLocally(), CPrivateSendClient::JoinExistingQueue(), CActiveMasternode::ManageStateLocal(), masternode(), masternodebroadcast(), masternodelist(), CGovernanceManager::MasternodeRateCheck(), CMasternodePayments::ProcessBlock(), ProcessMessage(), CInstantSend::ProcessTxLockRequest(), CInstantSend::ProcessTxLockVote(), CMasternodeMan::ProcessVerifyBroadcast(), CMasternodeMan::ProcessVerifyReply(), CGovernanceObject::ProcessVote(), CGovernanceManager::ProcessVote(), CInstantSend::ResolveConflicts(), CActiveMasternode::SendMasternodePing(), CGovernanceVote::Sign(), CMasternodePaymentVote::Sign(), CTxLockVote::Sign(), CGovernanceObject::Sign(), CPrivateSendClient::SignFinalTransaction(), CMasternodePing::SimpleCheck(), CMasternodeBroadcast::SimpleCheck(), CPrivateSendClient::StartNewQueue(), CMasternodePaymentVote::ToString(), CDarksendQueue::ToString(), CMasternodeBroadcast::Update(), CMasternode::UpdateLastPaid(), CMasternodeMan::UpdateMasternodeList(), CInstantSend::Vote(), and voteraw().

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 45 of file transaction.h.

◆ operator<

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

Definition at line 35 of file transaction.h.

◆ operator==

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

Definition at line 40 of file transaction.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

COutPoint::ADD_SERIALIZE_METHODS

Definition at line 24 of file transaction.h.

◆ hash

◆ n


The documentation for this class was generated from the following files: