![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <transaction.h>
Public Member Functions | |
CTxOut () | |
CTxOut (const CAmount &nValueIn, CScript scriptPubKeyIn) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
void | SetNull () |
bool | IsNull () const |
uint256 | GetHash () const |
CAmount | GetDustThreshold (const CFeeRate &minRelayTxFee) const |
bool | IsDust (const CFeeRate &minRelayTxFee) const |
std::string | ToString () const |
Public Attributes | |
CAmount | nValue |
CScript | scriptPubKey |
int | nRounds |
ADD_SERIALIZE_METHODS | |
Friends | |
bool | operator== (const CTxOut &a, const CTxOut &b) |
bool | operator!= (const CTxOut &a, const CTxOut &b) |
An output of a transaction. It contains the public key that the next input must be able to sign with to claim it.
Definition at line 133 of file transaction.h.
|
inline |
Definition at line 140 of file transaction.h.
Definition at line 51 of file transaction.cpp.
Definition at line 169 of file transaction.h.
Referenced by CWallet::CreateTransaction(), IsDust(), and CoinControlDialog::updateLabels().
uint256 CTxOut::GetHash | ( | ) | const |
Definition at line 58 of file transaction.cpp.
|
inline |
Definition at line 185 of file transaction.h.
Referenced by CWallet::CreateTransaction(), GUIUtil::isDust(), IsStandardTx(), PaymentServer::processPaymentRequest(), and CoinControlDialog::updateLabels().
|
inline |
Definition at line 162 of file transaction.h.
Referenced by rest_getutxos().
|
inline |
Definition at line 150 of file transaction.h.
|
inline |
Definition at line 155 of file transaction.h.
Referenced by CCoins::ClearUnspendable(), and CTxOut().
std::string CTxOut::ToString | ( | ) | const |
Definition at line 63 of file transaction.cpp.
Referenced by FillBlockPayments(), CGovernanceObject::IsCollateralValid(), CPrivateSendClient::SendDenominate(), CDarkSendRelay::Sign(), CDarkSendRelay::ToString(), and CDarkSendRelay::VerifyMessage().
Definition at line 197 of file transaction.h.
Definition at line 190 of file transaction.h.
CTxOut::ADD_SERIALIZE_METHODS |
Definition at line 147 of file transaction.h.
int CTxOut::nRounds |
Definition at line 138 of file transaction.h.
CAmount CTxOut::nValue |
Definition at line 136 of file transaction.h.
Referenced by CTxMemPool::addAddressIndex(), CTxMemPool::addSpentIndex(), CheckTransaction(), ConnectBlock(), CWallet::CreateTransaction(), CTxOut(), TransactionRecord::decomposeTransaction(), DisconnectBlock(), CWallet::FundTransaction(), CWalletTx::GetAmounts(), getblocktemplate(), CWallet::GetChange(), CWallet::GetCredit(), CPrivateSend::GetDenominations(), getreceivedbyaccount(), getreceivedbyaddress(), CCoinsViewCache::GetValueIn(), CGovernanceObject::IsCollateralValid(), CPrivateSend::IsCollateralValid(), IsDust(), IsNull(), CMasternodeBlockPayees::IsTransactionValid(), CTxLockRequest::IsValid(), ListReceived(), CompareOutputBIP69::operator()(), CPrivateSendServer::ProcessMessage(), rest_getutxos(), CTxOutCompressor::SerializationOp(), SerializationOp(), SetNull(), CPrivateSendClient::SignFinalTransaction(), TransactionDesc::toHTML(), ToString(), TxToJSON(), TxToUniv(), and CMasternode::UpdateLastPaid().
CScript CTxOut::scriptPubKey |
Definition at line 137 of file transaction.h.
Referenced by CTxMemPool::addAddressIndex(), CTxMemPool::addSpentIndex(), AreInputsStandard(), CCoins::ClearUnspendable(), ConnectBlock(), CTxOut(), TransactionRecord::decomposeTransaction(), DisconnectBlock(), CWallet::FundTransaction(), GetAccountAddress(), CWallet::GetAddressGroupings(), CWalletTx::GetAmounts(), getblocktemplate(), GetDustThreshold(), CWallet::GetKeyBirthTimes(), GetLegacySigOpCount(), GetP2SHSigOpCount(), getreceivedbyaccount(), getreceivedbyaddress(), CWallet::IsChange(), CGovernanceObject::IsCollateralValid(), CPrivateSend::IsCollateralValid(), CWallet::IsMine(), CBloomFilter::IsRelevantAndUpdate(), IsStandardTx(), CMasternodeBlockPayees::IsTransactionValid(), CTxLockRequest::IsValid(), ListReceived(), CompareOutputBIP69::operator()(), CPrivateSendServer::ProcessMessage(), rest_getutxos(), CTxOutCompressor::SerializationOp(), SerializationOp(), SetNull(), TransactionDesc::toHTML(), ToString(), TxToJSON(), TxToUniv(), and CMasternode::UpdateLastPaid().