![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#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) |
An outpoint - a combination of a transaction hash and an index n into its vout
Definition at line 15 of file transaction.h.
|
inline |
Definition at line 21 of file transaction.h.
|
inline |
Definition at line 22 of file transaction.h.
|
inline |
Definition at line 33 of file transaction.h.
Referenced by CPrivateSendServer::AddEntry(), CheckTransaction(), and CTxIn::ToString().
|
inline |
Definition at line 27 of file transaction.h.
|
inline |
Definition at line 32 of file transaction.h.
Referenced by COutPoint().
std::string COutPoint::ToString | ( | ) | const |
Definition at line 12 of file transaction.cpp.
Referenced by CTxLockVote::CheckSignature(), and CTxIn::ToString().
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().
Definition at line 45 of file transaction.h.
Definition at line 35 of file transaction.h.
Definition at line 40 of file transaction.h.
COutPoint::ADD_SERIALIZE_METHODS |
Definition at line 24 of file transaction.h.
uint256 COutPoint::hash |
Definition at line 18 of file transaction.h.
Referenced by CWallet::AbandonTransaction(), AcceptToMemoryPoolWorker(), CTxMemPool::addAddressIndex(), AddOrphanTx(), CTxMemPool::addSpentIndex(), CWallet::AddToWallet(), CMasternode::CalculateScore(), CTxMemPool::check(), CheckInputs(), CMasternodeBroadcast::CheckOutpoint(), CheckSequenceLocks(), Consensus::CheckTxInputs(), CWallet::CommitTransaction(), ConnectBlock(), CWallet::ConvertList(), COutPoint(), DisconnectBlock(), EraseOrphanTx(), CWallet::GetAddressGroupings(), getblocktemplate(), CWallet::GetDebit(), CCoinsViewCache::GetOutputFor(), WalletModel::getOutputs(), CCoinsViewCache::GetPriority(), CWallet::GetRealOutpointPrivateSendRounds(), GetUTXOCoins(), CCoinsViewCache::HaveInputs(), CWallet::IsDenominated(), CMasternode::IsInputAssociatedWithPubkey(), CWallet::IsMine(), IsNull(), WalletModel::isSpent(), CWalletTx::IsTrusted(), WalletModel::listCoins(), listlockunspent(), CWallet::LockCoin(), CWallet::MarkConflicted(), mempoolToJSON(), MutateTxSign(), CompareInputBIP69::operator()(), CTxMemPool::removeForReorg(), CWallet::SelectCoins(), SerializationOp(), SetNull(), signrawtransaction(), CWallet::SyncTransaction(), TransactionDesc::toHTML(), ToString(), ToStringShort(), CTxMemPool::TrimToSize(), TxInErrorToJSON(), TxToJSON(), TxToUniv(), CWallet::UnlockCoin(), and UpdateCoins().
uint32_t COutPoint::n |
Definition at line 19 of file transaction.h.
Referenced by CTxMemPool::addAddressIndex(), CTxMemPool::addSpentIndex(), CMasternode::CalculateScore(), CTxMemPool::check(), CMasternode::CheckCollateral(), Consensus::CheckTxInputs(), ConnectBlock(), CWallet::ConvertList(), COutPoint(), DisconnectBlock(), CWallet::GetAddressGroupings(), CWallet::GetDebit(), CCoinsViewCache::GetOutputFor(), WalletModel::getOutputs(), CCoinsViewCache::GetPriority(), CWallet::GetRealOutpointPrivateSendRounds(), GetUTXOCoins(), CCoinsViewCache::HaveInputs(), CPrivateSend::IsCollateralValid(), CWallet::IsDenominated(), CWallet::IsMine(), IsNull(), WalletModel::isSpent(), CWalletTx::IsTrusted(), CTxLockRequest::IsValid(), WalletModel::listCoins(), listlockunspent(), MutateTxSign(), CompareInputBIP69::operator()(), CPrivateSendServer::ProcessMessage(), CWallet::SelectCoins(), SerializationOp(), SetNull(), signrawtransaction(), TransactionDesc::toHTML(), ToString(), ToStringShort(), TxInErrorToJSON(), TxToJSON(), TxToUniv(), and UpdateCoins().