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>
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]
|
inline |
Definition at line 32 of file transaction.h.
◆ COutPoint() [2/2]
|
inline |
Definition at line 33 of file transaction.h.
Member Function Documentation
◆ IsNull()
|
inline |
Definition at line 44 of file transaction.h.
References hash, base_blob< BITS >::IsNull(), and n.
Referenced by CWallet::GetBudgetSystemCollateralTX(), CGovernanceManager::GetCurrentVotes(), CTxMemPool::removeUnchecked(), and CTxIn::ToString().
◆ SerializationOp()
|
inline |
Definition at line 38 of file transaction.h.
◆ 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 |
Definition at line 12 of file transaction.cpp.
References hash, n, strprintf, and base_blob< BITS >::ToString().
Referenced by CGovernanceObject::RemoveInvalidVotes(), and CTxIn::ToString().
◆ ToStringShort()
std::string COutPoint::ToStringShort | ( | ) | const |
Definition at line 17 of file transaction.cpp.
References hash, n, strprintf, and base_blob< BITS >::ToString().
Referenced by llmq::CInstantSendManager::CheckCanLock(), CGovernanceVote::CheckSignature(), CWallet::GetRealOutpointPrivateSendRounds(), gobject_get(), gobject_submit(), CGovernanceVote::IsValid(), CGovernanceObject::IsValidLocally(), CPrivateSendClientSession::JoinExistingQueue(), ListObjects(), masternode_status(), CGovernanceManager::MasternodeRateCheck(), ProcessMessage(), CGovernanceObject::ProcessVote(), CGovernanceManager::ProcessVote(), CGovernanceVote::Sign(), CProRegTx::ToString(), CGovernanceVote::ToString(), CDeterministicMN::ToString(), CPrivateSendQueue::ToString(), and voteraw().
Friends And Related Function Documentation
◆ operator!=
Definition at line 57 of file transaction.h.
◆ operator<
Definition at line 46 of file transaction.h.
◆ operator==
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
uint256 COutPoint::hash |
Definition at line 29 of file transaction.h.
Referenced by CWallet::AbandonTransaction(), CTxMemPool::addAddressIndex(), CTxMemPool::addSpentIndex(), CTxMemPool::addUnchecked(), ApplyTxInUndo(), CDeterministicMNManager::BuildNewListFromBlock(), CTxMemPool::check(), llmq::CInstantSendManager::CheckCanLock(), CheckInputsFromMempoolAndCache(), CheckProRegTx(), CWallet::CommitTransaction(), CChainState::ConnectBlock(), CChainState::DisconnectBlock(), entryToJSON(), CTxMemPool::existsProviderTxConflict(), CWallet::FindNonChangeParentOutput(), CWallet::GetAddressGroupings(), getblockstats(), getblocktemplate(), CCoinsViewMemPool::GetCoin(), CWallet::GetDebit(), CWallet::GetRealOutpointPrivateSendRounds(), GetUTXOStats(), CWallet::IsAllFromMe(), CWallet::IsDenominated(), CWallet::IsMine(), IsNull(), CDeterministicMNManager::IsProTxWithCollateral(), WalletModel::isSpent(), CWalletTx::IsTrusted(), CWallet::LoadToWallet(), CWallet::LockCoin(), lockunspent(), CWallet::MarkConflicted(), CompareInputBIP69::operator()(), ProcessMessage(), CTxMemPool::removeForReorg(), CTxMemPool::removeProTxConflicts(), CTxMemPool::removeUnchecked(), SerializationOp(), SetNull(), CWallet::SyncTransaction(), CProRegTx::ToJson(), CDeterministicMN::ToJson(), ToString(), ToStringShort(), CTxMemPool::TrimToSize(), TxInErrorToJSON(), TxToUniv(), and CWallet::UnlockCoin().
◆ n
uint32_t COutPoint::n |
Definition at line 30 of file transaction.h.
Referenced by AccessByTxid(), CTxMemPool::addAddressIndex(), CTxMemPool::addSpentIndex(), CDeterministicMNManager::BuildNewListFromBlock(), CTxMemPool::check(), llmq::CInstantSendManager::CheckCanLock(), CheckInputsFromMempoolAndCache(), CheckProRegTx(), CChainState::ConnectBlock(), CChainState::DisconnectBlock(), CWallet::FindNonChangeParentOutput(), CWallet::GetAddressGroupings(), getblockstats(), CCoinsViewMemPool::GetCoin(), CWallet::GetDebit(), CWallet::GetRealOutpointPrivateSendRounds(), GetUTXOStats(), CWallet::IsAllFromMe(), CWallet::IsDenominated(), CWallet::IsMine(), IsNull(), CDeterministicMNManager::IsProTxWithCollateral(), WalletModel::isSpent(), CWalletTx::IsTrusted(), lockunspent(), CompareInputBIP69::operator()(), SerializationOp(), SetNull(), CProRegTx::ToJson(), CDeterministicMN::ToJson(), ToString(), ToStringShort(), TxInErrorToJSON(), TxToUniv(), and CCoinsViewDB::Upgrade().
The documentation for this class was generated from the following files:
- src/primitives/transaction.h
- src/primitives/transaction.cpp